Class QuoteLine.EndsAt

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

public static class QuoteLine.EndsAt extends StripeObject
  • Constructor Details

    • EndsAt

      public EndsAt()
  • 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 ends_at field. For example, if ends_at[type]=upcoming_invoice, the upcoming invoice date will be computed at the time the ends_at field was specified and saved. This field will not be recomputed upon future requests to update or finalize the quote unless ends_at is respecified. This field is guaranteed to be populated after quote acceptance.
    • getDiscountEnd

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

      public QuoteLine.EndsAt.Duration getDuration()
      Time span for the quote line starting from the starts_at date.
    • getTimestamp

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

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

      One of discount_end, duration, 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 ends_at field. For example, if ends_at[type]=upcoming_invoice, the upcoming invoice date will be computed at the time the ends_at field was specified and saved. This field will not be recomputed upon future requests to update or finalize the quote unless ends_at is respecified. This field is guaranteed to be populated after quote acceptance.
    • setDiscountEnd

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

      public void setDuration(QuoteLine.EndsAt.Duration duration)
      Time span for the quote line starting from the starts_at date.
    • setTimestamp

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

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

      One of discount_end, duration, 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