Package com.stripe.param.tax
Class CalculationCreateParams
java.lang.Object
com.stripe.net.ApiRequestParams
com.stripe.param.tax.CalculationCreateParams
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
State/province as an ISO 3166-2 subdivision code, without country prefix.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()
Required. 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.Timestamp of date at which the tax rules and rates in effect applies for the calculation.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@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. -
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
Timestamp of date at which the tax rules and rates in effect applies for the calculation. Measured in seconds since the Unix epoch. Can be up to 48 hours in the past, and up to 48 hours in the future.
-