CheckoutSchema
CheckoutSchema class.
Description Description
Source Source
File: packages/woocommerce-blocks/src/StoreApi/Schemas/CheckoutSchema.php
Methods Methods
- __construct — Constructor.
- get_checkout_response — Get the checkout response based on the current order and any payments.
- get_item_response — Return the response for checkout.
- get_properties — Checkout schema properties.
- prepare_payment_details_for_response — This prepares the payment details for the response so it's following the schema where it's an array of objects.