Class AccounttaxResource
The "accounttax" collection of methods.
Inherited Members
Namespace: Google.Apis.ShoppingContent.v2_1
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class AccounttaxResource
Constructors
AccounttaxResource(IClientService)
Constructs a new resource.
Declaration
public AccounttaxResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Custombatch(AccounttaxCustomBatchRequest)
Retrieves and updates tax settings of multiple accounts in a single request.
Declaration
public virtual AccounttaxResource.CustombatchRequest Custombatch(AccounttaxCustomBatchRequest body)
Parameters
Type | Name | Description |
---|---|---|
AccounttaxCustomBatchRequest | body | The body of the request. |
Returns
Type | Description |
---|---|
AccounttaxResource.CustombatchRequest |
Get(ulong, ulong)
Retrieves the tax settings of the account.
Declaration
public virtual AccounttaxResource.GetRequest Get(ulong merchantId, ulong accountId)
Parameters
Type | Name | Description |
---|---|---|
ulong | merchantId | The ID of the managing account. If this parameter is not the same as accountId, then this account must be a
multi-client account and |
ulong | accountId | The ID of the account for which to get/update account tax settings. |
Returns
Type | Description |
---|---|
AccounttaxResource.GetRequest |
List(ulong)
Lists the tax settings of the sub-accounts in your Merchant Center account.
Declaration
public virtual AccounttaxResource.ListRequest List(ulong merchantId)
Parameters
Type | Name | Description |
---|---|---|
ulong | merchantId | The ID of the managing account. This must be a multi-client account. |
Returns
Type | Description |
---|---|
AccounttaxResource.ListRequest |
Update(AccountTax, ulong, ulong)
Updates the tax settings of the account. Any fields that are not provided are deleted from the resource.
Declaration
public virtual AccounttaxResource.UpdateRequest Update(AccountTax body, ulong merchantId, ulong accountId)
Parameters
Type | Name | Description |
---|---|---|
AccountTax | body | The body of the request. |
ulong | merchantId | The ID of the managing account. If this parameter is not the same as accountId, then this account must be a
multi-client account and |
ulong | accountId | The ID of the account for which to get/update account tax settings. |
Returns
Type | Description |
---|---|
AccounttaxResource.UpdateRequest |