Package com.stripe.param.checkout
Class SessionCreateParams.OptionalItem
java.lang.Object
com.stripe.param.checkout.SessionCreateParams.OptionalItem
- Enclosing class:
- SessionCreateParams
The number of intervals between subscription billings. For example,
interval=month
and interval_count=3
bills every 3 months. Maximum of three
years interval allowed (3 years, 36 months, or 156 weeks).-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
When set, provides configuration for the customer to adjust the quantity of the line item created when a customer chooses to add this optional item to their order.Map of extra parameters for custom features not available in this client library.getPrice()
Required. The initial quantity of the line item created when a customer chooses to add this optional item to their order.int
hashCode()
-
Method Details
-
builder
-
getAdjustableQuantity
When set, provides configuration for the customer to adjust the quantity of the line item created when a customer chooses to add this optional item to their order. -
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. -
getPrice
-
getQuantity
Required. The initial quantity of the line item created when a customer chooses to add this optional item to their order. -
equals
-
canEqual
-
hashCode
public int hashCode()
-