Enum LoyaltyFunctionType

  • All Implemented Interfaces:
    Serializable, Comparable<LoyaltyFunctionType>

    public enum LoyaltyFunctionType
    extends Enum<LoyaltyFunctionType>

    Defines what kind of loyalty mode will be used.

    The are different modes that can be used with the LoyaltyData function.

    The following values are valid:

    Specification: valueAddedServices.

    • Enum Constant Detail

      • INIT

        public static final LoyaltyFunctionType INIT

        Loyalty initialization

        Specification: valueAddedServices.

      • UPDATE

        public static final LoyaltyFunctionType UPDATE

        Loyalty data update

        Specification: valueAddedServices.

      • DEINIT

        public static final LoyaltyFunctionType DEINIT

        Loyalty deinitialization

        Specification: valueAddedServices.

      • QUERY

        public static final LoyaltyFunctionType QUERY

        Loyalty query

        Specification: valueAddedServices.

    • Method Detail

      • values

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

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