public static enum Contract.Type extends Enum<Contract.Type>
| Enum Constant and Description |
|---|
commission
Договор комиссии
|
sales
Договор купли-продажи
|
| Modifier and Type | Method and Description |
|---|---|
static Contract.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Contract.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="Commission") public static final Contract.Type commission
@SerializedName(value="Sales") public static final Contract.Type sales
public static Contract.Type[] values()
for (Contract.Type c : Contract.Type.values()) System.out.println(c);
public static Contract.Type 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 © 2022. All rights reserved.