public enum LoyaltyUnitEnumeration extends Enum<LoyaltyUnitEnumeration>
Java class for LoyaltyUnitEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="LoyaltyUnitEnumeration">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="Point"/>
<enumeration value="Monetary"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
MONETARY
The amount is expressed in a monetary value in a currency.
|
POINT
The amount is expressed in point.
|
| Modifier and Type | Method and Description |
|---|---|
static LoyaltyUnitEnumeration |
fromValue(String v) |
String |
value() |
static LoyaltyUnitEnumeration |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LoyaltyUnitEnumeration[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoyaltyUnitEnumeration POINT
public static final LoyaltyUnitEnumeration MONETARY
public static LoyaltyUnitEnumeration[] values()
for (LoyaltyUnitEnumeration c : LoyaltyUnitEnumeration.values()) System.out.println(c);
public static LoyaltyUnitEnumeration 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 LoyaltyUnitEnumeration fromValue(String v)
Copyright © 2018. All rights reserved.