Hook actionSetInvoice

Informations

Hook actionSetInvoice
Locations
FO
Type action
Origin core
Aliases
Description

Located in

Origin File
core classes/order/Order.php

Parameters details

    <?php
    array(
      'Order' => order object,
      'OrderInvoice' => order invoice object,
      'use_existing_payment' => (bool)
    );

Call of the Hook in the origin file

Hook::exec('actionSetInvoice', [
                    get_class($this) => $this,
                    get_class($order_invoice) => $order_invoice,
                    'use_existing_payment' => (bool) $use_existing_payment,
                ])