Enum HostedPaymentServlet.CALLBACK_TYPE
- java.lang.Object
-
- java.lang.Enum<HostedPaymentServlet.CALLBACK_TYPE>
-
- com.avoka.fc.core.servlet.payment.HostedPaymentServlet.CALLBACK_TYPE
-
- All Implemented Interfaces:
Serializable
,Comparable<HostedPaymentServlet.CALLBACK_TYPE>
- Enclosing class:
- HostedPaymentServlet
public static enum HostedPaymentServlet.CALLBACK_TYPE extends Enum<HostedPaymentServlet.CALLBACK_TYPE>
A Enum to represent the payment callback types
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getUrlAction()
static HostedPaymentServlet.CALLBACK_TYPE
valueOf(String name)
Returns the enum constant of this type with the specified name.static HostedPaymentServlet.CALLBACK_TYPE[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RESPONSE
public static final HostedPaymentServlet.CALLBACK_TYPE RESPONSE
The Response call back type
-
CANCEL
public static final HostedPaymentServlet.CALLBACK_TYPE CANCEL
The Cancel call back type
-
ERROR
public static final HostedPaymentServlet.CALLBACK_TYPE ERROR
The Error call back type
-
CALLBACK
public static final HostedPaymentServlet.CALLBACK_TYPE CALLBACK
The Callback call back type
-
UNKNOWN
public static final HostedPaymentServlet.CALLBACK_TYPE UNKNOWN
Represents a unknown call back type
-
-
Method Detail
-
values
public static HostedPaymentServlet.CALLBACK_TYPE[] 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 (HostedPaymentServlet.CALLBACK_TYPE c : HostedPaymentServlet.CALLBACK_TYPE.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HostedPaymentServlet.CALLBACK_TYPE 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
-
getUrlAction
public String getUrlAction()
- Returns:
- the string representation of the call back type
-
-