Dev Resources

  • Home
  • Reference
  • BuddyX Theme
  • Functions
  • Hooks
  • Classes
Filter by type:
Search
Browse: Home / Reference / packages/woocommerce-blocks/src/StoreApi/Schemas/CartShippingRateSchema.php

CartShippingRateSchema::prepare_package_shipping_rates_response()

Method: Prepare an array of rates from a package for the response.

Source: packages/woocommerce-blocks/src/StoreApi/Schemas/CartShippingRateSchema.php:279

Used by 1 function | Uses 3 functions

CartShippingRateSchema::get_rate_response()

Method: Response for a single rate.

Source: packages/woocommerce-blocks/src/StoreApi/Schemas/CartShippingRateSchema.php:304

Used by 1 function | Uses 3 functions

CartShippingRateSchema::get_rate_prop()

Method: Gets a prop of the rate object, if callable.

Source: packages/woocommerce-blocks/src/StoreApi/Schemas/CartShippingRateSchema.php:328

Used by 1 function | Uses 0 functions

CartShippingRateSchema::get_rate_meta_data()

Method: Converts rate meta data into a suitable response object.

Source: packages/woocommerce-blocks/src/StoreApi/Schemas/CartShippingRateSchema.php:339

Used by 1 function | Uses 0 functions

CartShippingRateSchema

Class: CartShippingRateSchema class.

Source: packages/woocommerce-blocks/src/StoreApi/Schemas/CartShippingRateSchema.php:11

Used by 0 functions | Uses 0 functions

CartShippingRateSchema::get_properties()

Method: Cart schema properties.

Source: packages/woocommerce-blocks/src/StoreApi/Schemas/CartShippingRateSchema.php:31

Used by 0 functions | Uses 1 function

CartShippingRateSchema::get_rate_properties()

Method: Schema for a single rate.

Source: packages/woocommerce-blocks/src/StoreApi/Schemas/CartShippingRateSchema.php:136

Used by 1 function | Uses 0 functions

CartShippingRateSchema::get_item_response()

Method: Convert a shipping rate from WooCommerce into a valid response.

Source: packages/woocommerce-blocks/src/StoreApi/Schemas/CartShippingRateSchema.php:226

Used by 0 functions | Uses 3 functions

CartShippingRateSchema::prepare_package_destination_response()

Method: Gets and formats the destination address of a package.

Source: packages/woocommerce-blocks/src/StoreApi/Schemas/CartShippingRateSchema.php:242

Used by 1 function | Uses 0 functions

CartShippingRateSchema::prepare_package_items_response()

Method: Gets items from a package and creates an array of strings containing product names and quantities.

Source: packages/woocommerce-blocks/src/StoreApi/Schemas/CartShippingRateSchema.php:261

Used by 1 function | Uses 0 functions
Proudly powered by WordPress