public class TaxRateCreateParams extends ApiRequestParams
Modifier and Type | Class and Description |
---|---|
static class |
TaxRateCreateParams.Builder |
ApiRequestParams.EnumParam
EXTRA_PARAMS_KEY
Modifier and Type | Method and Description |
---|---|
static TaxRateCreateParams.Builder |
builder() |
java.lang.Boolean |
getActive()
Flag determining whether the tax rate is active or inactive (archived).
|
java.lang.String |
getDescription()
An arbitrary string attached to the tax rate for your internal use only.
|
java.lang.String |
getDisplayName()
The display name of the tax rate, which will be shown to users.
|
java.util.List<java.lang.String> |
getExpand()
Specifies which fields in the response should be expanded.
|
java.util.Map<java.lang.String,java.lang.Object> |
getExtraParams()
Map of extra parameters for custom features not available in this client library.
|
java.lang.Boolean |
getInclusive()
This specifies if the tax rate is inclusive or exclusive.
|
java.lang.String |
getJurisdiction()
The jurisdiction for the tax rate.
|
java.util.Map<java.lang.String,java.lang.String> |
getMetadata()
Set of key-value pairs that you can attach
to an object.
|
java.math.BigDecimal |
getPercentage()
This represents the tax rate percent out of 100.
|
toMap
public static TaxRateCreateParams.Builder builder()
public java.lang.Boolean getActive()
public java.lang.String getDescription()
public java.lang.String getDisplayName()
public java.util.List<java.lang.String> getExpand()
public java.util.Map<java.lang.String,java.lang.Object> getExtraParams()
@SerializedName
value. Instead, each
key/value pair is serialized as if the key is a root-level field (serialized) name in this
param object. Effectively, this map is flattened to its parent instance.public java.lang.Boolean getInclusive()
public java.lang.String getJurisdiction()
public java.util.Map<java.lang.String,java.lang.String> getMetadata()
metadata
.public java.math.BigDecimal getPercentage()