Class Session.Flow.SubscriptionCancel

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.billingportal.Session.Flow.SubscriptionCancel
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
Session.Flow

public static class Session.Flow.SubscriptionCancel extends StripeObject
The URL the customer will be redirected to after the flow is completed.
  • Constructor Details

    • SubscriptionCancel

      public SubscriptionCancel()
  • Method Details

    • getRetention

      Specify a retention strategy to be used in the cancellation flow.
    • getSubscription

      public String getSubscription()
      The ID of the subscription to be canceled.
    • setRetention

      public void setRetention(Session.Flow.SubscriptionCancel.Retention retention)
      Specify a retention strategy to be used in the cancellation flow.
    • setSubscription

      public void setSubscription(String subscription)
      The ID of the subscription to be canceled.
    • 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