Package com.stripe.param
Class PaymentLinkUpdateParams.LineItem.AdjustableQuantity.Builder
java.lang.Object
com.stripe.param.PaymentLinkUpdateParams.LineItem.AdjustableQuantity.Builder
- Enclosing class:
- PaymentLinkUpdateParams.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 PaymentLinkUpdateParams.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. SeePaymentLinkUpdateParams.LineItem.AdjustableQuantity.extraParams
for the field documentation. -
putAllExtraParam
public PaymentLinkUpdateParams.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. SeePaymentLinkUpdateParams.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
-