Smalot\Magento\Order\OrderInvoice::addComment PHP Method

addComment() public method

Allows you to add a new comment to the order invoice.
public addComment ( string $invoiceIncrementId, string $comment = null, integer $email = null, integer $includeComment = null ) : Smalot\Magento\ActionInterface
$invoiceIncrementId string
$comment string
$email integer
$includeComment integer
return Smalot\Magento\ActionInterface
    public function addComment($invoiceIncrementId, $comment = null, $email = null, $includeComment = null)
    {
        return $this->__createAction('order_invoice.addComment', func_get_args());
    }