public static enum Event.Details.Origin extends java.lang.Enum<Event.Details.Origin>
Enum Constant and Description |
---|
API |
BANK |
CUSTOMER |
GOCARDLESS |
Modifier and Type | Method and Description |
---|---|
static Event.Details.Origin |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Event.Details.Origin[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="bank") public static final Event.Details.Origin BANK
@SerializedName(value="api") public static final Event.Details.Origin API
@SerializedName(value="gocardless") public static final Event.Details.Origin GOCARDLESS
@SerializedName(value="customer") public static final Event.Details.Origin CUSTOMER
public static Event.Details.Origin[] values()
for (Event.Details.Origin c : Event.Details.Origin.values()) System.out.println(c);
public static Event.Details.Origin valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null