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
For more details about StartsAt, 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 LineEndsAt, 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 thestarts_atfield.Use theendtime of a given discount.The timestamp the given line ends at.A precise Unix timestamp.getType()Select a way to pass instarts_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 thestarts_atfield.voidsetDiscountEnd(QuoteLine.StartsAt.DiscountEnd discountEnd) Use theendtime of a given discount.voidsetLineEndsAt(QuoteLine.StartsAt.LineEndsAt lineEndsAt) The timestamp the given line ends at.voidsetTimestamp(Long timestamp) A precise Unix timestamp.voidSelect a way to pass instarts_at.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, 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_atfield. For example, ifstarts_at[type]=upcoming_invoice, the upcoming invoice date will be computed at the time thestarts_atfield was specified and saved. This field will not be recomputed upon future requests to update or finalize the quote unlessstarts_atis respecified. This field is guaranteed to be populated after quote acceptance. -
getDiscountEnd
Use theendtime 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_atfield. For example, ifstarts_at[type]=upcoming_invoice, the upcoming invoice date will be computed at the time thestarts_atfield was specified and saved. This field will not be recomputed upon future requests to update or finalize the quote unlessstarts_atis respecified. This field is guaranteed to be populated after quote acceptance. -
setDiscountEnd
Use theendtime 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()
-