Package com.stripe.param
Class QuoteCreateParams.Line.Action.SetItem
java.lang.Object
com.stripe.param.QuoteCreateParams.Line.Action.SetItem
- Enclosing class:
- QuoteCreateParams.Line.Action
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
QuoteCreateParams.Line.Action.SetDiscount.extraParams
for the field
documentation.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
The number of intervals, as an whole number greater than 0. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
If an item with theprice
already exists, passing this will override thediscounts
array on the subscription item that matches that price.Map of extra parameters for custom features not available in this client library.If an item with theprice
already exists, passing this will override themetadata
on the subscription item that matches that price.getPrice()
The ID of the price object.If an item with theprice
already exists, passing this will override the quantity on the subscription item that matches that price.If an item with theprice
already exists, passing this will override thetax_rates
array on the subscription item that matches that price.getTrial()
If an item with theprice
already exists, passing this will override thetrial
configuration on the subscription item that matches that price.
-
Method Details
-
builder
-
getDiscounts
If an item with theprice
already exists, passing this will override thediscounts
array on the subscription item that matches that price. Otherwise, theitems
array is cleared and a single new item is added with the supplieddiscounts
. -
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. -
getMetadata
If an item with theprice
already exists, passing this will override themetadata
on the subscription item that matches that price. Otherwise, theitems
array is cleared and a single new item is added with the suppliedmetadata
. -
getPrice
The ID of the price object. -
getQuantity
If an item with theprice
already exists, passing this will override the quantity on the subscription item that matches that price. Otherwise, theitems
array is cleared and a single new item is added with the suppliedquantity
. -
getTaxRates
If an item with theprice
already exists, passing this will override thetax_rates
array on the subscription item that matches that price. Otherwise, theitems
array is cleared and a single new item is added with the suppliedtax_rates
. -
getTrial
If an item with theprice
already exists, passing this will override thetrial
configuration on the subscription item that matches that price. Otherwise, theitems
array is cleared and a single new item is added with the suppliedtrial
.
-