Package com.stripe.model
Class QuoteLine.EndsAt
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.QuoteLine.EndsAt
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- QuoteLine
For more details about EndsAt, please refer to the API
Reference.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
For more details about DiscountEnd, please refer to the API Reference.static class
For more details about Duration, please refer to the API Reference. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
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 theends_at
field.Use theend
time of a given discount.Time span for the quote line starting from thestarts_at
date.A precise Unix timestamp.getType()
Select a way to pass inends_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 theends_at
field.void
setDiscountEnd
(QuoteLine.EndsAt.DiscountEnd discountEnd) Use theend
time of a given discount.void
setDuration
(QuoteLine.EndsAt.Duration duration) Time span for the quote line starting from thestarts_at
date.void
setTimestamp
(Long timestamp) A precise Unix timestamp.void
Select a way to pass inends_at
.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
EndsAt
public EndsAt()
-
-
Method Details
-
getComputed
The timestamp value that will be used to determine when to make changes to the subscription schedule, as computed from theends_at
field. For example, ifends_at[type]=upcoming_invoice
, the upcoming invoice date will be computed at the time theends_at
field was specified and saved. This field will not be recomputed upon future requests to update or finalize the quote unlessends_at
is respecified. This field is guaranteed to be populated after quote acceptance. -
getDiscountEnd
Use theend
time of a given discount. -
getDuration
Time span for the quote line starting from thestarts_at
date. -
getTimestamp
A precise Unix timestamp. -
getType
Select a way to pass inends_at
.One of
billing_period_end
,discount_end
,duration
,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 theends_at
field. For example, ifends_at[type]=upcoming_invoice
, the upcoming invoice date will be computed at the time theends_at
field was specified and saved. This field will not be recomputed upon future requests to update or finalize the quote unlessends_at
is respecified. This field is guaranteed to be populated after quote acceptance. -
setDiscountEnd
Use theend
time of a given discount. -
setDuration
Time span for the quote line starting from thestarts_at
date. -
setTimestamp
A precise Unix timestamp. -
setType
Select a way to pass inends_at
.One of
billing_period_end
,discount_end
,duration
,quote_acceptance_date
,schedule_end
,timestamp
, orupcoming_invoice
. -
equals
-
canEqual
-
hashCode
public int hashCode()
-