Package com.stripe.param
Class PaymentLinkUpdateParams.LineItem.Builder
java.lang.Object
com.stripe.param.PaymentLinkUpdateParams.LineItem.Builder
- Enclosing class:
- PaymentLinkUpdateParams.LineItem
-
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.setAdjustableQuantity
(PaymentLinkUpdateParams.LineItem.AdjustableQuantity adjustableQuantity) When set, provides configuration for this item’s quantity to be adjusted by the customer during checkout.setId
(EmptyParam id) Required. The ID of an existing line item on the payment link.Required. The ID of an existing line item on the payment link.setQuantity
(Long quantity) The quantity of the line item being purchased.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAdjustableQuantity
public PaymentLinkUpdateParams.LineItem.Builder setAdjustableQuantity(PaymentLinkUpdateParams.LineItem.AdjustableQuantity adjustableQuantity) When set, provides configuration for this item’s quantity to be adjusted by the customer during checkout. -
putExtraParam
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.extraParams
for the field documentation. -
putAllExtraParam
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.extraParams
for the field documentation. -
setId
Required. The ID of an existing line item on the payment link. -
setId
Required. The ID of an existing line item on the payment link. -
setQuantity
The quantity of the line item being purchased.
-