WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Blocks\StoreApi\Schemas

BillingAddressSchema::get_properties() public WC 1.0

Term properties.

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

No Hooks.

Return

Array.

Usage

$BillingAddressSchema = new BillingAddressSchema();
$BillingAddressSchema->get_properties();

Code of BillingAddressSchema::get_properties() WC 5.8.0

public function get_properties() {
	$properties = parent::get_properties();
	return array_merge(
		$properties,
		[
			'email' => [
				'description' => __( 'Email', 'woocommerce' ),
				'type'        => 'string',
				'context'     => [ 'view', 'edit' ],
				'required'    => true,
			],
		]
	);
}