Package com.stripe.model
Class QuoteLine
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.QuoteLine
- All Implemented Interfaces:
HasId
,StripeObjectInterface
A quote line defines a set of changes that will be applied upon quote acceptance.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial.static class
static class
The number of intervals, as an whole number greater than 0.static class
Configures how the scheduled subscription behaves during the trial period. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
A list of items the customer is being quoted for.Details to identify the subscription schedule the quote line applies to.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.getId()
Unique identifier for the object.String representing the object's type.Changes to how Stripe handles prorations during the quote line's time span.Timestsamp helper to end the underlying schedule early, based on the acompanying line's start or end date.Details to identify the earliest timestamp where the proposed change should take effect.Settings related to subscription trials.int
hashCode()
void
setActions
(List<QuoteLine.Action> actions) A list of items the customer is being quoted for.void
setAppliesTo
(QuoteLine.AppliesTo appliesTo) Details to identify the subscription schedule the quote line applies to.void
setBillingCycleAnchor
(String 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.void
setEndsAt
(QuoteLine.EndsAt endsAt) Details to identify the end of the time range modified by the proposed change.void
Unique identifier for the object.void
String representing the object's type.void
setProrationBehavior
(String prorationBehavior) Changes to how Stripe handles prorations during the quote line's time span.void
setSetScheduleEnd
(String setScheduleEnd) Timestsamp helper to end the underlying schedule early, based on the acompanying line's start or end date.void
setStartsAt
(QuoteLine.StartsAt startsAt) Details to identify the earliest timestamp where the proposed change should take effect.void
setTrialSettings
(QuoteLine.TrialSettings trialSettings) Settings related to subscription trials.Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
QuoteLine
public QuoteLine()
-
-
Method Details
-
getActions
A list of items the customer is being quoted for. -
getAppliesTo
Details to identify the subscription schedule the quote line applies to. -
getBillingCycleAnchor
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.One of
automatic
, orline_starts_at
. -
getEndsAt
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. -
getObject
String representing the object's type. Objects of the same type share the same value.Equal to
quote_line
. -
getProrationBehavior
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.One of
always_invoice
,create_prorations
, ornone
. -
getSetScheduleEnd
Timestsamp helper to end the underlying schedule early, based on the acompanying line's start or end date.One of
line_ends_at
, orline_starts_at
. -
getStartsAt
Details to identify the earliest timestamp where the proposed change should take effect. -
getTrialSettings
Settings related to subscription trials. -
setActions
A list of items the customer is being quoted for. -
setAppliesTo
Details to identify the subscription schedule the quote line applies to. -
setBillingCycleAnchor
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.One of
automatic
, orline_starts_at
. -
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. -
setId
Unique identifier for the object. -
setObject
String representing the object's type. Objects of the same type share the same value.Equal to
quote_line
. -
setProrationBehavior
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.One of
always_invoice
,create_prorations
, ornone
. -
setSetScheduleEnd
Timestsamp helper to end the underlying schedule early, based on the acompanying line's start or end date.One of
line_ends_at
, orline_starts_at
. -
setStartsAt
Details to identify the earliest timestamp where the proposed change should take effect. -
setTrialSettings
Settings related to subscription trials. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object.
-