public function onSetupCustomerSubscriptionOrderDetails(object $order, array $list) : void

Fires while binding the object holding the customer subscription order details.


Description

External plugins can use this event to manipulate the object holding the details of the order. Useful to inject all the additional data fetched with the manipulation of the query.


Parameters

$order

(object)  The order details object.

$list

(array)  The query resulting array.

Return Value

None.


Example

/**
 * External plugins can use this event to manipulate the object holding
 * the details of the order. Useful to inject all the additional data
 * fetched with the manipulation of the query.
 *
 * @param   object  $order  The order details object.
 * @param   array   $list   The query resulting array.
 *
 * @return  void
 */
public function onSetupCustomerSubscriptionOrderDetails($order, $list)
{
    /**
     * @todo it is possible to bind here the order object
     */
}

Changelog

VersionDescription
1.7 Introduced.
Last Update: 2021-10-08 16:44
Helpful?