Show / Hide Table of Contents

Class AccountTaxServiceClientImpl

AccountTaxService client wrapper implementation, for convenient use.

Inheritance
object
AccountTaxServiceClient
AccountTaxServiceClientImpl
Inherited Members
AccountTaxServiceClient.DefaultEndpoint
AccountTaxServiceClient.DefaultScopes
AccountTaxServiceClient.ServiceMetadata
AccountTaxServiceClient.CreateAsync(CancellationToken)
AccountTaxServiceClient.Create()
AccountTaxServiceClient.ShutdownDefaultChannelsAsync()
AccountTaxServiceClient.GetAccountTaxAsync(GetAccountTaxRequest, CancellationToken)
AccountTaxServiceClient.GetAccountTax(string, CallSettings)
AccountTaxServiceClient.GetAccountTaxAsync(string, CallSettings)
AccountTaxServiceClient.GetAccountTaxAsync(string, CancellationToken)
AccountTaxServiceClient.GetAccountTax(AccountTaxName, CallSettings)
AccountTaxServiceClient.GetAccountTaxAsync(AccountTaxName, CallSettings)
AccountTaxServiceClient.GetAccountTaxAsync(AccountTaxName, CancellationToken)
AccountTaxServiceClient.ListAccountTax(string, string, int?, CallSettings)
AccountTaxServiceClient.ListAccountTaxAsync(string, string, int?, CallSettings)
AccountTaxServiceClient.ListAccountTax(AccountName, string, int?, CallSettings)
AccountTaxServiceClient.ListAccountTaxAsync(AccountName, string, int?, CallSettings)
AccountTaxServiceClient.UpdateAccountTaxAsync(UpdateAccountTaxRequest, CancellationToken)
AccountTaxServiceClient.UpdateAccountTax(AccountTax, FieldMask, CallSettings)
AccountTaxServiceClient.UpdateAccountTaxAsync(AccountTax, FieldMask, CallSettings)
AccountTaxServiceClient.UpdateAccountTaxAsync(AccountTax, FieldMask, CancellationToken)
AccountTaxServiceClient.UpdateAccountTax(AccountTax, CallSettings)
AccountTaxServiceClient.UpdateAccountTaxAsync(AccountTax, CallSettings)
AccountTaxServiceClient.UpdateAccountTaxAsync(AccountTax, CancellationToken)
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Shopping.Merchant.Accounts.V1Beta
Assembly: Google.Shopping.Merchant.Accounts.V1Beta.dll
Syntax
public sealed class AccountTaxServiceClientImpl : AccountTaxServiceClient
Remarks

Manages account level tax setting data.

This API defines the following resource model:

  • [AccountTax][google.shopping.merchant.accounts.v1main.AccountTax]

Constructors

AccountTaxServiceClientImpl(AccountTaxServiceClient, AccountTaxServiceSettings, ILogger)

Constructs a client wrapper for the AccountTaxService service, with the specified gRPC client and settings.

Declaration
public AccountTaxServiceClientImpl(AccountTaxService.AccountTaxServiceClient grpcClient, AccountTaxServiceSettings settings, ILogger logger)
Parameters
Type Name Description
AccountTaxService.AccountTaxServiceClient grpcClient

The underlying gRPC client.

AccountTaxServiceSettings settings

The base AccountTaxServiceSettings used within this client.

ILogger logger

Optional ILogger to use within this client.

Properties

GrpcClient

The underlying gRPC AccountTaxService client

Declaration
public override AccountTaxService.AccountTaxServiceClient GrpcClient { get; }
Property Value
Type Description
AccountTaxService.AccountTaxServiceClient
Overrides
AccountTaxServiceClient.GrpcClient

Methods

GetAccountTax(GetAccountTaxRequest, CallSettings)

Returns the tax rules that match the conditions of GetAccountTaxRequest

Declaration
public override AccountTax GetAccountTax(GetAccountTaxRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GetAccountTaxRequest 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
AccountTax

The RPC response.

Overrides
AccountTaxServiceClient.GetAccountTax(GetAccountTaxRequest, CallSettings)

GetAccountTaxAsync(GetAccountTaxRequest, CallSettings)

Returns the tax rules that match the conditions of GetAccountTaxRequest

Declaration
public override Task<AccountTax> GetAccountTaxAsync(GetAccountTaxRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GetAccountTaxRequest 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<AccountTax>

A Task containing the RPC response.

Overrides
AccountTaxServiceClient.GetAccountTaxAsync(GetAccountTaxRequest, CallSettings)

ListAccountTax(ListAccountTaxRequest, CallSettings)

Lists the tax settings of the sub-accounts only in your Merchant Center account. This method can only be called on a multi-client account, otherwise it'll return an error.

Declaration
public override PagedEnumerable<ListAccountTaxResponse, AccountTax> ListAccountTax(ListAccountTaxRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
ListAccountTaxRequest 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
PagedEnumerable<ListAccountTaxResponse, AccountTax>

A pageable sequence of AccountTax resources.

Overrides
AccountTaxServiceClient.ListAccountTax(ListAccountTaxRequest, CallSettings)

ListAccountTaxAsync(ListAccountTaxRequest, CallSettings)

Lists the tax settings of the sub-accounts only in your Merchant Center account. This method can only be called on a multi-client account, otherwise it'll return an error.

Declaration
public override PagedAsyncEnumerable<ListAccountTaxResponse, AccountTax> ListAccountTaxAsync(ListAccountTaxRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
ListAccountTaxRequest 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
PagedAsyncEnumerable<ListAccountTaxResponse, AccountTax>

A pageable asynchronous sequence of AccountTax resources.

Overrides
AccountTaxServiceClient.ListAccountTaxAsync(ListAccountTaxRequest, CallSettings)

UpdateAccountTax(UpdateAccountTaxRequest, CallSettings)

Updates the tax settings of the account.

Declaration
public override AccountTax UpdateAccountTax(UpdateAccountTaxRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
UpdateAccountTaxRequest 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
AccountTax

The RPC response.

Overrides
AccountTaxServiceClient.UpdateAccountTax(UpdateAccountTaxRequest, CallSettings)

UpdateAccountTaxAsync(UpdateAccountTaxRequest, CallSettings)

Updates the tax settings of the account.

Declaration
public override Task<AccountTax> UpdateAccountTaxAsync(UpdateAccountTaxRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
UpdateAccountTaxRequest 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<AccountTax>

A Task containing the RPC response.

Overrides
AccountTaxServiceClient.UpdateAccountTaxAsync(UpdateAccountTaxRequest, CallSettings)
In this article
Back to top Generated by DocFX