Class AccountTaxService.AccountTaxServiceClient
Client for AccountTaxService
Inheritance
Inherited Members
Namespace: Google.Shopping.Merchant.Accounts.V1Beta
Assembly: Google.Shopping.Merchant.Accounts.V1Beta.dll
Syntax
public class AccountTaxService.AccountTaxServiceClient : ClientBase<AccountTaxService.AccountTaxServiceClient>
Constructors
AccountTaxServiceClient()
Protected parameterless constructor to allow creation of test doubles.
Declaration
protected AccountTaxServiceClient()
AccountTaxServiceClient(CallInvoker)
Creates a new client for AccountTaxService that uses a custom CallInvoker
.
Declaration
public AccountTaxServiceClient(CallInvoker callInvoker)
Parameters
Type | Name | Description |
---|---|---|
CallInvoker | callInvoker | The callInvoker to use to make remote calls. |
AccountTaxServiceClient(ChannelBase)
Creates a new client for AccountTaxService
Declaration
public AccountTaxServiceClient(ChannelBase channel)
Parameters
Type | Name | Description |
---|---|---|
ChannelBase | channel | The channel to use to make remote calls. |
AccountTaxServiceClient(ClientBaseConfiguration)
Protected constructor to allow creation of configured clients.
Declaration
protected AccountTaxServiceClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
ClientBase.ClientBaseConfiguration | configuration | The client configuration. |
Methods
GetAccountTax(GetAccountTaxRequest, CallOptions)
Returns the tax rules that match the conditions of GetAccountTaxRequest
Declaration
public virtual AccountTax GetAccountTax(GetAccountTaxRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
GetAccountTaxRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AccountTax | The response received from the server. |
GetAccountTax(GetAccountTaxRequest, Metadata, DateTime?, CancellationToken)
Returns the tax rules that match the conditions of GetAccountTaxRequest
Declaration
public virtual AccountTax GetAccountTax(GetAccountTaxRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
GetAccountTaxRequest | 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 |
---|---|
AccountTax | The response received from the server. |
GetAccountTaxAsync(GetAccountTaxRequest, CallOptions)
Returns the tax rules that match the conditions of GetAccountTaxRequest
Declaration
public virtual AsyncUnaryCall<AccountTax> GetAccountTaxAsync(GetAccountTaxRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
GetAccountTaxRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<AccountTax> | The call object. |
GetAccountTaxAsync(GetAccountTaxRequest, Metadata, DateTime?, CancellationToken)
Returns the tax rules that match the conditions of GetAccountTaxRequest
Declaration
public virtual AsyncUnaryCall<AccountTax> GetAccountTaxAsync(GetAccountTaxRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
GetAccountTaxRequest | 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<AccountTax> | The call object. |
ListAccountTax(ListAccountTaxRequest, CallOptions)
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 virtual ListAccountTaxResponse ListAccountTax(ListAccountTaxRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
ListAccountTaxRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
ListAccountTaxResponse | The response received from the server. |
ListAccountTax(ListAccountTaxRequest, Metadata, DateTime?, CancellationToken)
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 virtual ListAccountTaxResponse ListAccountTax(ListAccountTaxRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
ListAccountTaxRequest | 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 |
---|---|
ListAccountTaxResponse | The response received from the server. |
ListAccountTaxAsync(ListAccountTaxRequest, CallOptions)
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 virtual AsyncUnaryCall<ListAccountTaxResponse> ListAccountTaxAsync(ListAccountTaxRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
ListAccountTaxRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<ListAccountTaxResponse> | The call object. |
ListAccountTaxAsync(ListAccountTaxRequest, Metadata, DateTime?, CancellationToken)
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 virtual AsyncUnaryCall<ListAccountTaxResponse> ListAccountTaxAsync(ListAccountTaxRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
ListAccountTaxRequest | 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<ListAccountTaxResponse> | The call object. |
NewInstance(ClientBaseConfiguration)
Creates a new instance of client from given ClientBaseConfiguration
.
Declaration
protected override AccountTaxService.AccountTaxServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
ClientBase.ClientBaseConfiguration | configuration |
Returns
Type | Description |
---|---|
AccountTaxService.AccountTaxServiceClient |
Overrides
UpdateAccountTax(UpdateAccountTaxRequest, CallOptions)
Updates the tax settings of the account.
Declaration
public virtual AccountTax UpdateAccountTax(UpdateAccountTaxRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
UpdateAccountTaxRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AccountTax | The response received from the server. |
UpdateAccountTax(UpdateAccountTaxRequest, Metadata, DateTime?, CancellationToken)
Updates the tax settings of the account.
Declaration
public virtual AccountTax UpdateAccountTax(UpdateAccountTaxRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
UpdateAccountTaxRequest | 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 |
---|---|
AccountTax | The response received from the server. |
UpdateAccountTaxAsync(UpdateAccountTaxRequest, CallOptions)
Updates the tax settings of the account.
Declaration
public virtual AsyncUnaryCall<AccountTax> UpdateAccountTaxAsync(UpdateAccountTaxRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
UpdateAccountTaxRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<AccountTax> | The call object. |
UpdateAccountTaxAsync(UpdateAccountTaxRequest, Metadata, DateTime?, CancellationToken)
Updates the tax settings of the account.
Declaration
public virtual AsyncUnaryCall<AccountTax> UpdateAccountTaxAsync(UpdateAccountTaxRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
UpdateAccountTaxRequest | 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<AccountTax> | The call object. |