Class OnlineReturnPolicyService.OnlineReturnPolicyServiceBase
Base class for server-side implementations of OnlineReturnPolicyService
Namespace: Google.Shopping.Merchant.Accounts.V1Beta
Assembly: Google.Shopping.Merchant.Accounts.V1Beta.dll
Syntax
[BindServiceMethod(typeof(OnlineReturnPolicyService), "BindService")]
public abstract class OnlineReturnPolicyService.OnlineReturnPolicyServiceBase
Methods
GetOnlineReturnPolicy(GetOnlineReturnPolicyRequest, ServerCallContext)
Gets an existing return policy.
Declaration
public virtual Task<OnlineReturnPolicy> GetOnlineReturnPolicy(GetOnlineReturnPolicyRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
GetOnlineReturnPolicyRequest | request | The request received from the client. |
ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<OnlineReturnPolicy> | The response to send back to the client (wrapped by a task). |
ListOnlineReturnPolicies(ListOnlineReturnPoliciesRequest, ServerCallContext)
Lists all existing return policies.
Declaration
public virtual Task<ListOnlineReturnPoliciesResponse> ListOnlineReturnPolicies(ListOnlineReturnPoliciesRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
ListOnlineReturnPoliciesRequest | request | The request received from the client. |
ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<ListOnlineReturnPoliciesResponse> | The response to send back to the client (wrapped by a task). |