public enum ServiceType extends Enum<ServiceType>
| Enum Constant and Description |
|---|
CREDIT_LIMIT |
DID |
MSA |
OTHERS |
SMS |
SUPPLIER |
UNKNOWN |
Voice |
| Modifier and Type | Method and Description |
|---|---|
static ServiceType |
fromValue(Integer value) |
static ServiceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServiceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServiceType Voice
public static final ServiceType SMS
public static final ServiceType DID
public static final ServiceType SUPPLIER
public static final ServiceType OTHERS
public static final ServiceType CREDIT_LIMIT
public static final ServiceType MSA
public static final ServiceType UNKNOWN
public static ServiceType[] values()
for (ServiceType c : ServiceType.values()) System.out.println(c);
public static ServiceType 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 ServiceType fromValue(Integer value) throws IllegalArgumentException
IllegalArgumentExceptionCopyright © 2026. All rights reserved.