public enum LoyaltyHandlingType extends Enum<LoyaltyHandlingType>
Java class for LoyaltyHandlingType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="LoyaltyHandlingType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="Forbidden"/>
<enumeration value="Processed"/>
<enumeration value="Allowed"/>
<enumeration value="Proposed"/>
<enumeration value="Required"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ALLOWED
The loyalty is accepted, but the POI has not to require or ask a loyalty card.
|
FORBIDDEN
No loyalty card to read and loyalty transaction to process.
|
PROCESSED
The loyalty transaction is already processed, no loyalty card or loyalty transaction to process.
|
PROPOSED
The loyalty is accepted, and the POI has to ask a loyalty card.
|
REQUIRED
The loyalty is required, and the POI refuses the processing of the messageType request if the cardholder does not entre a loyalty card
|
| Modifier and Type | Method and Description |
|---|---|
static LoyaltyHandlingType |
fromValue(String v)
From value loyalty handling type.
|
String |
value()
Value string.
|
static LoyaltyHandlingType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LoyaltyHandlingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoyaltyHandlingType FORBIDDEN
public static final LoyaltyHandlingType PROCESSED
public static final LoyaltyHandlingType ALLOWED
public static final LoyaltyHandlingType PROPOSED
public static final LoyaltyHandlingType REQUIRED
public static LoyaltyHandlingType[] values()
for (LoyaltyHandlingType c : LoyaltyHandlingType.values()) System.out.println(c);
public static LoyaltyHandlingType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static LoyaltyHandlingType fromValue(String v)
v - the vCopyright © 2022. All rights reserved.