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

capture() public method

Note that not all order invoices can be captured. Only some payment methods support capturing the order invoice (e.g., PayPal Pro).
public capture ( string $invoiceIncrementId ) : Smalot\Magento\ActionInterface
$invoiceIncrementId string
return Smalot\Magento\ActionInterface
    public function capture($invoiceIncrementId)
    {
        return $this->__createAction('order_invoice.capture', func_get_args());
    }