Package model
Enum Dispute.ReasonEnum
- java.lang.Object
-
- java.lang.Enum<Dispute.ReasonEnum>
-
- model.Dispute.ReasonEnum
-
- All Implemented Interfaces:
Serializable,Comparable<Dispute.ReasonEnum>
- Enclosing class:
- Dispute
public static enum Dispute.ReasonEnum extends Enum<Dispute.ReasonEnum>
The system-defined reason for the `Dispute`. Available values include:<ul><li>**INQUIRY**<li>**QUALITY**<li>**FRAUD**
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDispute.ReasonEnum.Adapter
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Dispute.ReasonEnumfromValue(String value)StringgetRawValue()StringgetValue()voidsetRawValue(String s)StringtoString()static Dispute.ReasonEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static Dispute.ReasonEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CLERICAL
public static final Dispute.ReasonEnum CLERICAL
-
FRAUD
public static final Dispute.ReasonEnum FRAUD
-
INQUIRY
public static final Dispute.ReasonEnum INQUIRY
-
QUALITY
public static final Dispute.ReasonEnum QUALITY
-
TECHNICAL
public static final Dispute.ReasonEnum TECHNICAL
-
UNKNOWN_DEFAULT
public static final Dispute.ReasonEnum UNKNOWN_DEFAULT
-
-
Method Detail
-
values
public static Dispute.ReasonEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Dispute.ReasonEnum c : Dispute.ReasonEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Dispute.ReasonEnum valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<Dispute.ReasonEnum>
-
setRawValue
public void setRawValue(String s)
-
getRawValue
public String getRawValue()
-
fromValue
public static Dispute.ReasonEnum fromValue(String value)
-
-