Class QuoteLine.StartsAt

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.QuoteLine.StartsAt
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
QuoteLine

public static class QuoteLine.StartsAt extends StripeObject
The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
  • Constructor Details

    • StartsAt

      public StartsAt()
  • Method Details

    • getComputed

      public Long getComputed()
      The timestamp value that will be used to determine when to make changes to the subscription schedule, as computed from the starts_at field. For example, if starts_at[type]=upcoming_invoice, the upcoming invoice date will be computed at the time the starts_at field was specified and saved. This field will not be recomputed upon future requests to update or finalize the quote unless starts_at is respecified. This field is guaranteed to be populated after quote acceptance.
    • getDiscountEnd

      public QuoteLine.StartsAt.DiscountEnd getDiscountEnd()
      Use the end time of a given discount.
    • getLineEndsAt

      public QuoteLine.StartsAt.LineEndsAt getLineEndsAt()
      The timestamp the given line ends at.
    • getTimestamp

      public Long getTimestamp()
      A precise Unix timestamp.
    • getType

      public String getType()
      Select a way to pass in starts_at.

      One of discount_end, line_ends_at, now, quote_acceptance_date, schedule_end, timestamp, or upcoming_invoice.

    • setComputed

      public void setComputed(Long computed)
      The timestamp value that will be used to determine when to make changes to the subscription schedule, as computed from the starts_at field. For example, if starts_at[type]=upcoming_invoice, the upcoming invoice date will be computed at the time the starts_at field was specified and saved. This field will not be recomputed upon future requests to update or finalize the quote unless starts_at is respecified. This field is guaranteed to be populated after quote acceptance.
    • setDiscountEnd

      public void setDiscountEnd(QuoteLine.StartsAt.DiscountEnd discountEnd)
      Use the end time of a given discount.
    • setLineEndsAt

      public void setLineEndsAt(QuoteLine.StartsAt.LineEndsAt lineEndsAt)
      The timestamp the given line ends at.
    • setTimestamp

      public void setTimestamp(Long timestamp)
      A precise Unix timestamp.
    • setType

      public void setType(String type)
      Select a way to pass in starts_at.

      One of discount_end, line_ends_at, now, quote_acceptance_date, schedule_end, timestamp, or upcoming_invoice.

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object