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 classFor more details about DiscountEnd, please refer to the API Reference.static classFor 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 booleanbooleanThe timestamp value that will be used to determine when to make changes to the subscription schedule, as computed from theends_atfield.Use theendtime of a given discount.Time span for the quote line starting from thestarts_atdate.A precise Unix timestamp.getType()Select a way to pass inends_at.inthashCode()voidsetComputed(Long computed) The timestamp value that will be used to determine when to make changes to the subscription schedule, as computed from theends_atfield.voidsetDiscountEnd(QuoteLine.EndsAt.DiscountEnd discountEnd) Use theendtime of a given discount.voidsetDuration(QuoteLine.EndsAt.Duration duration) Time span for the quote line starting from thestarts_atdate.voidsetTimestamp(Long timestamp) A precise Unix timestamp.voidSelect 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_atfield. For example, ifends_at[type]=upcoming_invoice, the upcoming invoice date will be computed at the time theends_atfield was specified and saved. This field will not be recomputed upon future requests to update or finalize the quote unlessends_atis respecified. This field is guaranteed to be populated after quote acceptance. -
getDiscountEnd
Use theendtime of a given discount. -
getDuration
Time span for the quote line starting from thestarts_atdate. -
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_atfield. For example, ifends_at[type]=upcoming_invoice, the upcoming invoice date will be computed at the time theends_atfield was specified and saved. This field will not be recomputed upon future requests to update or finalize the quote unlessends_atis respecified. This field is guaranteed to be populated after quote acceptance. -
setDiscountEnd
Use theendtime of a given discount. -
setDuration
Time span for the quote line starting from thestarts_atdate. -
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()
-