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.FlagsAbstractMap.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, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic 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.GenericJsonpublic AccountTaxTaxRule clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.