public class PaymentStatus extends java.lang.Object implements HybrisEnumValue
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static PaymentStatus |
NOTPAID
Generated enum value for PaymentStatus.NOTPAID declared at extension core.
|
static PaymentStatus |
PAID
Generated enum value for PaymentStatus.PAID declared at extension core.
|
static PaymentStatus |
PARTPAID
Generated enum value for PaymentStatus.PARTPAID declared at extension core.
|
static PaymentStatus |
REFUNDED
Generated enum value for PaymentStatus.REFUNDED declared at extension chinesepspalipayservices.
|
static java.lang.String |
SIMPLE_CLASSNAME
Generated simple class name constant.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Compares this object to the specified object.
|
java.lang.String |
getCode()
Gets the code of this enum value.
|
java.lang.String |
getType()
Gets the type this enum value belongs to.
|
int |
hashCode()
Returns a hash code for this
PaymentStatus. |
java.lang.String |
toString()
Returns the code representing this enum value.
|
static PaymentStatus |
valueOf(java.lang.String code)
Returns a PaymentStatus instance representing the specified enum value.
|
public static final java.lang.String _TYPECODE
public static final java.lang.String SIMPLE_CLASSNAME
public static final PaymentStatus NOTPAID
public static final PaymentStatus REFUNDED
public static final PaymentStatus PARTPAID
public static final PaymentStatus PAID
public boolean equals(java.lang.Object obj)
true
if and only if the argument is not null and is an PaymentStatus
object that contains the enum value code as this object.equals in class java.lang.Objectobj - the object to compare with.true if the objects are the same;
false otherwise.public java.lang.String getCode()
getCode in interface HybrisEnumValuepublic java.lang.String getType()
getType in interface HybrisEnumValuepublic int hashCode()
PaymentStatus.hashCode in class java.lang.Objectcode
represented by this PaymentStatus object.public java.lang.String toString()
toString in class java.lang.Objectpublic static PaymentStatus valueOf(java.lang.String code)
code - an enum valueCopyright © 2018 SAP SE. All Rights Reserved.