WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Blocks\StoreApi\Schemas

CheckoutSchema::get_item_response() public WC 1.0

Return the response for checkout.

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

No Hooks.

Return

Array.

Usage

$CheckoutSchema = new CheckoutSchema();
$CheckoutSchema->get_item_response( $item );
$item(object) (required)
Results from checkout action.

Code of CheckoutSchema::get_item_response() WC 5.7.0

public function get_item_response( $item ) {
	return $this->get_checkout_response( $item->order, $item->payment_result );
}