public enum SettlementState extends Enum<SettlementState>
Enum Constant and Description |
---|
DEPOSITED
The payment has been deposited to your bank.
|
NONE
Not specified - do not send to jet.
|
REJECTED
The payment was rejected by your bank.
|
SUBMITTED
The payment has been submitted to your bank and is awaiting to be
deposited.
|
Modifier and Type | Method and Description |
---|---|
static SettlementState |
fromText(String text)
Attempt to create a SettlementState by text value
|
String |
getText()
Retrieve the jet text
|
static SettlementState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SettlementState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SettlementState NONE
public static final SettlementState REJECTED
public static final SettlementState DEPOSITED
public static final SettlementState SUBMITTED
public static SettlementState[] values()
for (SettlementState c : SettlementState.values()) System.out.println(c);
public static SettlementState 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 static SettlementState fromText(String text) throws IllegalArgumentException
text
- valueIllegalArgumentException
- if text is not foundpublic String getText()
Copyright © 2017. All rights reserved.