Enum TokenPanType

  • All Implemented Interfaces:
    Serializable, Comparable<TokenPanType>

    public enum TokenPanType
    extends Enum<TokenPanType>

    To differ the source of a token PAN, the TokenPanType field is used in a SIXml request message as part of the sixml:TransactionData container and in a SIXml response message as part of the sixml:CardData container.

    The TokenPanType field always is transmitted if a TokenPan field is transmitted but must not be transmitted alone.

    Specification: retail.

    • Enum Constant Detail

      • GTS

        public static final TokenPanType GTS

        Worldline Global Tokenization Service.

        Specification: retail.

      • BNR2

        public static final TokenPanType BNR2

        SIX BNR2.

        Specification: retail.

      • OTHER

        public static final TokenPanType OTHER

        Other.

        Specification: retail.

    • Method Detail

      • values

        public static TokenPanType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (TokenPanType c : TokenPanType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static TokenPanType 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