Package com.stripe.param
Class QuoteCreateParams.Line.EndsAt.Builder
java.lang.Object
com.stripe.param.QuoteCreateParams.Line.EndsAt.Builder
- Enclosing class:
- QuoteCreateParams.Line.EndsAt
-
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.setDiscountEnd
(QuoteCreateParams.Line.EndsAt.DiscountEnd discountEnd) Use theend
time of a given discount.Time span for the quote line starting from thestarts_at
date.setTimestamp
(Long timestamp) A precise Unix timestamp.Select a way to pass inends_at
.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setDiscountEnd
public QuoteCreateParams.Line.EndsAt.Builder setDiscountEnd(QuoteCreateParams.Line.EndsAt.DiscountEnd discountEnd) Use theend
time of a given discount. -
setDuration
public QuoteCreateParams.Line.EndsAt.Builder setDuration(QuoteCreateParams.Line.EndsAt.Duration duration) Time span for the quote line starting from thestarts_at
date. -
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. SeeQuoteCreateParams.Line.EndsAt.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. SeeQuoteCreateParams.Line.EndsAt.extraParams
for the field documentation. -
setTimestamp
A precise Unix timestamp. -
setType
Select a way to pass inends_at
.
-