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.

ParameterTypeDescription
$customerSeQura\Core\BusinessLogic\Domain\Order\Models\OrderRequest\GuiGui instance

Changelog

VersionDescription
3.0.0Introduced

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.
  );
});