public enum RefundFeedback extends Enum<RefundFeedback>
Enum Constant and Description |
---|
ITEM_DAMAGED
The item was damaged
|
NONE
Unspecified (use other for other).
|
NOT_IN_PACKAGING
Item was not returned in its original packaging
|
OPENED
Customer opened the item
|
OTHER
Some other reason
|
Modifier and Type | Method and Description |
---|---|
static RefundFeedback |
fromText(String text)
Attempt to create a RefundFeedback by text value
|
String |
getText()
Retrieve the jet text
|
static RefundFeedback |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RefundFeedback[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RefundFeedback NONE
public static final RefundFeedback OTHER
public static final RefundFeedback ITEM_DAMAGED
public static final RefundFeedback NOT_IN_PACKAGING
public static final RefundFeedback OPENED
public static RefundFeedback[] values()
for (RefundFeedback c : RefundFeedback.values()) System.out.println(c);
public static RefundFeedback 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 RefundFeedback fromText(String text) throws IllegalArgumentException
text
- valueIllegalArgumentException
- if text is not foundpublic String getText()
Copyright © 2017. All rights reserved.