Enum Class ExpirationIntent

java.lang.Object
java.lang.Enum<ExpirationIntent>
com.apple.itunes.storekit.model.ExpirationIntent
All Implemented Interfaces:
Serializable, Comparable<ExpirationIntent>, Constable

public enum ExpirationIntent extends Enum<ExpirationIntent>
The reason an auto-renewable subscription expired.
See Also:
  • Enum Constant Details

    • CUSTOMER_CANCELLED

      public static final ExpirationIntent CUSTOMER_CANCELLED
    • BILLING_ERROR

      public static final ExpirationIntent BILLING_ERROR
    • PRODUCT_NOT_AVAILABLE

      public static final ExpirationIntent PRODUCT_NOT_AVAILABLE
    • OTHER

      public static final ExpirationIntent OTHER
  • Method Details

    • values

      public static ExpirationIntent[] 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 ExpirationIntent 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
    • fromValue

      public static ExpirationIntent fromValue(Integer value)
    • getValue

      public Integer getValue()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<ExpirationIntent>