Automattic\WooCommerce\StoreApi\Routes\V1\Agentic
CheckoutSessionsComplete::__construct
Constructor.
Method of the class: CheckoutSessionsComplete{}
No Hooks.
Returns
null. Nothing (null).
Usage
$CheckoutSessionsComplete = new CheckoutSessionsComplete(); $CheckoutSessionsComplete->__construct( $schema_controller, $schema );
- $schema_controller(SchemaController) (required)
- Schema Controller instance.
- $schema(AbstractSchema) (required)
- Schema class instance.
CheckoutSessionsComplete::__construct() CheckoutSessionsComplete:: construct code WC 10.7.0
public function __construct( $schema_controller, $schema ) {
parent::__construct( $schema_controller, $schema );
$this->order_controller = new OrderController();
$this->cart_controller = new CartController();
}