public class ServiceType extends Object implements HybrisEnumValue
| Modifier and Type | Field and Description |
|---|---|
static String |
_TYPECODE
Generated model type code constant.
|
static ServiceType |
DIRECTPAY
Generated enum value for ServiceType.DirectPay declared at extension chinesepspalipayservices.
|
static ServiceType |
EXPRESSPAY
Generated enum value for ServiceType.ExpressPay declared at extension chinesepspalipayservices.
|
static ServiceType |
OFFICIALACCOUNTPAY
Generated enum value for ServiceType.OfficialAccountPay declared at extension chinesepspwechatpayservices.
|
static ServiceType |
PAYORDER
Generated enum value for ServiceType.Payorder declared at extension chinesepaymentservices.
|
static String |
SIMPLE_CLASSNAME
Generated simple class name constant.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Compares this object to the specified object.
|
String |
getCode()
Gets the code of this enum value.
|
String |
getType()
Gets the type this enum value belongs to.
|
int |
hashCode()
Returns a hash code for this
ServiceType. |
String |
toString()
Returns the code representing this enum value.
|
static ServiceType |
valueOf(String code)
Returns a ServiceType instance representing the specified enum value.
|
public static final String _TYPECODE
public static final String SIMPLE_CLASSNAME
public static final ServiceType DIRECTPAY
public static final ServiceType OFFICIALACCOUNTPAY
public static final ServiceType PAYORDER
public static final ServiceType EXPRESSPAY
public boolean equals(Object obj)
true
if and only if the argument is not null and is an ServiceType
object that contains the enum value code as this object.public String getCode()
getCode in interface HybrisEnumValuepublic String getType()
getType in interface HybrisEnumValuepublic int hashCode()
ServiceType.public String toString()
public static ServiceType valueOf(String code)
code - an enum valueCopyright © 2017 SAP SE. All Rights Reserved.