public enum PaymentMethod extends java.lang.Enum<PaymentMethod>
| Enum Constant and Description |
|---|
DOMICILIACION |
IUPAY |
TARJETA |
TARJETAYIUPAY |
TRANSFERENCIA |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
findByCode(java.lang.String code) |
java.lang.String |
getCode() |
static PaymentMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PaymentMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaymentMethod TARJETA
public static final PaymentMethod TRANSFERENCIA
public static final PaymentMethod DOMICILIACION
public static final PaymentMethod TARJETAYIUPAY
public static final PaymentMethod IUPAY
public static PaymentMethod[] values()
for (PaymentMethod c : PaymentMethod.values()) System.out.println(c);
public static PaymentMethod 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 nullpublic java.lang.String getCode()
public static java.lang.String findByCode(java.lang.String code)