Class Configuration.Features.SubscriptionCancel.CancellationReason

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.billingportal.Configuration.Features.SubscriptionCancel.CancellationReason
All Implemented Interfaces:
StripeActiveObject, StripeObjectInterface
Enclosing class:
Configuration.Features.SubscriptionCancel

public static class Configuration.Features.SubscriptionCancel.CancellationReason extends StripeObject implements StripeActiveObject
For more details about CancellationReason, please refer to the API Reference.
  • Constructor Details

    • CancellationReason

      public CancellationReason()
  • Method Details

    • getFeedbackOptions

      public List<String> getFeedbackOptions()
      Get IDs of expandable feedbackOptions object list.
    • setFeedbackOptions

      public void setFeedbackOptions(List<String> ids)
    • getFeedbackOptionObjects

      public List<FeedbackOption> getFeedbackOptionObjects()
      Get expanded feedbackOptions.
    • setFeedbackOptionObjects

      public void setFeedbackOptionObjects(List<FeedbackOption> objs)
    • setResponseGetter

      public void setResponseGetter(StripeResponseGetter responseGetter)
      Description copied from interface: StripeActiveObject
      Method is used by the containing object or StripeResponseGetter implementations to set the StripeResponseGetter instance used to make further requests.
      Specified by:
      setResponseGetter in interface StripeActiveObject
      Parameters:
      responseGetter - the StripeResponseGetter instance to use for making further requests.
    • getEnabled

      public Boolean getEnabled()
      Whether the feature is enabled.
    • getOptions

      public List<String> getOptions()
      Which cancellation reasons will be given as options to the customer.
    • setEnabled

      public void setEnabled(Boolean enabled)
      Whether the feature is enabled.
    • setOptions

      public void setOptions(List<String> options)
      Which cancellation reasons will be given as options to the customer.
    • 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