Smalot\Magento\Order\OrderInvoice::cancel PHP Метод

cancel() публичный Метод

Note that not all order invoices can be canceled. Only some payment methods support canceling the order invoice (e.g., Google Checkout, PayPal Pro, PayPal Express Checkout).
public cancel ( string $invoiceIncrementId ) : Smalot\Magento\ActionInterface
$invoiceIncrementId string
Результат Smalot\Magento\ActionInterface
    public function cancel($invoiceIncrementId)
    {
        return $this->__createAction('order_invoice.cancel', func_get_args());
    }