Class QuoteCreateParams.Line.CancelSubscriptionSchedule

java.lang.Object
com.stripe.param.QuoteCreateParams.Line.CancelSubscriptionSchedule
Enclosing class:
QuoteCreateParams.Line

public static class QuoteCreateParams.Line.CancelSubscriptionSchedule extends Object
  • Method Details

    • builder

    • getCancelAt

      Required. Timestamp helper to cancel the underlying schedule on the accompanying line's start date. Must be set to line_starts_at.
    • getExtraParams

      public Map<String,Object> getExtraParams()
      Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's @SerializedName value. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance.
    • 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.
    • 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