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

create() public method

Allows you to create a new invoice for an order.
public create ( string $orderIncrementId, array $itemsQty, string $comment, string $email, string $includeComment ) : Smalot\Magento\ActionInterface
$orderIncrementId string
$itemsQty array
$comment string
$email string
$includeComment string
return Smalot\Magento\ActionInterface
    public function create($orderIncrementId, $itemsQty, $comment, $email, $includeComment)
    {
        return $this->__createAction('order_invoice.create', func_get_args());
    }