Property | 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 |
Method | 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. |
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 |
public get_item_permissions_check ( $request ) |
public register_routes ( ) |
protected WC_Connect_API_Client $api_client | ||
return | WC_Connect_API_Client |