Class CheckoutSettingsService.CheckoutSettingsServiceClient
Client for CheckoutSettingsService
Inheritance
Inherited Members
Namespace: Google.Shopping.Merchant.Accounts.V1
Assembly: Google.Shopping.Merchant.Accounts.V1.dll
Syntax
public class CheckoutSettingsService.CheckoutSettingsServiceClient : ClientBase<CheckoutSettingsService.CheckoutSettingsServiceClient>
Constructors
CheckoutSettingsServiceClient()
Protected parameterless constructor to allow creation of test doubles.
Declaration
protected CheckoutSettingsServiceClient()
CheckoutSettingsServiceClient(CallInvoker)
Creates a new client for CheckoutSettingsService that uses a custom CallInvoker
.
Declaration
public CheckoutSettingsServiceClient(CallInvoker callInvoker)
Parameters
Type | Name | Description |
---|---|---|
CallInvoker | callInvoker | The callInvoker to use to make remote calls. |
CheckoutSettingsServiceClient(ChannelBase)
Creates a new client for CheckoutSettingsService
Declaration
public CheckoutSettingsServiceClient(ChannelBase channel)
Parameters
Type | Name | Description |
---|---|---|
ChannelBase | channel | The channel to use to make remote calls. |
CheckoutSettingsServiceClient(ClientBaseConfiguration)
Protected constructor to allow creation of configured clients.
Declaration
protected CheckoutSettingsServiceClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
ClientBase.ClientBaseConfiguration | configuration | The client configuration. |
Methods
CreateCheckoutSettings(CreateCheckoutSettingsRequest, CallOptions)
Creates CheckoutSettings
for the given merchant.
Declaration
public virtual CheckoutSettings CreateCheckoutSettings(CreateCheckoutSettingsRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
CreateCheckoutSettingsRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
CheckoutSettings | The response received from the server. |
CreateCheckoutSettings(CreateCheckoutSettingsRequest, Metadata, DateTime?, CancellationToken)
Creates CheckoutSettings
for the given merchant.
Declaration
public virtual CheckoutSettings CreateCheckoutSettings(CreateCheckoutSettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
CreateCheckoutSettingsRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
CheckoutSettings | The response received from the server. |
CreateCheckoutSettingsAsync(CreateCheckoutSettingsRequest, CallOptions)
Creates CheckoutSettings
for the given merchant.
Declaration
public virtual AsyncUnaryCall<CheckoutSettings> CreateCheckoutSettingsAsync(CreateCheckoutSettingsRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
CreateCheckoutSettingsRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<CheckoutSettings> | The call object. |
CreateCheckoutSettingsAsync(CreateCheckoutSettingsRequest, Metadata, DateTime?, CancellationToken)
Creates CheckoutSettings
for the given merchant.
Declaration
public virtual AsyncUnaryCall<CheckoutSettings> CreateCheckoutSettingsAsync(CreateCheckoutSettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
CreateCheckoutSettingsRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<CheckoutSettings> | The call object. |
DeleteCheckoutSettings(DeleteCheckoutSettingsRequest, CallOptions)
Deletes CheckoutSettings
and unenrolls merchant from
Checkout
program.
Declaration
public virtual Empty DeleteCheckoutSettings(DeleteCheckoutSettingsRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
DeleteCheckoutSettingsRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
Empty | The response received from the server. |
DeleteCheckoutSettings(DeleteCheckoutSettingsRequest, Metadata, DateTime?, CancellationToken)
Deletes CheckoutSettings
and unenrolls merchant from
Checkout
program.
Declaration
public virtual Empty DeleteCheckoutSettings(DeleteCheckoutSettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
DeleteCheckoutSettingsRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
Empty | The response received from the server. |
DeleteCheckoutSettingsAsync(DeleteCheckoutSettingsRequest, CallOptions)
Deletes CheckoutSettings
and unenrolls merchant from
Checkout
program.
Declaration
public virtual AsyncUnaryCall<Empty> DeleteCheckoutSettingsAsync(DeleteCheckoutSettingsRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
DeleteCheckoutSettingsRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<Empty> | The call object. |
DeleteCheckoutSettingsAsync(DeleteCheckoutSettingsRequest, Metadata, DateTime?, CancellationToken)
Deletes CheckoutSettings
and unenrolls merchant from
Checkout
program.
Declaration
public virtual AsyncUnaryCall<Empty> DeleteCheckoutSettingsAsync(DeleteCheckoutSettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
DeleteCheckoutSettingsRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<Empty> | The call object. |
GetCheckoutSettings(GetCheckoutSettingsRequest, CallOptions)
Gets CheckoutSettings
for the given merchant. This includes
information about review state, enrollment state and URL settings.
Declaration
public virtual CheckoutSettings GetCheckoutSettings(GetCheckoutSettingsRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
GetCheckoutSettingsRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
CheckoutSettings | The response received from the server. |
GetCheckoutSettings(GetCheckoutSettingsRequest, Metadata, DateTime?, CancellationToken)
Gets CheckoutSettings
for the given merchant. This includes
information about review state, enrollment state and URL settings.
Declaration
public virtual CheckoutSettings GetCheckoutSettings(GetCheckoutSettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
GetCheckoutSettingsRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
CheckoutSettings | The response received from the server. |
GetCheckoutSettingsAsync(GetCheckoutSettingsRequest, CallOptions)
Gets CheckoutSettings
for the given merchant. This includes
information about review state, enrollment state and URL settings.
Declaration
public virtual AsyncUnaryCall<CheckoutSettings> GetCheckoutSettingsAsync(GetCheckoutSettingsRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
GetCheckoutSettingsRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<CheckoutSettings> | The call object. |
GetCheckoutSettingsAsync(GetCheckoutSettingsRequest, Metadata, DateTime?, CancellationToken)
Gets CheckoutSettings
for the given merchant. This includes
information about review state, enrollment state and URL settings.
Declaration
public virtual AsyncUnaryCall<CheckoutSettings> GetCheckoutSettingsAsync(GetCheckoutSettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
GetCheckoutSettingsRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<CheckoutSettings> | The call object. |
NewInstance(ClientBaseConfiguration)
Creates a new instance of client from given ClientBaseConfiguration
.
Declaration
protected override CheckoutSettingsService.CheckoutSettingsServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
ClientBase.ClientBaseConfiguration | configuration |
Returns
Type | Description |
---|---|
CheckoutSettingsService.CheckoutSettingsServiceClient |
Overrides
UpdateCheckoutSettings(UpdateCheckoutSettingsRequest, CallOptions)
Updates CheckoutSettings
for the given merchant.
Declaration
public virtual CheckoutSettings UpdateCheckoutSettings(UpdateCheckoutSettingsRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
UpdateCheckoutSettingsRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
CheckoutSettings | The response received from the server. |
UpdateCheckoutSettings(UpdateCheckoutSettingsRequest, Metadata, DateTime?, CancellationToken)
Updates CheckoutSettings
for the given merchant.
Declaration
public virtual CheckoutSettings UpdateCheckoutSettings(UpdateCheckoutSettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
UpdateCheckoutSettingsRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
CheckoutSettings | The response received from the server. |
UpdateCheckoutSettingsAsync(UpdateCheckoutSettingsRequest, CallOptions)
Updates CheckoutSettings
for the given merchant.
Declaration
public virtual AsyncUnaryCall<CheckoutSettings> UpdateCheckoutSettingsAsync(UpdateCheckoutSettingsRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
UpdateCheckoutSettingsRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<CheckoutSettings> | The call object. |
UpdateCheckoutSettingsAsync(UpdateCheckoutSettingsRequest, Metadata, DateTime?, CancellationToken)
Updates CheckoutSettings
for the given merchant.
Declaration
public virtual AsyncUnaryCall<CheckoutSettings> UpdateCheckoutSettingsAsync(UpdateCheckoutSettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
UpdateCheckoutSettingsRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<CheckoutSettings> | The call object. |