public enum RewardType extends Enum<RewardType>
| Enum Constant and Description |
|---|
none
Не рассчитывать
|
percentOfSales
Процент от суммы продажи
|
| Modifier and Type | Method and Description |
|---|---|
static RewardType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RewardType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="PercentOfSales") public static final RewardType percentOfSales
@SerializedName(value="None") public static final RewardType none
public static RewardType[] values()
for (RewardType c : RewardType.values()) System.out.println(c);
public static RewardType 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 nullCopyright © 2024. All rights reserved.