Fixed usage of package tag in REST API and templates

This commit is contained in:
Claudio Sanches 2020-09-17 11:56:08 -03:00
parent ed1a59b39b
commit 70c7adfeb7
146 changed files with 242 additions and 242 deletions

View File

@ -7,7 +7,7 @@
* - Legacy REST API - Deprecated in 2.6.0. @see class-wc-legacy-api.php
* - WP REST API - The main REST API in WooCommerce which is built on top of the WP REST API.
*
* @package WooCommerce\API
* @package WooCommerce\RestApi
* @since 2.0.0
*/

View File

@ -4,7 +4,7 @@
*
* Handles wc-auth endpoint requests.
*
* @package WooCommerce\API
* @package WooCommerce\RestApi
* @since 2.4.0
*/

View File

@ -2,7 +2,7 @@
/**
* REST API Authentication
*
* @package WooCommerce\API
* @package WooCommerce\RestApi
* @since 2.6.0
*/

View File

@ -4,7 +4,7 @@
*
* Extends Exception to provide additional data.
*
* @package WooCommerce\API
* @package WooCommerce\RestApi
* @since 2.6.0
*/

View File

@ -6,7 +6,7 @@
*
* @author WooThemes
* @category API
* @package WooCommerce\API
* @package WooCommerce\RestApi
* @since 3.0.0
*/
@ -17,7 +17,7 @@ if ( ! defined( 'ABSPATH' ) ) {
/**
* REST API Legacy Coupons controller class.
*
* @package WooCommerce\API
* @package WooCommerce\RestApi
* @extends WC_REST_CRUD_Controller
*/
class WC_REST_Legacy_Coupons_Controller extends WC_REST_CRUD_Controller {

View File

@ -6,7 +6,7 @@
*
* @author WooThemes
* @category API
* @package WooCommerce\API
* @package WooCommerce\RestApi
* @since 3.0.0
*/
@ -17,7 +17,7 @@ if ( ! defined( 'ABSPATH' ) ) {
/**
* REST API Legacy Orders controller class.
*
* @package WooCommerce\API
* @package WooCommerce\RestApi
* @extends WC_REST_CRUD_Controller
*/
class WC_REST_Legacy_Orders_Controller extends WC_REST_CRUD_Controller {

View File

@ -6,7 +6,7 @@
*
* @author WooThemes
* @category API
* @package WooCommerce\API
* @package WooCommerce\RestApi
* @since 3.0.0
*/
@ -17,7 +17,7 @@ if ( ! defined( 'ABSPATH' ) ) {
/**
* REST API Legacy Products controller class.
*
* @package WooCommerce\API
* @package WooCommerce\RestApi
* @extends WC_REST_CRUD_Controller
*/
class WC_REST_Legacy_Products_Controller extends WC_REST_CRUD_Controller {

View File

@ -4,7 +4,7 @@
*
* @author WooThemes
* @category API
* @package WooCommerce\API
* @package WooCommerce\RestApi
* @since 2.1.0
* @version 2.4.0
*/

View File

@ -6,7 +6,7 @@
*
* @author WooThemes
* @category API
* @package WooCommerce\API
* @package WooCommerce\RestApi
* @since 2.1
* @version 2.1
*/

View File

@ -6,7 +6,7 @@
*
* @author WooThemes
* @category API
* @package WooCommerce\API
* @package WooCommerce\RestApi
* @since 2.1
* @version 2.1
*/

View File

@ -6,7 +6,7 @@
*
* @author WooThemes
* @category API
* @package WooCommerce\API
* @package WooCommerce\RestApi
* @since 2.1
* @version 2.1
*/

View File

@ -6,7 +6,7 @@
*
* @author WooThemes
* @category API
* @package WooCommerce\API
* @package WooCommerce\RestApi
* @since 2.1
* @version 2.1
*/

View File

@ -6,7 +6,7 @@
*
* @author WooThemes
* @category API
* @package WooCommerce\API
* @package WooCommerce\RestApi
* @since 2.1
* @version 3.0
*/

View File

@ -6,7 +6,7 @@
*
* @author WooThemes
* @category API
* @package WooCommerce\API
* @package WooCommerce\RestApi
* @since 2.1
* @version 2.1
*/

View File

@ -6,7 +6,7 @@
*
* @author WooThemes
* @category API
* @package WooCommerce\API
* @package WooCommerce\RestApi
* @since 2.1
* @version 2.1
*/

View File

@ -9,7 +9,7 @@
*
* @author WooThemes
* @category API
* @package WooCommerce\API
* @package WooCommerce\RestApi
* @since 2.1
* @version 2.1
*/

View File

@ -6,7 +6,7 @@
*
* @author WooThemes
* @category API
* @package WooCommerce\API
* @package WooCommerce\RestApi
* @since 2.1
* @version 2.1
*/

View File

@ -6,7 +6,7 @@
*
* @author WooThemes
* @category API
* @package WooCommerce\API
* @package WooCommerce\RestApi
* @since 2.1
* @version 2.1
*/

View File

@ -4,7 +4,7 @@
*
* @author WooThemes
* @category API
* @package WooCommerce\API
* @package WooCommerce\RestApi
* @since 2.1.0
* @version 2.4.0
*/

View File

@ -6,7 +6,7 @@
*
* @author WooThemes
* @category API
* @package WooCommerce\API
* @package WooCommerce\RestApi
* @since 2.1
*/

View File

@ -6,7 +6,7 @@
*
* @author WooThemes
* @category API
* @package WooCommerce\API
* @package WooCommerce\RestApi
* @since 2.2
*/

View File

@ -6,7 +6,7 @@
*
* @author WooThemes
* @category API
* @package WooCommerce\API
* @package WooCommerce\RestApi
* @since 2.2
*/

View File

@ -6,7 +6,7 @@
*
* @author WooThemes
* @category API
* @package WooCommerce\API
* @package WooCommerce\RestApi
* @since 2.1
*/

View File

@ -6,7 +6,7 @@
*
* @author WooThemes
* @category API
* @package WooCommerce\API
* @package WooCommerce\RestApi
* @since 2.1
*/

View File

@ -6,7 +6,7 @@
*
* @author WooThemes
* @category API
* @package WooCommerce\API
* @package WooCommerce\RestApi
* @since 2.1
* @version 3.0
*/

View File

@ -6,7 +6,7 @@
*
* @author WooThemes
* @category API
* @package WooCommerce\API
* @package WooCommerce\RestApi
* @since 2.1
*/

View File

@ -6,7 +6,7 @@
*
* @author WooThemes
* @category API
* @package WooCommerce\API
* @package WooCommerce\RestApi
* @since 2.1
*/

View File

@ -9,7 +9,7 @@
*
* @author WooThemes
* @category API
* @package WooCommerce\API
* @package WooCommerce\RestApi
* @since 2.1
*/

View File

@ -6,7 +6,7 @@
*
* @author WooThemes
* @category API
* @package WooCommerce\API
* @package WooCommerce\RestApi
* @since 2.2
*/

View File

@ -6,7 +6,7 @@
*
* @author WooThemes
* @category API
* @package WooCommerce\API
* @package WooCommerce\RestApi
* @since 2.1
*/

View File

@ -4,7 +4,7 @@
*
* @author WooThemes
* @category API
* @package WooCommerce\API
* @package WooCommerce\RestApi
* @since 2.1.0
* @version 2.4.0
*/

View File

@ -6,7 +6,7 @@
*
* @author WooThemes
* @category API
* @package WooCommerce\API
* @package WooCommerce\RestApi
* @since 2.1
*/

View File

@ -6,7 +6,7 @@
*
* @author WooThemes
* @category API
* @package WooCommerce\API
* @package WooCommerce\RestApi
* @since 2.2
*/

View File

@ -6,7 +6,7 @@
*
* @author WooThemes
* @category API
* @package WooCommerce\API
* @package WooCommerce\RestApi
* @since 2.2
*/

View File

@ -6,7 +6,7 @@
*
* @author WooThemes
* @category API
* @package WooCommerce\API
* @package WooCommerce\RestApi
* @since 2.1
*/

View File

@ -6,7 +6,7 @@
*
* @author WooThemes
* @category API
* @package WooCommerce\API
* @package WooCommerce\RestApi
* @since 2.1
*/

View File

@ -6,7 +6,7 @@
*
* @author WooThemes
* @category API
* @package WooCommerce\API
* @package WooCommerce\RestApi
* @since 2.1
* @version 3.0
*/

View File

@ -6,7 +6,7 @@
*
* @author WooThemes
* @category API
* @package WooCommerce\API
* @package WooCommerce\RestApi
* @since 2.1
*/

View File

@ -6,7 +6,7 @@
*
* @author WooThemes
* @category API
* @package WooCommerce\API
* @package WooCommerce\RestApi
* @since 2.1
*/

View File

@ -9,7 +9,7 @@
*
* @author WooThemes
* @category API
* @package WooCommerce\API
* @package WooCommerce\RestApi
* @since 2.1
*/

View File

@ -6,7 +6,7 @@
*
* @author WooThemes
* @category API
* @package WooCommerce\API
* @package WooCommerce\RestApi
* @since 2.5.0
*/

View File

@ -6,7 +6,7 @@
*
* @author WooThemes
* @category API
* @package WooCommerce\API
* @package WooCommerce\RestApi
* @since 2.2
*/

View File

@ -6,7 +6,7 @@
*
* @author WooThemes
* @category API
* @package WooCommerce\API
* @package WooCommerce\RestApi
* @since 2.1
*/

View File

@ -4,7 +4,7 @@
*
* @author WooThemes
* @category API
* @package WooCommerce\API
* @package WooCommerce\RestApi
* @since 2.6
*/

View File

@ -6,7 +6,7 @@
*
* @author WooThemes
* @category API
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 3.0.0
*/
@ -17,7 +17,7 @@ if ( ! defined( 'ABSPATH' ) ) {
/**
* REST API Coupons controller class.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_Posts_Controller
*/
class WC_REST_Coupons_V1_Controller extends WC_REST_Posts_Controller {

View File

@ -6,7 +6,7 @@
*
* @author WooThemes
* @category API
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 3.0.0
*/
@ -17,7 +17,7 @@ if ( ! defined( 'ABSPATH' ) ) {
/**
* REST API Customers controller class.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_Controller
*/
class WC_REST_Customer_Downloads_V1_Controller extends WC_REST_Controller {

View File

@ -6,7 +6,7 @@
*
* @author WooThemes
* @category API
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 3.0.0
*/
@ -17,7 +17,7 @@ if ( ! defined( 'ABSPATH' ) ) {
/**
* REST API Customers controller class.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_Controller
*/
class WC_REST_Customers_V1_Controller extends WC_REST_Controller {

View File

@ -6,7 +6,7 @@
*
* @author WooThemes
* @category API
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 3.0.0
*/
@ -17,7 +17,7 @@ if ( ! defined( 'ABSPATH' ) ) {
/**
* REST API Order Notes controller class.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_Controller
*/
class WC_REST_Order_Notes_V1_Controller extends WC_REST_Controller {

View File

@ -6,7 +6,7 @@
*
* @author WooThemes
* @category API
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 2.6.0
*/
@ -17,7 +17,7 @@ if ( ! defined( 'ABSPATH' ) ) {
/**
* REST API Order Refunds controller class.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_Orders_V1_Controller
*/
class WC_REST_Order_Refunds_V1_Controller extends WC_REST_Orders_V1_Controller {

View File

@ -6,7 +6,7 @@
*
* @author WooThemes
* @category API
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 3.0.0
*/
@ -17,7 +17,7 @@ if ( ! defined( 'ABSPATH' ) ) {
/**
* REST API Orders controller class.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_Posts_Controller
*/
class WC_REST_Orders_V1_Controller extends WC_REST_Posts_Controller {

View File

@ -6,7 +6,7 @@
*
* @author WooThemes
* @category API
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 3.0.0
*/
@ -17,7 +17,7 @@ if ( ! defined( 'ABSPATH' ) ) {
/**
* REST API Product Attribute Terms controller class.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_Terms_Controller
*/
class WC_REST_Product_Attribute_Terms_V1_Controller extends WC_REST_Terms_Controller {

View File

@ -6,7 +6,7 @@
*
* @author WooThemes
* @category API
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 3.0.0
*/
@ -17,7 +17,7 @@ if ( ! defined( 'ABSPATH' ) ) {
/**
* REST API Product Attributes controller class.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_Controller
*/
class WC_REST_Product_Attributes_V1_Controller extends WC_REST_Controller {

View File

@ -6,7 +6,7 @@
*
* @author WooThemes
* @category API
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 3.0.0
*/
@ -17,7 +17,7 @@ if ( ! defined( 'ABSPATH' ) ) {
/**
* REST API Product Categories controller class.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_Terms_Controller
*/
class WC_REST_Product_Categories_V1_Controller extends WC_REST_Terms_Controller {

View File

@ -6,7 +6,7 @@
*
* @author WooThemes
* @category API
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 3.0.0
*/
@ -17,7 +17,7 @@ if ( ! defined( 'ABSPATH' ) ) {
/**
* REST API Product Reviews Controller Class.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_Controller
*/
class WC_REST_Product_Reviews_V1_Controller extends WC_REST_Controller {

View File

@ -6,7 +6,7 @@
*
* @author WooThemes
* @category API
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 3.0.0
*/
@ -17,7 +17,7 @@ if ( ! defined( 'ABSPATH' ) ) {
/**
* REST API Product Shipping Classes controller class.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_Terms_Controller
*/
class WC_REST_Product_Shipping_Classes_V1_Controller extends WC_REST_Terms_Controller {

View File

@ -6,7 +6,7 @@
*
* @author WooThemes
* @category API
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 3.0.0
*/
@ -17,7 +17,7 @@ if ( ! defined( 'ABSPATH' ) ) {
/**
* REST API Product Tags controller class.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_Terms_Controller
*/
class WC_REST_Product_Tags_V1_Controller extends WC_REST_Terms_Controller {

View File

@ -6,7 +6,7 @@
*
* @author WooThemes
* @category API
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 3.0.0
*/
@ -17,7 +17,7 @@ if ( ! defined( 'ABSPATH' ) ) {
/**
* REST API Products controller class.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_Posts_Controller
*/
class WC_REST_Products_V1_Controller extends WC_REST_Posts_Controller {

View File

@ -6,7 +6,7 @@
*
* @author WooThemes
* @category API
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 3.0.0
*/
@ -17,7 +17,7 @@ if ( ! defined( 'ABSPATH' ) ) {
/**
* REST API Report Sales controller class.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_Controller
*/
class WC_REST_Report_Sales_V1_Controller extends WC_REST_Controller {

View File

@ -6,7 +6,7 @@
*
* @author WooThemes
* @category API
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 3.0.0
*/
@ -17,7 +17,7 @@ if ( ! defined( 'ABSPATH' ) ) {
/**
* REST API Report Top Sellers controller class.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_Report_Sales_V1_Controller
*/
class WC_REST_Report_Top_Sellers_V1_Controller extends WC_REST_Report_Sales_V1_Controller {

View File

@ -6,7 +6,7 @@
*
* @author WooThemes
* @category API
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 3.0.0
*/
@ -17,7 +17,7 @@ if ( ! defined( 'ABSPATH' ) ) {
/**
* REST API Reports controller class.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_Controller
*/
class WC_REST_Reports_V1_Controller extends WC_REST_Controller {

View File

@ -6,7 +6,7 @@
*
* @author WooThemes
* @category API
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 3.0.0
*/
@ -17,7 +17,7 @@ if ( ! defined( 'ABSPATH' ) ) {
/**
* REST API Tax Classes controller class.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_Controller
*/
class WC_REST_Tax_Classes_V1_Controller extends WC_REST_Controller {

View File

@ -6,7 +6,7 @@
*
* @author WooThemes
* @category API
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 3.0.0
*/
@ -17,7 +17,7 @@ if ( ! defined( 'ABSPATH' ) ) {
/**
* REST API Taxes controller class.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_Controller
*/
class WC_REST_Taxes_V1_Controller extends WC_REST_Controller {

View File

@ -6,7 +6,7 @@
*
* @author WooThemes
* @category API
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 3.0.0
*/
@ -18,7 +18,7 @@ if ( ! defined( 'ABSPATH' ) ) {
* REST API Webhook Deliveries controller class.
*
* @deprecated 3.3.0 Webhooks deliveries logs now uses logging system.
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_Controller
*/
class WC_REST_Webhook_Deliveries_V1_Controller extends WC_REST_Controller {

View File

@ -4,7 +4,7 @@
*
* Handles requests to the /webhooks endpoint.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 3.0.0
*/
@ -15,7 +15,7 @@ if ( ! defined( 'ABSPATH' ) ) {
/**
* REST API Webhooks controller class.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_Controller
*/
class WC_REST_Webhooks_V1_Controller extends WC_REST_Controller {

View File

@ -4,7 +4,7 @@
*
* Handles requests to the /coupons endpoint.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 2.6.0
*/
@ -13,7 +13,7 @@ defined( 'ABSPATH' ) || exit;
/**
* REST API Coupons controller class.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_CRUD_Controller
*/
class WC_REST_Coupons_V2_Controller extends WC_REST_CRUD_Controller {

View File

@ -4,7 +4,7 @@
*
* Handles requests to the /customers/<customer_id>/downloads endpoint.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 2.6.0
*/
@ -13,7 +13,7 @@ defined( 'ABSPATH' ) || exit;
/**
* REST API Customers controller class.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_Customer_Downloads_V1_Controller
*/
class WC_REST_Customer_Downloads_V2_Controller extends WC_REST_Customer_Downloads_V1_Controller {

View File

@ -4,7 +4,7 @@
*
* Handles requests to the /customers endpoint.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 2.6.0
*/
@ -13,7 +13,7 @@ defined( 'ABSPATH' ) || exit;
/**
* REST API Customers controller class.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_Customers_V1_Controller
*/
class WC_REST_Customers_V2_Controller extends WC_REST_Customers_V1_Controller {

View File

@ -4,7 +4,7 @@
*
* Handles requests to the /orders/network endpoint
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 3.4.0
*/
@ -13,7 +13,7 @@ defined( 'ABSPATH' ) || exit;
/**
* REST API Network Orders controller class.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_Orders_V2_Controller
*/
class WC_REST_Network_Orders_V2_Controller extends WC_REST_Orders_V2_Controller {

View File

@ -4,7 +4,7 @@
*
* Handles requests to the /orders/<order_id>/notes endpoint.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 2.6.0
*/
@ -13,7 +13,7 @@ defined( 'ABSPATH' ) || exit;
/**
* REST API Order Notes controller class.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_Order_Notes_V1_Controller
*/
class WC_REST_Order_Notes_V2_Controller extends WC_REST_Order_Notes_V1_Controller {

View File

@ -4,7 +4,7 @@
*
* Handles requests to the /orders/<order_id>/refunds endpoint.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 2.6.0
*/
@ -13,7 +13,7 @@ defined( 'ABSPATH' ) || exit;
/**
* REST API Order Refunds controller class.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_Orders_V2_Controller
*/
class WC_REST_Order_Refunds_V2_Controller extends WC_REST_Orders_V2_Controller {

View File

@ -4,7 +4,7 @@
*
* Handles requests to the /orders endpoint.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 2.6.0
*/
@ -13,7 +13,7 @@ defined( 'ABSPATH' ) || exit;
/**
* REST API Orders controller class.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_CRUD_Controller
*/
class WC_REST_Orders_V2_Controller extends WC_REST_CRUD_Controller {

View File

@ -4,7 +4,7 @@
*
* Handles requests to the /payment_gateways endpoint.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 3.0.0
*/
@ -13,7 +13,7 @@ defined( 'ABSPATH' ) || exit;
/**
* Paymenga gateways controller class.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_Controller
*/
class WC_REST_Payment_Gateways_V2_Controller extends WC_REST_Controller {

View File

@ -4,7 +4,7 @@
*
* Handles requests to the products/attributes/<attribute_id>/terms endpoint.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 2.6.0
*/
@ -13,7 +13,7 @@ defined( 'ABSPATH' ) || exit;
/**
* REST API Product Attribute Terms controller class.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_Product_Attribute_Terms_V1_Controller
*/
class WC_REST_Product_Attribute_Terms_V2_Controller extends WC_REST_Product_Attribute_Terms_V1_Controller {

View File

@ -4,7 +4,7 @@
*
* Handles requests to the products/attributes endpoint.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 2.6.0
*/
@ -13,7 +13,7 @@ defined( 'ABSPATH' ) || exit;
/**
* REST API Product Attributes controller class.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_Product_Attributes_V1_Controller
*/
class WC_REST_Product_Attributes_V2_Controller extends WC_REST_Product_Attributes_V1_Controller {

View File

@ -4,7 +4,7 @@
*
* Handles requests to the products/categories endpoint.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 2.6.0
*/
@ -13,7 +13,7 @@ defined( 'ABSPATH' ) || exit;
/**
* REST API Product Categories controller class.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_Product_Categories_V1_Controller
*/
class WC_REST_Product_Categories_V2_Controller extends WC_REST_Product_Categories_V1_Controller {

View File

@ -4,7 +4,7 @@
*
* Handles requests to /products/<product_id>/reviews.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 2.6.0
*/
@ -13,7 +13,7 @@ defined( 'ABSPATH' ) || exit;
/**
* REST API Product Reviews Controller Class.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_Product_Reviews_V1_Controller
*/
class WC_REST_Product_Reviews_V2_Controller extends WC_REST_Product_Reviews_V1_Controller {

View File

@ -4,7 +4,7 @@
*
* Handles requests to the products/shipping_classes endpoint.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 2.6.0
*/
@ -13,7 +13,7 @@ defined( 'ABSPATH' ) || exit;
/**
* REST API Product Shipping Classes controller class.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_Product_Shipping_Classes_V1_Controller
*/
class WC_REST_Product_Shipping_Classes_V2_Controller extends WC_REST_Product_Shipping_Classes_V1_Controller {

View File

@ -4,7 +4,7 @@
*
* Handles requests to the products/tags endpoint.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 2.6.0
*/
@ -13,7 +13,7 @@ defined( 'ABSPATH' ) || exit;
/**
* REST API Product Tags controller class.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_Product_Tags_V1_Controller
*/
class WC_REST_Product_Tags_V2_Controller extends WC_REST_Product_Tags_V1_Controller {

View File

@ -4,7 +4,7 @@
*
* Handles requests to the /products/<product_id>/variations endpoints.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 3.0.0
*/
@ -13,7 +13,7 @@ defined( 'ABSPATH' ) || exit;
/**
* REST API variations controller class.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_Products_V2_Controller
*/
class WC_REST_Product_Variations_V2_Controller extends WC_REST_Products_V2_Controller {

View File

@ -4,7 +4,7 @@
*
* Handles requests to the /products endpoint.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 2.6.0
*/
@ -13,7 +13,7 @@ defined( 'ABSPATH' ) || exit;
/**
* REST API Products controller class.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_CRUD_Controller
*/
class WC_REST_Products_V2_Controller extends WC_REST_CRUD_Controller {

View File

@ -4,7 +4,7 @@
*
* Handles requests to the reports/sales endpoint.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 2.6.0
*/
@ -13,7 +13,7 @@ defined( 'ABSPATH' ) || exit;
/**
* REST API Report Sales controller class.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_Report_Sales_V1_Controller
*/
class WC_REST_Report_Sales_V2_Controller extends WC_REST_Report_Sales_V1_Controller {

View File

@ -4,7 +4,7 @@
*
* Handles requests to the reports/top_sellers endpoint.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 2.6.0
*/
@ -13,7 +13,7 @@ defined( 'ABSPATH' ) || exit;
/**
* REST API Report Top Sellers controller class.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_Report_Top_Sellers_V1_Controller
*/
class WC_REST_Report_Top_Sellers_V2_Controller extends WC_REST_Report_Top_Sellers_V1_Controller {

View File

@ -4,7 +4,7 @@
*
* Handles requests to the reports endpoint.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 2.6.0
*/
@ -13,7 +13,7 @@ defined( 'ABSPATH' ) || exit;
/**
* REST API Reports controller class.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_Reports_V1_Controller
*/
class WC_REST_Reports_V2_Controller extends WC_REST_Reports_V1_Controller {

View File

@ -4,7 +4,7 @@
*
* Handles requests to the /settings/$group/$setting endpoints.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 3.0.0
*/
@ -13,7 +13,7 @@ defined( 'ABSPATH' ) || exit;
/**
* REST API Setting Options controller class.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_Controller
*/
class WC_REST_Setting_Options_V2_Controller extends WC_REST_Controller {

View File

@ -4,7 +4,7 @@
*
* Handles requests to the /settings endpoints.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 3.0.0
*/
@ -13,7 +13,7 @@ defined( 'ABSPATH' ) || exit;
/**
* REST API Settings controller class.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_Controller
*/
class WC_REST_Settings_V2_Controller extends WC_REST_Controller {

View File

@ -4,7 +4,7 @@
*
* Handles requests to the /shipping_methods endpoint.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 3.0.0
*/
@ -13,7 +13,7 @@ defined( 'ABSPATH' ) || exit;
/**
* Shipping methods controller class.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_Controller
*/
class WC_REST_Shipping_Methods_V2_Controller extends WC_REST_Controller {

View File

@ -4,7 +4,7 @@
*
* Handles requests to the /shipping/zones/<id>/locations endpoint.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 3.0.0
*/
@ -13,7 +13,7 @@ defined( 'ABSPATH' ) || exit;
/**
* REST API Shipping Zone Locations class.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_Shipping_Zones_Controller_Base
*/
class WC_REST_Shipping_Zone_Locations_V2_Controller extends WC_REST_Shipping_Zones_Controller_Base {

View File

@ -4,7 +4,7 @@
*
* Handles requests to the /shipping/zones/<id>/methods endpoint.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 3.0.0
*/
@ -13,7 +13,7 @@ defined( 'ABSPATH' ) || exit;
/**
* REST API Shipping Zone Methods class.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_Shipping_Zones_Controller_Base
*/
class WC_REST_Shipping_Zone_Methods_V2_Controller extends WC_REST_Shipping_Zones_Controller_Base {

View File

@ -4,7 +4,7 @@
*
* Handles requests to the /shipping/zones endpoint.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 3.0.0
*/
@ -13,7 +13,7 @@ defined( 'ABSPATH' ) || exit;
/**
* REST API Shipping Zones class.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_Shipping_Zones_Controller_Base
*/
class WC_REST_Shipping_Zones_V2_Controller extends WC_REST_Shipping_Zones_Controller_Base {

View File

@ -4,7 +4,7 @@
*
* Handles requests to the /system_status/tools/* endpoints.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 3.0.0
*/
@ -13,7 +13,7 @@ defined( 'ABSPATH' ) || exit;
/**
* System status tools controller.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_Controller
*/
class WC_REST_System_Status_Tools_V2_Controller extends WC_REST_Controller {

View File

@ -4,7 +4,7 @@
*
* Handles requests to the /system_status endpoint.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 3.0.0
*/
@ -13,7 +13,7 @@ defined( 'ABSPATH' ) || exit;
/**
* System status controller class.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_Controller
*/
class WC_REST_System_Status_V2_Controller extends WC_REST_Controller {

View File

@ -4,7 +4,7 @@
*
* Handles requests to the /taxes/classes endpoint.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 2.6.0
*/
@ -13,7 +13,7 @@ defined( 'ABSPATH' ) || exit;
/**
* REST API Tax Classes controller class.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_Tax_Classes_V1_Controller
*/
class WC_REST_Tax_Classes_V2_Controller extends WC_REST_Tax_Classes_V1_Controller {

View File

@ -4,7 +4,7 @@
*
* Handles requests to the /taxes endpoint.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 2.6.0
*/
@ -13,7 +13,7 @@ defined( 'ABSPATH' ) || exit;
/**
* REST API Taxes controller class.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_Taxes_V1_Controller
*/
class WC_REST_Taxes_V2_Controller extends WC_REST_Taxes_V1_Controller {

View File

@ -4,7 +4,7 @@
*
* Handles requests to the /webhooks/<webhook_id>/deliveries endpoint.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 2.6.0
*/
@ -14,7 +14,7 @@ defined( 'ABSPATH' ) || exit;
* REST API Webhook Deliveries controller class.
*
* @deprecated 3.3.0 Webhooks deliveries logs now uses logging system.
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_Webhook_Deliveries_V1_Controller
*/
class WC_REST_Webhook_Deliveries_V2_Controller extends WC_REST_Webhook_Deliveries_V1_Controller {

View File

@ -4,7 +4,7 @@
*
* Handles requests to the /webhooks endpoint.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 2.6.0
*/
@ -13,7 +13,7 @@ defined( 'ABSPATH' ) || exit;
/**
* REST API Webhooks controller class.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_Webhooks_V1_Controller
*/
class WC_REST_Webhooks_V2_Controller extends WC_REST_Webhooks_V1_Controller {

View File

@ -12,7 +12,7 @@
* If necessary extend this class and create new abstract classes like `WC_REST_CRUD_Controller` or `WC_REST_Terms_Controller`.
*
* @class WC_REST_Controller
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @see https://developer.wordpress.org/rest-api/extending-the-rest-api/controller-classes/
*/
@ -23,7 +23,7 @@ if ( ! defined( 'ABSPATH' ) ) {
/**
* Abstract Rest Controller Class
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WP_REST_Controller
* @version 2.6.0
*/

View File

@ -4,7 +4,7 @@
*
* Handles requests to the /coupons endpoint.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 2.6.0
*/
@ -13,7 +13,7 @@ defined( 'ABSPATH' ) || exit;
/**
* REST API Coupons controller class.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_Coupons_V2_Controller
*/
class WC_REST_Coupons_Controller extends WC_REST_Coupons_V2_Controller {

View File

@ -3,7 +3,7 @@
* Abstract Rest CRUD Controller Class
*
* @class WC_REST_CRUD_Controller
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @version 3.0.0
*/

View File

@ -4,7 +4,7 @@
*
* Handles requests to the /customers/<customer_id>/downloads endpoint.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 2.6.0
*/
@ -13,7 +13,7 @@ defined( 'ABSPATH' ) || exit;
/**
* REST API Customers controller class.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_Customer_Downloads_V2_Controller
*/
class WC_REST_Customer_Downloads_Controller extends WC_REST_Customer_Downloads_V2_Controller {

View File

@ -4,7 +4,7 @@
*
* Handles requests to the /customers endpoint.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @since 2.6.0
*/
@ -13,7 +13,7 @@ defined( 'ABSPATH' ) || exit;
/**
* REST API Customers controller class.
*
* @package Automattic/WooCommerce/RestApi
* @package WooCommerce\RestApi
* @extends WC_REST_Customers_V2_Controller
*/
class WC_REST_Customers_Controller extends WC_REST_Customers_V2_Controller {

Some files were not shown because too many files have changed in this diff Show More