Package com.stripe.param
Class QuoteUpdateParams.Line.StartsAt.Builder
java.lang.Object
com.stripe.param.QuoteUpdateParams.Line.StartsAt.Builder
- Enclosing class:
- QuoteUpdateParams.Line.StartsAt
-
Constructor Summary
Constructors -
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.Use theend
time of a given discount.The timestamp the given line ends at.setTimestamp
(Long timestamp) A precise Unix timestamp.Required. Select a way to pass instarts_at
.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setDiscountEnd
public QuoteUpdateParams.Line.StartsAt.Builder setDiscountEnd(QuoteUpdateParams.Line.StartsAt.DiscountEnd discountEnd) Use theend
time of a given 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.StartsAt.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. SeeQuoteUpdateParams.Line.StartsAt.extraParams
for the field documentation. -
setLineEndsAt
public QuoteUpdateParams.Line.StartsAt.Builder setLineEndsAt(QuoteUpdateParams.Line.StartsAt.LineEndsAt lineEndsAt) The timestamp the given line ends at. -
setTimestamp
A precise Unix timestamp. -
setType
Required. Select a way to pass instarts_at
.
-