public final class AccountTaxTaxRule
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Content API for Shopping. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
AccountTaxTaxRule() |
Modifier and Type | Method and Description |
---|---|
AccountTaxTaxRule |
clone() |
String |
getCountry()
Country code in which tax is applicable.
|
BigInteger |
getLocationId()
Required.
|
String |
getRatePercent()
Explicit tax rate in percent, represented as a floating point number without the percentage
character.
|
Boolean |
getShippingTaxed()
If true, shipping charges are also taxed.
|
Boolean |
getUseGlobalRate()
Whether the tax rate is taken from a global tax table or specified explicitly.
|
AccountTaxTaxRule |
set(String fieldName,
Object value) |
AccountTaxTaxRule |
setCountry(String country)
Country code in which tax is applicable.
|
AccountTaxTaxRule |
setLocationId(BigInteger locationId)
Required.
|
AccountTaxTaxRule |
setRatePercent(String ratePercent)
Explicit tax rate in percent, represented as a floating point number without the percentage
character.
|
AccountTaxTaxRule |
setShippingTaxed(Boolean shippingTaxed)
If true, shipping charges are also taxed.
|
AccountTaxTaxRule |
setUseGlobalRate(Boolean useGlobalRate)
Whether the tax rate is taken from a global tax table or specified explicitly.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getCountry()
null
for nonepublic AccountTaxTaxRule setCountry(String country)
country
- country or null
for nonepublic BigInteger getLocationId()
null
for nonepublic AccountTaxTaxRule setLocationId(BigInteger locationId)
locationId
- locationId or null
for nonepublic String getRatePercent()
null
for nonepublic AccountTaxTaxRule setRatePercent(String ratePercent)
ratePercent
- ratePercent or null
for nonepublic Boolean getShippingTaxed()
null
for nonepublic AccountTaxTaxRule setShippingTaxed(Boolean shippingTaxed)
shippingTaxed
- shippingTaxed or null
for nonepublic Boolean getUseGlobalRate()
null
for nonepublic AccountTaxTaxRule setUseGlobalRate(Boolean useGlobalRate)
useGlobalRate
- useGlobalRate or null
for nonepublic AccountTaxTaxRule set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public AccountTaxTaxRule clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.