Package com.stripe.param
Class PaymentLinkCreateParams.LineItem.AdjustableQuantity.Builder
java.lang.Object
com.stripe.param.PaymentLinkCreateParams.LineItem.AdjustableQuantity.Builder
- Enclosing class:
- PaymentLinkCreateParams.LineItem.AdjustableQuantity
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finalize and obtain parameter instance from this builder.putAllExtraParam
(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.setEnabled
(Boolean enabled) Required. Set to true if the quantity can be adjusted to any non-negative Integer.setMaximum
(Long maximum) The maximum quantity the customer can purchase.setMinimum
(Long minimum)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setEnabled
Required. Set to true if the quantity can be adjusted to any non-negative Integer. -
putExtraParam
public PaymentLinkCreateParams.LineItem.AdjustableQuantity.Builder putExtraParam(String key, Object value) Add a key/value pair 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. SeePaymentLinkCreateParams.LineItem.AdjustableQuantity.extraParams
for the field documentation. -
putAllExtraParam
public PaymentLinkCreateParams.LineItem.AdjustableQuantity.Builder putAllExtraParam(Map<String, Object> map) 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. SeePaymentLinkCreateParams.LineItem.AdjustableQuantity.extraParams
for the field documentation. -
setMaximum
The maximum quantity the customer can purchase. By default this value is 99. You can specify a value up to 999. -
setMinimum
-