Class Subscription.CancellationDetails

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Subscription.CancellationDetails
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
Subscription

public static class Subscription.CancellationDetails extends StripeObject
  • Constructor Details

    • CancellationDetails

      public CancellationDetails()
  • Method Details

    • getComment

      public String getComment()
      Additional comments about why the user canceled the subscription, if the subscription was canceled explicitly by the user.
    • getFeedback

      public String getFeedback()
      The customer submitted reason for why they canceled, if the subscription was canceled explicitly by the user.

      One of customer_service, low_quality, missing_features, other, switched_service, too_complex, too_expensive, or unused.

    • getReason

      public String getReason()
      Why this subscription was canceled.

      One of cancellation_requested, payment_disputed, or payment_failed.

    • setComment

      public void setComment(String comment)
      Additional comments about why the user canceled the subscription, if the subscription was canceled explicitly by the user.
    • setFeedback

      public void setFeedback(String feedback)
      The customer submitted reason for why they canceled, if the subscription was canceled explicitly by the user.

      One of customer_service, low_quality, missing_features, other, switched_service, too_complex, too_expensive, or unused.

    • setReason

      public void setReason(String reason)
      Why this subscription was canceled.

      One of cancellation_requested, payment_disputed, or payment_failed.

    • 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