Package com.stripe.param
Class PaymentLinkUpdateParams.LineItem.Builder
- java.lang.Object
-
- com.stripe.param.PaymentLinkUpdateParams.LineItem.Builder
-
- Enclosing class:
- PaymentLinkUpdateParams.LineItem
public static class PaymentLinkUpdateParams.LineItem.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PaymentLinkUpdateParams.LineItem
build()
Finalize and obtain parameter instance from this builder.PaymentLinkUpdateParams.LineItem.Builder
putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
Add all map key/value pairs to `extraParams` map.PaymentLinkUpdateParams.LineItem.Builder
putExtraParam(java.lang.String key, java.lang.Object value)
Add a key/value pair to `extraParams` map.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.PaymentLinkUpdateParams.LineItem.Builder
setId(EmptyParam id)
The ID of an existing line item on the payment link.PaymentLinkUpdateParams.LineItem.Builder
setId(java.lang.String id)
The ID of an existing line item on the payment link.PaymentLinkUpdateParams.LineItem.Builder
setQuantity(java.lang.Long quantity)
The quantity of the line item being purchased.
-
-
-
Method Detail
-
build
public PaymentLinkUpdateParams.LineItem 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
public PaymentLinkUpdateParams.LineItem.Builder putExtraParam(java.lang.String key, java.lang.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.extraParams
for the field documentation.
-
putAllExtraParam
public PaymentLinkUpdateParams.LineItem.Builder putAllExtraParam(java.util.Map<java.lang.String,java.lang.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.extraParams
for the field documentation.
-
setId
public PaymentLinkUpdateParams.LineItem.Builder setId(java.lang.String id)
The ID of an existing line item on the payment link.
-
setId
public PaymentLinkUpdateParams.LineItem.Builder setId(EmptyParam id)
The ID of an existing line item on the payment link.
-
setQuantity
public PaymentLinkUpdateParams.LineItem.Builder setQuantity(java.lang.Long quantity)
The quantity of the line item being purchased.
-
-