Class QuoteLine.CancelSubscriptionSchedule

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

public static class QuoteLine.CancelSubscriptionSchedule extends StripeObject
Configures the immediate cancellation settings for a subscription schedule via quotes.
  • Constructor Details

    • CancelSubscriptionSchedule

      public CancelSubscriptionSchedule()
  • Method Details

    • getCancelAt

      public String getCancelAt()
      Timestamp helper to cancel the underlying schedule on the accompanying line's start date. Must be set to line_starts_at.

      Equal to line_starts_at.

    • getInvoiceNow

      public Boolean getInvoiceNow()
      If the subscription schedule is active, indicates if a final invoice will be generated that contains any un-invoiced metered usage and new/pending proration invoice items. Boolean that defaults to true.
    • getProrate

      public Boolean getProrate()
      If the subscription schedule is active, indicates if the cancellation should be prorated. Boolean that defaults to true.
    • setCancelAt

      public void setCancelAt(String cancelAt)
      Timestamp helper to cancel the underlying schedule on the accompanying line's start date. Must be set to line_starts_at.

      Equal to line_starts_at.

    • setInvoiceNow

      public void setInvoiceNow(Boolean invoiceNow)
      If the subscription schedule is active, indicates if a final invoice will be generated that contains any un-invoiced metered usage and new/pending proration invoice items. Boolean that defaults to true.
    • setProrate

      public void setProrate(Boolean prorate)
      If the subscription schedule is active, indicates if the cancellation should be prorated. Boolean that defaults to true.
    • 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