Automattic\WooCommerce\StoreApi\Routes\V1

CheckoutOrder::process_customer()privateWC 1.0

Updates the order with user details (e.g. address).

Method of the class: CheckoutOrder{}

No Hooks.

Return

null. Nothing (null).

Usage

// private - for code of main (parent) class only
$result = $this->process_customer( $request );
$request(\WP_REST_Request) (required)
Request object.

CheckoutOrder::process_customer() code WC 9.3.3

private function process_customer( \WP_REST_Request $request ) {
	$this->order_controller->sync_customer_data_with_order( $this->order );
}