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