Class CheckoutSettingsServiceClientImpl
CheckoutSettingsService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Shopping.Merchant.Accounts.V1
Assembly: Google.Shopping.Merchant.Accounts.V1.dll
Syntax
public sealed class CheckoutSettingsServiceClientImpl : CheckoutSettingsServiceClient
Remarks
Service for supporting checkout settings.
Constructors
CheckoutSettingsServiceClientImpl(CheckoutSettingsServiceClient, CheckoutSettingsServiceSettings, ILogger)
Constructs a client wrapper for the CheckoutSettingsService service, with the specified gRPC client and settings.
Declaration
public CheckoutSettingsServiceClientImpl(CheckoutSettingsService.CheckoutSettingsServiceClient grpcClient, CheckoutSettingsServiceSettings settings, ILogger logger)
Parameters
Type | Name | Description |
---|---|---|
CheckoutSettingsService.CheckoutSettingsServiceClient | grpcClient | The underlying gRPC client. |
CheckoutSettingsServiceSettings | settings | The base CheckoutSettingsServiceSettings used within this client. |
ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC CheckoutSettingsService client
Declaration
public override CheckoutSettingsService.CheckoutSettingsServiceClient GrpcClient { get; }
Property Value
Type | Description |
---|---|
CheckoutSettingsService.CheckoutSettingsServiceClient |
Overrides
Methods
CreateCheckoutSettings(CreateCheckoutSettingsRequest, CallSettings)
Creates CheckoutSettings
for the given merchant.
Declaration
public override CheckoutSettings CreateCheckoutSettings(CreateCheckoutSettingsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateCheckoutSettingsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
CheckoutSettings | The RPC response. |
Overrides
CreateCheckoutSettingsAsync(CreateCheckoutSettingsRequest, CallSettings)
Creates CheckoutSettings
for the given merchant.
Declaration
public override Task<CheckoutSettings> CreateCheckoutSettingsAsync(CreateCheckoutSettingsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateCheckoutSettingsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<CheckoutSettings> | A Task containing the RPC response. |
Overrides
DeleteCheckoutSettings(DeleteCheckoutSettingsRequest, CallSettings)
Deletes CheckoutSettings
and unenrolls merchant from
Checkout
program.
Declaration
public override void DeleteCheckoutSettings(DeleteCheckoutSettingsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeleteCheckoutSettingsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Overrides
DeleteCheckoutSettingsAsync(DeleteCheckoutSettingsRequest, CallSettings)
Deletes CheckoutSettings
and unenrolls merchant from
Checkout
program.
Declaration
public override Task DeleteCheckoutSettingsAsync(DeleteCheckoutSettingsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeleteCheckoutSettingsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Overrides
GetCheckoutSettings(GetCheckoutSettingsRequest, CallSettings)
Gets CheckoutSettings
for the given merchant. This includes
information about review state, enrollment state and URL settings.
Declaration
public override CheckoutSettings GetCheckoutSettings(GetCheckoutSettingsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetCheckoutSettingsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
CheckoutSettings | The RPC response. |
Overrides
GetCheckoutSettingsAsync(GetCheckoutSettingsRequest, CallSettings)
Gets CheckoutSettings
for the given merchant. This includes
information about review state, enrollment state and URL settings.
Declaration
public override Task<CheckoutSettings> GetCheckoutSettingsAsync(GetCheckoutSettingsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetCheckoutSettingsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<CheckoutSettings> | A Task containing the RPC response. |
Overrides
UpdateCheckoutSettings(UpdateCheckoutSettingsRequest, CallSettings)
Updates CheckoutSettings
for the given merchant.
Declaration
public override CheckoutSettings UpdateCheckoutSettings(UpdateCheckoutSettingsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateCheckoutSettingsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
CheckoutSettings | The RPC response. |
Overrides
UpdateCheckoutSettingsAsync(UpdateCheckoutSettingsRequest, CallSettings)
Updates CheckoutSettings
for the given merchant.
Declaration
public override Task<CheckoutSettings> UpdateCheckoutSettingsAsync(UpdateCheckoutSettingsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateCheckoutSettingsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<CheckoutSettings> | A Task containing the RPC response. |