Show / Hide Table of Contents

Class AccounttaxResource

The "accounttax" collection of methods.

Inheritance
System.Object
AccounttaxResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.ShoppingContent.v2
Assembly: Google.Apis.ShoppingContent.v2.dll
Syntax
public class AccounttaxResource

Constructors

AccounttaxResource(IClientService)

Constructs a new resource.

Declaration
public AccounttaxResource(IClientService service)
Parameters
Type Name Description
Google.Apis.Services.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(UInt64, UInt64)

Retrieves the tax settings of the account.

Declaration
public virtual AccounttaxResource.GetRequest Get(ulong merchantId, ulong accountId)
Parameters
Type Name Description
System.UInt64 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 accountId must be the ID of a sub-account of this account.

System.UInt64 accountId

The ID of the account for which to get/update account tax settings.

Returns
Type Description
AccounttaxResource.GetRequest

List(UInt64)

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
System.UInt64 merchantId

The ID of the managing account. This must be a multi-client account.

Returns
Type Description
AccounttaxResource.ListRequest

Update(AccountTax, UInt64, UInt64)

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.

System.UInt64 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 accountId must be the ID of a sub-account of this account.

System.UInt64 accountId

The ID of the account for which to get/update account tax settings.

Returns
Type Description
AccounttaxResource.UpdateRequest
In This Article
Back to top