public enum PaymentContractState extends Enum<PaymentContractState>
| Enum Constant and Description |
|---|
ACTIVE |
PENDING |
REJECTED |
TERMINATED |
TERMINATING |
| Modifier and Type | Method and Description |
|---|---|
static PaymentContractState |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static PaymentContractState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PaymentContractState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaymentContractState PENDING
public static final PaymentContractState ACTIVE
public static final PaymentContractState TERMINATING
public static final PaymentContractState TERMINATED
public static final PaymentContractState REJECTED
public static PaymentContractState[] values()
for (PaymentContractState c : PaymentContractState.values()) System.out.println(c);
public static PaymentContractState 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<PaymentContractState>public static PaymentContractState fromValue(String text)
Copyright © 2021. All rights reserved.