Automattic\WooCommerce\Blocks\Domain\Services\CheckoutFieldsSchema

DocumentObject::set_customerpublicWC 1.0

Set the customer object.

Method of the class: DocumentObject{}

No Hooks.

Returns

null. Nothing (null).

Usage

$DocumentObject = new DocumentObject();
$DocumentObject->set_customer( $customer );
$customer(WC_Customer) (required)
The customer object.

DocumentObject::set_customer() code WC 9.9.4

public function set_customer( WC_Customer $customer ) {
	$this->customer = $customer;
}