Class AccountTaxService.AccountTaxServiceBase
Base class for server-side implementations of AccountTaxService
Namespace: Google.Shopping.Merchant.Accounts.V1Beta
Assembly: Google.Shopping.Merchant.Accounts.V1Beta.dll
Syntax
[BindServiceMethod(typeof(AccountTaxService), "BindService")]
public abstract class AccountTaxService.AccountTaxServiceBase
Methods
GetAccountTax(GetAccountTaxRequest, ServerCallContext)
Returns the tax rules that match the conditions of GetAccountTaxRequest
Declaration
public virtual Task<AccountTax> GetAccountTax(GetAccountTaxRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
GetAccountTaxRequest | request | The request received from the client. |
ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<AccountTax> | The response to send back to the client (wrapped by a task). |
ListAccountTax(ListAccountTaxRequest, ServerCallContext)
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 Task<ListAccountTaxResponse> ListAccountTax(ListAccountTaxRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
ListAccountTaxRequest | request | The request received from the client. |
ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<ListAccountTaxResponse> | The response to send back to the client (wrapped by a task). |
UpdateAccountTax(UpdateAccountTaxRequest, ServerCallContext)
Updates the tax settings of the account.
Declaration
public virtual Task<AccountTax> UpdateAccountTax(UpdateAccountTaxRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
UpdateAccountTaxRequest | request | The request received from the client. |
ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<AccountTax> | The response to send back to the client (wrapped by a task). |