Automattic\WooCommerce\Blocks\Domain\Services\CheckoutFieldsSchema
DocumentObject::set_customer
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() DocumentObject::set customer code WC 9.9.4
public function set_customer( WC_Customer $customer ) { $this->customer = $customer; }