Package com.stripe.model
Class QuoteLine.StartsAt
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.QuoteLine.StartsAt
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- QuoteLine
The number of intervals, as an whole number greater than 0. Stripe multiplies this by the
interval type to get the overall duration.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The timestamp value that will be used to determine when to make changes to the subscription schedule, as computed from thestarts_at
field.Use theend
time of a given discount.The timestamp the given line ends at.A precise Unix timestamp.getType()
Select a way to pass instarts_at
.int
hashCode()
void
setComputed
(Long computed) The timestamp value that will be used to determine when to make changes to the subscription schedule, as computed from thestarts_at
field.void
setDiscountEnd
(QuoteLine.StartsAt.DiscountEnd discountEnd) Use theend
time of a given discount.void
setLineEndsAt
(QuoteLine.StartsAt.LineEndsAt lineEndsAt) The timestamp the given line ends at.void
setTimestamp
(Long timestamp) A precise Unix timestamp.void
Select a way to pass instarts_at
.Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
StartsAt
public StartsAt()
-
-
Method Details
-
getComputed
The timestamp value that will be used to determine when to make changes to the subscription schedule, as computed from thestarts_at
field. For example, ifstarts_at[type]=upcoming_invoice
, the upcoming invoice date will be computed at the time thestarts_at
field was specified and saved. This field will not be recomputed upon future requests to update or finalize the quote unlessstarts_at
is respecified. This field is guaranteed to be populated after quote acceptance. -
getDiscountEnd
Use theend
time of a given discount. -
getLineEndsAt
The timestamp the given line ends at. -
getTimestamp
A precise Unix timestamp. -
getType
Select a way to pass instarts_at
.One of
discount_end
,line_ends_at
,now
,quote_acceptance_date
,schedule_end
,timestamp
, orupcoming_invoice
. -
setComputed
The timestamp value that will be used to determine when to make changes to the subscription schedule, as computed from thestarts_at
field. For example, ifstarts_at[type]=upcoming_invoice
, the upcoming invoice date will be computed at the time thestarts_at
field was specified and saved. This field will not be recomputed upon future requests to update or finalize the quote unlessstarts_at
is respecified. This field is guaranteed to be populated after quote acceptance. -
setDiscountEnd
Use theend
time of a given discount. -
setLineEndsAt
The timestamp the given line ends at. -
setTimestamp
A precise Unix timestamp. -
setType
Select a way to pass instarts_at
.One of
discount_end
,line_ends_at
,now
,quote_acceptance_date
,schedule_end
,timestamp
, orupcoming_invoice
. -
equals
-
canEqual
-
hashCode
public int hashCode()
-