Enum Class AccountTenure

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

public enum AccountTenure extends Enum<AccountTenure>
The age of the customer’s account.
See Also:
  • Enum Constant Details

    • UNDECLARED

      public static final AccountTenure UNDECLARED
    • ZERO_TO_THREE_DAYS

      public static final AccountTenure ZERO_TO_THREE_DAYS
    • THREE_DAYS_TO_TEN_DAYS

      public static final AccountTenure THREE_DAYS_TO_TEN_DAYS
    • TEN_DAYS_TO_THIRTY_DAYS

      public static final AccountTenure TEN_DAYS_TO_THIRTY_DAYS
    • THIRTY_DAYS_TO_NINETY_DAYS

      public static final AccountTenure THIRTY_DAYS_TO_NINETY_DAYS
    • NINETY_DAYS_TO_ONE_HUNDRED_EIGHTY_DAYS

      public static final AccountTenure NINETY_DAYS_TO_ONE_HUNDRED_EIGHTY_DAYS
    • ONE_HUNDRED_EIGHTY_DAYS_TO_THREE_HUNDRED_SIXTY_FIVE_DAYS

      public static final AccountTenure ONE_HUNDRED_EIGHTY_DAYS_TO_THREE_HUNDRED_SIXTY_FIVE_DAYS
    • GREATER_THAN_THREE_HUNDRED_SIXTY_FIVE_DAYS

      public static final AccountTenure GREATER_THAN_THREE_HUNDRED_SIXTY_FIVE_DAYS
  • Method Details

    • values

      public static AccountTenure[] 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 AccountTenure 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 AccountTenure fromValue(Integer value)
    • getValue

      public Integer getValue()