Enum PKPassType

java.lang.Object
java.lang.Enum<PKPassType>
de.brendamour.jpasskit.enums.PKPassType
All Implemented Interfaces:
Serializable, Comparable<PKPassType>, java.lang.constant.Constable

public enum PKPassType extends Enum<PKPassType>
  • Enum Constant Details

    • PKGenericPass

      public static final PKPassType PKGenericPass
    • PKBoardingPass

      public static final PKPassType PKBoardingPass
    • PKCoupon

      public static final PKPassType PKCoupon
    • PKEventTicket

      public static final PKPassType PKEventTicket
    • PKStoreCard

      public static final PKPassType PKStoreCard
  • Method Details

    • values

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

      public static PKPassType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null