Package com.creditcall.chipdnamobile
Enum CardHash.Scope
- java.lang.Object
-
- java.lang.Enum<CardHash.Scope>
-
- com.creditcall.chipdnamobile.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
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ClientHash is locked to terminal on this client.MerchantHash is locked to terminal on this merchant.PaymentDeviceManufacturerHash is locked to devices by the same manufacturer.PaymentDeviceModelHash is locked to devices of the same model.PlatformHash is locked to the Creditcall Ltd platform.ProcessorHash is locked to the same processor.TerminalHash is locked to this terminal only.TerminalGroupHash is locked to this terminal group.TerritoryHash is locked to a same territory.TokenPaymentCompatibleHash can be used with CardReference to perform tokenised payments.UnknownUnknown
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CardHash.ScopevalueOf(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.
-
-
-
Enum Constant Detail
-
Unknown
public static final CardHash.Scope Unknown
Unknown
-
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 namejava.lang.NullPointerException- if the argument is null
-
-