| Hook | actionSetInvoice |
|---|---|
| Locations | FO |
| Type | action |
| Origin | core |
| Aliases | |
| Description |
| Origin | File |
|---|---|
| core | classes/order/Order.php |
<?php
array(
'Order' => order object,
'OrderInvoice' => order invoice object,
'use_existing_payment' => (bool)
);
$invoice_number = Hook::exec('actionSetInvoice', [ get_class($this) => $this, get_class($order_invoice) => $order_invoice, 'use_existing_payment' => (bool) $use_existing_payment, ])