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