PHP Class WC_REST_Connect_Shipping_Labels_Preview_Controller, woocommerce-connect-client

Inheritance: extends WP_REST_Controller
Afficher le fichier Open project: Automattic/woocommerce-connect-client

Protected Properties

Свойство Type Description
$api_client WC_Connect_API_Client
$logger WC_Connect_Logger
$namespace string Endpoint namespace.
$rest_base string Route base.
$settings_store WC_Connect_Service_Settings_Store

Méthodes publiques

Méthode Description
__construct ( WC_Connect_API_Client $api_client, WC_Connect_Service_Settings_Store $settings_store, WC_Connect_Logger $logger )
get_item ( $request )
get_item_permissions_check ( $request ) Validate the requester's permissions
register_routes ( ) Register the routes for shipping labels printing.

Method Details

__construct() public méthode

public __construct ( WC_Connect_API_Client $api_client, WC_Connect_Service_Settings_Store $settings_store, WC_Connect_Logger $logger )
$api_client WC_Connect_API_Client
$settings_store WC_Connect_Service_Settings_Store
$logger WC_Connect_Logger

get_item() public méthode

public get_item ( $request )

get_item_permissions_check() public méthode

Validate the requester's permissions
public get_item_permissions_check ( $request )

register_routes() public méthode

Register the routes for shipping labels printing.
public register_routes ( )

Property Details

$api_client protected_oe property

protected WC_Connect_API_Client $api_client
Résultat WC_Connect_API_Client

$logger protected_oe property

protected WC_Connect_Logger $logger
Résultat WC_Connect_Logger

$namespace protected_oe property

Endpoint namespace.
protected string $namespace
Résultat string

$rest_base protected_oe property

Route base.
protected string $rest_base
Résultat string

$settings_store protected_oe property

protected WC_Connect_Service_Settings_Store $settings_store
Résultat WC_Connect_Service_Settings_Store