Reference documentation and code samples for the Google Shopping Merchant Accounts V1beta Client class AccountTax.
The tax settings of a merchant account. All methods require the admin role.
Generated from protobuf message google.shopping.merchant.accounts.v1beta.AccountTax
Namespace
Google \ Shopping \ Merchant \ Accounts \ V1betaMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. The name of the tax setting. Format: "{account_tax.name=accounts/{account}}"
↳ account
int|string
Output only. The ID of the account to which these account tax settings belong.
↳ tax_rules
array< TaxRule
>
Tax rules. "Define the tax rules in each region. No tax will be presented if a region has no rule."
getName
Identifier. The name of the tax setting.
Format: "{account_tax.name=accounts/{account}}"
string
setName
Identifier. The name of the tax setting.
Format: "{account_tax.name=accounts/{account}}"
var
string
$this
getAccount
Output only. The ID of the account to which these account tax settings belong.
int|string
setAccount
Output only. The ID of the account to which these account tax settings belong.
var
int|string
$this
getTaxRules
Tax rules. "Define the tax rules in each region.
No tax will be presented if a region has no rule."
setTaxRules
Tax rules. "Define the tax rules in each region.
No tax will be presented if a region has no rule."
$this