Package com.stripe.param.tax
Class CalculationCreateParams
java.lang.Object
com.stripe.net.ApiRequestParams
com.stripe.param.tax.CalculationCreateParams
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic classState/province as an ISO 3166-2 subdivision code, without country prefix, such as "NY" or "TX".Nested classes/interfaces inherited from class com.stripe.net.ApiRequestParams
ApiRequestParams.EnumParam -
Field Summary
Fields inherited from class com.stripe.net.ApiRequestParams
EXTRA_PARAMS_KEY -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanRequired. Three-letter ISO currency code, in lowercase.The ID of an existing customer to use for this calculation.Details about the customer, including address and tax IDs.Specifies which fields in the response should be expanded.Map of extra parameters for custom features not available in this client library.Required. A list of items the customer is purchasing.Details about the address from which the goods are being shipped.Shipping cost details to be used for the calculation.The calculation uses the tax rules and rates that are in effect at this timestamp.inthashCode()Methods inherited from class com.stripe.net.ApiRequestParams
paramsToMap, toMap
-
Method Details
-
builder
-
getCurrency
Required. Three-letter ISO currency code, in lowercase. Must be a supported currency. -
getCustomer
The ID of an existing customer to use for this calculation. If provided, the customer's address and tax IDs are copied tocustomer_details. -
getCustomerDetails
Details about the customer, including address and tax IDs. -
getExpand
Specifies which fields in the response should be expanded. -
getExtraParams
Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's@SerializedNamevalue. 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. -
getLineItems
Required. A list of items the customer is purchasing. -
getShipFromDetails
Details about the address from which the goods are being shipped. -
getShippingCost
Shipping cost details to be used for the calculation. -
getTaxDate
The calculation uses the tax rules and rates that are in effect at this timestamp. You can use a date up to 31 days in the past or up to 31 days in the future. If you use a future date, Stripe doesn't guarantee that the expected tax rules and rate being used match the actual rules and rate that will be in effect on that date. We deploy tax changes before their effective date, but not within a fixed window. -
equals
-
canEqual
-
hashCode
public int hashCode()
-