Package com.stripe.param
Class QuoteCreateParams.Line.Builder
java.lang.Object
com.stripe.param.QuoteCreateParams.Line.Builder
- Enclosing class:
- QuoteCreateParams.Line
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddAction
(QuoteCreateParams.Line.Action element) Add an element to `actions` list.addAllAction
(List<QuoteCreateParams.Line.Action> elements) Add all elements to `actions` list.build()
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.setAppliesTo
(QuoteCreateParams.Line.AppliesTo appliesTo) Details to identify the subscription schedule the quote line applies to.setBillingCycleAnchor
(QuoteCreateParams.Line.BillingCycleAnchor billingCycleAnchor) For a point-in-time operation, this attribute lets you set or update whether the subscription's billing cycle anchor is reset at thestarts_at
timestamp.Details to identify the end of the time range modified by the proposed change.setProrationBehavior
(QuoteCreateParams.Line.ProrationBehavior prorationBehavior) Changes to how Stripe handles prorations during the quote line's time span.setSetScheduleEnd
(QuoteCreateParams.Line.SetScheduleEnd setScheduleEnd) Timestsamp helper to end the underlying schedule early, based on the acompanying line's start or end date.setStartsAt
(QuoteCreateParams.Line.StartsAt startsAt) Details to identify the earliest timestamp where the proposed change should take effect.setTrialSettings
(QuoteCreateParams.Line.TrialSettings trialSettings) Settings related to subscription trials.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
addAction
Add an element to `actions` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeQuoteCreateParams.Line.actions
for the field documentation. -
addAllAction
Add all elements to `actions` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeQuoteCreateParams.Line.actions
for the field documentation. -
setAppliesTo
Details to identify the subscription schedule the quote line applies to. -
setBillingCycleAnchor
public QuoteCreateParams.Line.Builder setBillingCycleAnchor(QuoteCreateParams.Line.BillingCycleAnchor billingCycleAnchor) For a point-in-time operation, this attribute lets you set or update whether the subscription's billing cycle anchor is reset at thestarts_at
timestamp. -
setEndsAt
Details to identify the end of the time range modified by the proposed change. If not supplied, the quote line is considered a point-in-time operation that only affects the exact timestamp atstarts_at
, and a restricted set of attributes is supported on the quote line. -
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.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.extraParams
for the field documentation. -
setProrationBehavior
public QuoteCreateParams.Line.Builder setProrationBehavior(QuoteCreateParams.Line.ProrationBehavior prorationBehavior) Changes to how Stripe handles prorations during the quote line's time span. Affects if and how prorations are created when a future phase starts. -
setSetScheduleEnd
public QuoteCreateParams.Line.Builder setSetScheduleEnd(QuoteCreateParams.Line.SetScheduleEnd setScheduleEnd) Timestsamp helper to end the underlying schedule early, based on the acompanying line's start or end date. -
setStartsAt
Details to identify the earliest timestamp where the proposed change should take effect. -
setTrialSettings
public QuoteCreateParams.Line.Builder setTrialSettings(QuoteCreateParams.Line.TrialSettings trialSettings) Settings related to subscription trials.
-