public static enum RentFlatRatePer.Option extends Enum<RentFlatRatePer.Option> implements Translatable
| Enum Constant and Description |
|---|
DAY
day / Tag
|
MONTH
month / Monat
|
WEEK
week / Woche
|
YEAR
year / Jahr
|
| Modifier and Type | Method and Description |
|---|---|
String |
getTranslation() |
String |
getTranslation(Locale locale) |
static RentFlatRatePer.Option |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RentFlatRatePer.Option[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RentFlatRatePer.Option YEAR
public static final RentFlatRatePer.Option MONTH
public static final RentFlatRatePer.Option WEEK
public static final RentFlatRatePer.Option DAY
public static RentFlatRatePer.Option[] values()
for (RentFlatRatePer.Option c : RentFlatRatePer.Option.values()) System.out.println(c);
public static RentFlatRatePer.Option 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 getTranslation()
getTranslation in interface Translatablepublic String getTranslation(Locale locale)
getTranslation in interface TranslatableCopyright © 2019 OpenEstate. All rights reserved.