Package io.surati.gap.payment.base.api
Enum PaymentMeanType
- java.lang.Object
-
- java.lang.Enum<PaymentMeanType>
-
- io.surati.gap.payment.base.api.PaymentMeanType
-
- All Implemented Interfaces:
Serializable
,Comparable<PaymentMeanType>
public enum PaymentMeanType extends Enum<PaymentMeanType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isBankNote()
String
toString()
static PaymentMeanType
valueOf(String name)
Returns the enum constant of this type with the specified name.static PaymentMeanType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final PaymentMeanType NONE
-
ANONYMOUS
public static final PaymentMeanType ANONYMOUS
-
CHQ
public static final PaymentMeanType CHQ
-
BO
public static final PaymentMeanType BO
-
LC
public static final PaymentMeanType LC
-
OV
public static final PaymentMeanType OV
-
CB
public static final PaymentMeanType CB
-
MM
public static final PaymentMeanType MM
-
BDC
public static final PaymentMeanType BDC
-
-
Method Detail
-
values
public static PaymentMeanType[] 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 (PaymentMeanType c : PaymentMeanType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PaymentMeanType 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
-
toString
public String toString()
- Overrides:
toString
in classEnum<PaymentMeanType>
-
isBankNote
public boolean isBankNote()
-
-