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