public enum CardScheme extends java.lang.Enum<CardScheme>
Enum Constant and Description |
---|
AMERICAN_EXPRESS
American express card scheme.
|
BENEFIT
Benefit card scheme.
|
FAWRY
Fawry card scheme.
|
KNET
Knet card scheme.
|
MADA
Mada card scheme.
|
MASTERCARD
Mastercard card scheme.
|
NAPS
Naps card scheme.
|
OMAN_NET
Oman net card scheme.
|
SADAD
Sadad card scheme.
|
VISA
Visa card scheme.
|
Modifier and Type | Method and Description |
---|---|
company.tap.tapcardvalidator_android.CardBrand |
getCardBrand()
Gets card brand.
|
static CardScheme |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CardScheme[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="KNET") public static final CardScheme KNET
@SerializedName(value="VISA") public static final CardScheme VISA
@SerializedName(value="MASTERCARD") public static final CardScheme MASTERCARD
@SerializedName(value="AMERICAN_EXPRESS") public static final CardScheme AMERICAN_EXPRESS
@SerializedName(value="MADA") public static final CardScheme MADA
@SerializedName(value="BENEFIT") public static final CardScheme BENEFIT
@SerializedName(value="SADAD_ACCOUNT") public static final CardScheme SADAD
@SerializedName(value="FAWRY") public static final CardScheme FAWRY
@SerializedName(value="NAPS") public static final CardScheme NAPS
@SerializedName(value="OMAN_NET") public static final CardScheme OMAN_NET
public static CardScheme[] values()
for (CardScheme c : CardScheme.values()) System.out.println(c);
public static CardScheme valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic company.tap.tapcardvalidator_android.CardBrand getCardBrand()