WordPress at a glance
function is not described

Automattic\WooCommerce\Blocks\StoreApi\Schemas

CheckoutSchema::__construct() public WC 1.0

Constructor.

{} It's a method of the class: CheckoutSchema{}

No Hooks.

Return

null. Nothing.

Usage

$CheckoutSchema = new CheckoutSchema();
$CheckoutSchema->__construct( $extend, $billing_address_schema, $shipping_address_schema );
$extend(ExtendRestApi) (required)
Rest Extending instance.
$billing_address_schema(BillingAddressSchema) (required)
Billing address schema instance.
$shipping_address_schema(ShippingAddressSchema) (required)
Shipping address schema instance.

Code of CheckoutSchema::__construct() WC 5.4.1

<?php
public function __construct( ExtendRestApi $extend, BillingAddressSchema $billing_address_schema, ShippingAddressSchema $shipping_address_schema ) {
	$this->billing_address_schema  = $billing_address_schema;
	$this->shipping_address_schema = $shipping_address_schema;
	parent::__construct( $extend );
}