Package com.stripe.param
Class PaymentLinkCreateParams.OptionalItem.AdjustableQuantity.Builder
java.lang.Object
com.stripe.param.PaymentLinkCreateParams.OptionalItem.AdjustableQuantity.Builder
- Enclosing class:
- PaymentLinkCreateParams.OptionalItem.AdjustableQuantity
-
Constructor Summary
Constructors -
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 of this item 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.OptionalItem.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.OptionalItem.AdjustableQuantity.extraParams
for the field documentation. -
putAllExtraParam
public PaymentLinkCreateParams.OptionalItem.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.OptionalItem.AdjustableQuantity.extraParams
for the field documentation. -
setMaximum
The maximum quantity of this item the customer can purchase. By default this value is 99. -
setMinimum
-