public enum Service extends Enum<Service>
| Enum Constant and Description |
|---|
AIRTIME |
AIRTIME_SANDBOX |
GIFTCARD |
GIFTCARD_SANDBOX |
| Modifier and Type | Method and Description |
|---|---|
static Service |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Service[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Service GIFTCARD
public static final Service GIFTCARD_SANDBOX
public static final Service AIRTIME
public static final Service AIRTIME_SANDBOX
public static Service[] values()
for (Service c : Service.values()) System.out.println(c);
public static Service 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 nullCopyright © 2022. All rights reserved.