Package com.stripe.param
Class OrderUpdateParams.LineItem.PriceData
java.lang.Object
com.stripe.param.OrderUpdateParams.LineItem.PriceData
- Enclosing class:
- OrderUpdateParams.LineItem
Add all map key/value pairs to `extraParams` map. A map is initialized for the first
`put/putAll` call, and subsequent calls add additional key/value pairs to the original
map. See
OrderUpdateParams.LineItem.Discount.extraParams
for the field
documentation.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static enum
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Three-letter ISO currency code, in lowercase.Map of extra parameters for custom features not available in this client library.ID of the product this price belongs to.Only required if a default tax behavior was not provided in the Stripe Tax settings.A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.Same asunit_amount
, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places.
-
Method Details
-
builder
-
getCurrency
Three-letter ISO currency code, in lowercase. Must be a supported currency. -
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. -
getProduct
ID of the product this price belongs to.Use this to implement a variable-pricing model in your integration. This is required if
product_data
is not specifed. -
getTaxBehavior
Only required if a default tax behavior was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One ofinclusive
,exclusive
, orunspecified
. Once specified as eitherinclusive
orexclusive
, it cannot be changed. -
getUnitAmount
A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge. -
getUnitAmountDecimal
Same asunit_amount
, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one ofunit_amount
andunit_amount_decimal
can be set.
-