Enum Class SubscriptionCreateParams.CancelAt

java.lang.Object
java.lang.Enum<SubscriptionCreateParams.CancelAt>
com.stripe.param.SubscriptionCreateParams.CancelAt
All Implemented Interfaces:
ApiRequestParams.EnumParam, Serializable, Comparable<SubscriptionCreateParams.CancelAt>, Constable
Enclosing class:
SubscriptionCreateParams

public static enum SubscriptionCreateParams.CancelAt extends Enum<SubscriptionCreateParams.CancelAt> implements ApiRequestParams.EnumParam
Required. Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
  • Enum Constant Details

  • Method Details

    • values

      public static SubscriptionCreateParams.CancelAt[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SubscriptionCreateParams.CancelAt valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public String getValue()
      Specified by:
      getValue in interface ApiRequestParams.EnumParam