public enum ChargeFeedback extends Enum<ChargeFeedback>
Enum Constant and Description |
---|
FRAUD
Fraud
|
NONE
Unspecified (do not send to jet)
|
NOT_MERCHANT_ERROR
Not merchant error
|
OTHER
Other reason
|
OUTSIDE_POLICY
Outside merchant policy
|
OUTSIDE_WINDOW
Returned outside window
|
WRONG_ITEM
Wrong item
|
Modifier and Type | Method and Description |
---|---|
static ChargeFeedback |
fromText(String text)
Attempt to create a ChargeFeedback by text value
|
String |
getText()
Retrieve the jet text
|
static ChargeFeedback |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChargeFeedback[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChargeFeedback NONE
public static final ChargeFeedback OTHER
public static final ChargeFeedback OUTSIDE_POLICY
public static final ChargeFeedback NOT_MERCHANT_ERROR
public static final ChargeFeedback WRONG_ITEM
public static final ChargeFeedback FRAUD
public static final ChargeFeedback OUTSIDE_WINDOW
public static ChargeFeedback[] values()
for (ChargeFeedback c : ChargeFeedback.values()) System.out.println(c);
public static ChargeFeedback 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 ChargeFeedback fromText(String text) throws IllegalArgumentException
text
- valueIllegalArgumentException
- if text is not foundpublic String getText()
Copyright © 2017. All rights reserved.