Interface AccountTaxOrBuilder (0.9.0)

public interface AccountTaxOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAccount()

public abstract long getAccount()

Output only. The ID of the account to which these account tax settings belong.

int64 account = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The account.

getName()

public abstract String getName()

Identifier. The name of the tax setting. Format: "{account_tax.name=accounts/{account}}"

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Identifier. The name of the tax setting. Format: "{account_tax.name=accounts/{account}}"

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getTaxRules(int index)

public abstract TaxRule getTaxRules(int index)

Tax rules. "Define the tax rules in each region. No tax will be presented if a region has no rule."

repeated .google.shopping.merchant.accounts.v1beta.TaxRule tax_rules = 3;

Parameter
Name Description
index int
Returns
Type Description
TaxRule

getTaxRulesCount()

public abstract int getTaxRulesCount()

Tax rules. "Define the tax rules in each region. No tax will be presented if a region has no rule."

repeated .google.shopping.merchant.accounts.v1beta.TaxRule tax_rules = 3;

Returns
Type Description
int

getTaxRulesList()

public abstract List<TaxRule> getTaxRulesList()

Tax rules. "Define the tax rules in each region. No tax will be presented if a region has no rule."

repeated .google.shopping.merchant.accounts.v1beta.TaxRule tax_rules = 3;

Returns
Type Description
List<TaxRule>

getTaxRulesOrBuilder(int index)

public abstract TaxRuleOrBuilder getTaxRulesOrBuilder(int index)

Tax rules. "Define the tax rules in each region. No tax will be presented if a region has no rule."

repeated .google.shopping.merchant.accounts.v1beta.TaxRule tax_rules = 3;

Parameter
Name Description
index int
Returns
Type Description
TaxRuleOrBuilder

getTaxRulesOrBuilderList()

public abstract List<? extends TaxRuleOrBuilder> getTaxRulesOrBuilderList()

Tax rules. "Define the tax rules in each region. No tax will be presented if a region has no rule."

repeated .google.shopping.merchant.accounts.v1beta.TaxRule tax_rules = 3;

Returns
Type Description
List<? extends com.google.shopping.merchant.accounts.v1beta.TaxRuleOrBuilder>