Class CheckoutSettingsService.CheckoutSettingsServiceBase
Base class for server-side implementations of CheckoutSettingsService
Namespace: Google.Shopping.Merchant.Accounts.V1
Assembly: Google.Shopping.Merchant.Accounts.V1.dll
Syntax
[BindServiceMethod(typeof(CheckoutSettingsService), "BindService")]
public abstract class CheckoutSettingsService.CheckoutSettingsServiceBase
Methods
CreateCheckoutSettings(CreateCheckoutSettingsRequest, ServerCallContext)
Creates CheckoutSettings
for the given merchant.
Declaration
public virtual Task<CheckoutSettings> CreateCheckoutSettings(CreateCheckoutSettingsRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
CreateCheckoutSettingsRequest | request | The request received from the client. |
ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<CheckoutSettings> | The response to send back to the client (wrapped by a task). |
DeleteCheckoutSettings(DeleteCheckoutSettingsRequest, ServerCallContext)
Deletes CheckoutSettings
and unenrolls merchant from
Checkout
program.
Declaration
public virtual Task<Empty> DeleteCheckoutSettings(DeleteCheckoutSettingsRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
DeleteCheckoutSettingsRequest | request | The request received from the client. |
ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<Empty> | The response to send back to the client (wrapped by a task). |
GetCheckoutSettings(GetCheckoutSettingsRequest, ServerCallContext)
Gets CheckoutSettings
for the given merchant. This includes
information about review state, enrollment state and URL settings.
Declaration
public virtual Task<CheckoutSettings> GetCheckoutSettings(GetCheckoutSettingsRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
GetCheckoutSettingsRequest | request | The request received from the client. |
ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<CheckoutSettings> | The response to send back to the client (wrapped by a task). |
UpdateCheckoutSettings(UpdateCheckoutSettingsRequest, ServerCallContext)
Updates CheckoutSettings
for the given merchant.
Declaration
public virtual Task<CheckoutSettings> UpdateCheckoutSettings(UpdateCheckoutSettingsRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
UpdateCheckoutSettingsRequest | request | The request received from the client. |
ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<CheckoutSettings> | The response to send back to the client (wrapped by a task). |