public enum RateType extends Enum<RateType>
| Enum Constant and Description |
|---|
FIXEDAMOUNT |
MULTIPLE |
RATEPERUNIT |
| Modifier and Type | Method and Description |
|---|---|
static RateType |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static RateType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RateType FIXEDAMOUNT
public static final RateType MULTIPLE
public static final RateType RATEPERUNIT
public static RateType[] values()
for (RateType c : RateType.values()) System.out.println(c);
public static RateType 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 getValue()
Copyright © 2020. All rights reserved.