Package com.creditcall.chipdnamobile
Enum OfflineRequest.CEMOfflineRequestType
- java.lang.Object
-
- java.lang.Enum<OfflineRequest.CEMOfflineRequestType>
-
- com.creditcall.chipdnamobile.OfflineRequest.CEMOfflineRequestType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<OfflineRequest.CEMOfflineRequestType>
- Enclosing class:
- OfflineRequest
public static enum OfflineRequest.CEMOfflineRequestType extends java.lang.Enum<OfflineRequest.CEMOfflineRequestType>
An enum representing the type of the request
-
-
Enum Constant Summary
Enum Constants Enum Constant Description RefundA refund requestRefundConfA refund confirmation request.RefundVoidA refund void request.SaleA sale request.SaleConfA sale confirmation request.SaleVoidA sale void request.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OfflineRequest.CEMOfflineRequestTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static OfflineRequest.CEMOfflineRequestType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Sale
public static final OfflineRequest.CEMOfflineRequestType Sale
A sale request.
-
SaleConf
public static final OfflineRequest.CEMOfflineRequestType SaleConf
A sale confirmation request.
-
SaleVoid
public static final OfflineRequest.CEMOfflineRequestType SaleVoid
A sale void request.
-
Refund
public static final OfflineRequest.CEMOfflineRequestType Refund
A refund request
-
RefundConf
public static final OfflineRequest.CEMOfflineRequestType RefundConf
A refund confirmation request.
-
RefundVoid
public static final OfflineRequest.CEMOfflineRequestType RefundVoid
A refund void request.
-
-
Method Detail
-
values
public static OfflineRequest.CEMOfflineRequestType[] 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 (OfflineRequest.CEMOfflineRequestType c : OfflineRequest.CEMOfflineRequestType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OfflineRequest.CEMOfflineRequestType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-