Package com.stripe.param
Class QuoteUpdateParams.Line.EndsAt.DiscountEnd.Builder
java.lang.Object
com.stripe.param.QuoteUpdateParams.Line.EndsAt.DiscountEnd.Builder
- Enclosing class:
- QuoteUpdateParams.Line.EndsAt.DiscountEnd
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finalize and obtain parameter instance from this builder.putAllExtraParam
(Map<String, Object> map) putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.setDiscount
(EmptyParam discount) Required. The ID of a specific discount.setDiscount
(String discount) Required. The ID of a specific discount.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setDiscount
Required. The ID of a specific discount. -
setDiscount
Required. The ID of a specific discount. -
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. SeeQuoteUpdateParams.Line.EndsAt.DiscountEnd.extraParams
for the field documentation. -
putAllExtraParam
-