sequra_create_order_request_gui_options
Hook
Filter
Filter the Gui options.
Description
This filter allows modifying the gui
which is used to build the payload for the Order API calls.
Parameter | Type | Description |
---|---|---|
$customer | SeQura\Core\BusinessLogic\Domain\Order\Models\OrderRequest\Gui | Gui instance |
Changelog
Version | Description |
---|---|
3.0.0 | Introduced |
Usage Example
add_filter('sequra_create_order_request_gui_options', function($gui){
return new \SeQura\Core\BusinessLogic\Domain\Order\Models\OrderRequest\Gui(
$gui->getLayout(), // Your custom value here.
);
});
Updated about 1 month ago