프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 |
메소드 | 설명 | |
---|---|---|
__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 ( ) |