Enum CardHash.Scope

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<CardHash.Scope>
    Enclosing class:
    CardHash

    public static enum CardHash.Scope
    extends java.lang.Enum<CardHash.Scope>
    Scope defines the set of devices that would generate this same hash for a particular card.
    Author:
    Creditcall Ltd
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static CardHash.Scope valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static CardHash.Scope[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • Terminal

        public static final CardHash.Scope Terminal
        Hash is locked to this terminal only.
      • TerminalGroup

        public static final CardHash.Scope TerminalGroup
        Hash is locked to this terminal group.
      • Merchant

        public static final CardHash.Scope Merchant
        Hash is locked to terminal on this merchant.
      • Client

        public static final CardHash.Scope Client
        Hash is locked to terminal on this client.
      • Processor

        public static final CardHash.Scope Processor
        Hash is locked to the same processor.
      • Territory

        public static final CardHash.Scope Territory
        Hash is locked to a same territory.
      • PaymentDeviceModel

        public static final CardHash.Scope PaymentDeviceModel
        Hash is locked to devices of the same model.
      • PaymentDeviceManufacturer

        public static final CardHash.Scope PaymentDeviceManufacturer
        Hash is locked to devices by the same manufacturer.
      • TokenPaymentCompatible

        public static final CardHash.Scope TokenPaymentCompatible
        Hash can be used with CardReference to perform tokenised payments.
      • Platform

        public static final CardHash.Scope Platform
        Hash is locked to the Creditcall Ltd platform.
    • Method Detail

      • values

        public static CardHash.Scope[] 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 (CardHash.Scope c : CardHash.Scope.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CardHash.Scope valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null