packages/woocommerce-blocks/src/StoreApi/Schemas/AbstractSchema.php


Lines:

1 to 20 of 20
<?php
namespace Automattic\WooCommerce\Blocks\StoreApi\Schemas;

use Automattic\WooCommerce\Blocks\Package;
use Automattic\WooCommerce\Blocks\Domain\Services\ExtendRestApi;
/* class AbstractSchema */
/* function AbstractSchema::__construct() – Constructor. */
/* function AbstractSchema::get_item_schema() – Returns the full item schema. */
/* function AbstractSchema::get_public_item_schema() – Returns the public schema. */
/* function AbstractSchema::get_extended_data() – Returns extended data for a specific endpoint */
/* function AbstractSchema::get_extended_schema() – Returns extended schema for a specific endpoint */
/* function AbstractSchema::get_item_responses_from_schema */
/* function AbstractSchema::get_endpoint_args_for_item_schema() – Retrieves an array of endpoint arguments from the item schema for the controller. */
/* function AbstractSchema::force_schema_readonly() – Force all schema properties to be readonly. */
/* function AbstractSchema::get_store_currency_properties() – Returns consistent currency schema used across endpoints for prices. */
/* function AbstractSchema::prepare_currency_response() – Adds currency data to an array of monetary values. */
/* function AbstractSchema::prepare_money_response() – Convert monetary values from WooCommerce to string based integers, using
the smallest unit of a currency. */
/* function AbstractSchema::prepare_html_response() – Prepares HTML based content, such as post titles and content, for the API response. */
 

 View on GitHub View on Trac

Called by

    Invoked by

      Calls

      Call hooks

      API Letters: ,,,