Enum LoyaltyHandlingType

  • All Implemented Interfaces:
    Serializable, Comparable<LoyaltyHandlingType>

    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 Detail

      • FORBIDDEN

        public static final LoyaltyHandlingType FORBIDDEN
        No loyalty card to read and loyalty transaction to process. Any attempt to enter a pure loyalty card is rejected.
      • PROCESSED

        public static final LoyaltyHandlingType PROCESSED
        The loyalty transaction is already processed, no loyalty card or loyalty transaction to process.
      • ALLOWED

        public static final LoyaltyHandlingType ALLOWED
        The loyalty is accepted, but the POI has not to require or ask a loyalty card. The loyalty is involved by the payment card (e.g. an hybrid or linked card).
      • PROPOSED

        public static final LoyaltyHandlingType PROPOSED
        The loyalty is accepted, and the POI has to ask a loyalty card. If the Customer does not enter a loyalty card, no loyalty transaction is realised.
      • REQUIRED

        public static final LoyaltyHandlingType REQUIRED
        The loyalty is required, and the POI refuses the processing of the messageType request if the cardholder does not entre a loyalty card
    • Method Detail

      • values

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

        public static LoyaltyHandlingType 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
      • value

        public String value()
        Value string.
        Returns:
        the string
      • fromValue

        public static LoyaltyHandlingType fromValue​(String v)
        From value loyalty handling type.
        Parameters:
        v - the v
        Returns:
        the loyalty handling type