Package com.stripe.param.checkout
Class SessionCreateParams.LineItem.AdjustableQuantity
- java.lang.Object
-
- com.stripe.param.checkout.SessionCreateParams.LineItem.AdjustableQuantity
-
- Enclosing class:
- SessionCreateParams.LineItem
public static class SessionCreateParams.LineItem.AdjustableQuantity extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SessionCreateParams.LineItem.AdjustableQuantity.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SessionCreateParams.LineItem.AdjustableQuantity.Builder
builder()
java.lang.Boolean
getEnabled()
Set to true if the quantity can be adjusted to any non-negative integer.java.util.Map<java.lang.String,java.lang.Object>
getExtraParams()
Map of extra parameters for custom features not available in this client library.java.lang.Long
getMaximum()
The maximum quantity the customer can purchase for the Checkout Session.java.lang.Long
getMinimum()
The minimum quantity the customer must purchase for the Checkout Session.
-
-
-
Method Detail
-
builder
public static SessionCreateParams.LineItem.AdjustableQuantity.Builder builder()
-
getEnabled
public java.lang.Boolean getEnabled()
Set to true if the quantity can be adjusted to any non-negative integer. By default customers will be able to remove the line item by setting the quantity to 0.
-
getExtraParams
public java.util.Map<java.lang.String,java.lang.Object> 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.
-
getMaximum
public java.lang.Long getMaximum()
The maximum quantity the customer can purchase for the Checkout Session. By default this value is 99. You can specify a value up to 999.
-
getMinimum
public java.lang.Long getMinimum()
The minimum quantity the customer must purchase for the Checkout Session. By default this value is 0.
-
-