WordPress at a glance
function is not described

Automattic\WooCommerce\Blocks\StoreApi\Routes

CartUpdateCustomer::__construct() public WC 1.0

Constructor.

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

No Hooks.

Return

Null. Nothing.

Usage

$CartUpdateCustomer = new CartUpdateCustomer();
$CartUpdateCustomer->__construct( $schema, $shipping_address_schema, $billing_address_schema );
$schema(CartSchema) (required)
Schema class for this route.
$shipping_address_schema(ShippingAddressSchema) (required)
Billing address schema class for this route.
$billing_address_schema(BillingAddressSchema) (required)
Billing address schema class for this route.

Code of CartUpdateCustomer::__construct() WC 5.0.0

<?php
public function __construct( CartSchema $schema, ShippingAddressSchema $shipping_address_schema, BillingAddressSchema $billing_address_schema ) {
	$this->schema                  = $schema;
	$this->shipping_address_schema = $shipping_address_schema;
	$this->billing_address_schema  = $billing_address_schema;
}