Property | Type | Description | |
---|---|---|---|
$logger | WC_Connect_Logger | ||
$namespace | string | Endpoint namespace. | |
$rest_base | string | Route base. | |
$service_schemas_store | WC_Connect_Service_Schemas_Store | ||
$service_settings_store | WC_Connect_Service_Settings_Store |
Method | Description | |
---|---|---|
__construct ( WC_Connect_Service_Schemas_Store $schemas_store, WC_Connect_Service_Settings_Store $settings_store, WC_Connect_Logger $logger ) | ||
register_routes ( ) | Register the routes for order notes. | |
update_item ( $request ) | Attempts to update the settings on a particular service and instance | |
update_item_permissions_check ( $request ) | Validate the requestor's permissions |
public __construct ( WC_Connect_Service_Schemas_Store $schemas_store, WC_Connect_Service_Settings_Store $settings_store, WC_Connect_Logger $logger ) | ||
$schemas_store | WC_Connect_Service_Schemas_Store | |
$settings_store | WC_Connect_Service_Settings_Store | |
$logger | WC_Connect_Logger |
public update_item ( $request ) |
public update_item_permissions_check ( $request ) |
protected WC_Connect_Service_Schemas_Store $service_schemas_store | ||
return | WC_Connect_Service_Schemas_Store |