public enum CardBrand extends Enum<CardBrand>
| Enum Constant and Description |
|---|
_UNKNOWN
Unknown values will be mapped by this enum member
|
AMEX
American Express card.
|
CB_NATIONALE
Carte Bancaire (CB) credit card.
|
CETELEM
Cetelem credit card.
|
CHINA_UNION_PAY
China union pay credit card.
|
CONFIDIS
Confidis credit card.
|
CONFIGOGA
Configoga credit card.
|
DELTA
Delta Airlines card.
|
DINERS
The Diners Club International banking and payment services capability network owned by Discover Financial Services (DFS), one of the most recognized brands in US financial services.
|
DISCOVER
Discover card.
|
EFTPOS
The Electronic Fund Transfer At Point of Sale(EFTPOS) Debit card payment network.
|
ELECTRON
Visa Electron credit card.
|
ELO
The Brazilian Elo card payment network.
|
GE
The GE Credit Union 3Point card payment network.
|
HIPER
The Hiper - Ingenico ePayment network.
|
HIPERCARD
The Brazilian Hipercard payment network that's widely accepted in the retail market.
|
JCB
Japan Credit Bureau card.
|
MAESTRO
Maestro credit card.
|
MASTERCARD
Mastecard card.
|
RUPAY
The RuPay payment network.
|
SOLO
Solo debit card.
|
STAR
Military Star card.
|
SWITCH
Switch credit card.
|
SYNCHRONY
The Synchrony Financial (SYF) payment network.
|
UNKNOWN
UNKNOWN payment network.
|
VISA
Visa card.
|
| Modifier and Type | Method and Description |
|---|---|
static CardBrand |
constructFromString(String toConvert)
Returns the enum member associated with the given string value.
|
static CardBrand |
fromString(String toConvert)
Returns the enum member associated with the given string value.
|
String |
toString()
Get string representation of this enum.
|
static List<String> |
toValue(List<CardBrand> toConvert)
Convert list of CardBrand values to list of string values.
|
String |
value()
Returns the string value associated with the enum member.
|
static CardBrand |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CardBrand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CardBrand VISA
public static final CardBrand MASTERCARD
public static final CardBrand DISCOVER
public static final CardBrand AMEX
public static final CardBrand SOLO
public static final CardBrand JCB
public static final CardBrand STAR
public static final CardBrand DELTA
public static final CardBrand SWITCH
public static final CardBrand MAESTRO
public static final CardBrand CB_NATIONALE
public static final CardBrand CONFIGOGA
public static final CardBrand CONFIDIS
public static final CardBrand ELECTRON
public static final CardBrand CETELEM
public static final CardBrand CHINA_UNION_PAY
public static final CardBrand DINERS
public static final CardBrand ELO
public static final CardBrand HIPER
public static final CardBrand HIPERCARD
public static final CardBrand RUPAY
public static final CardBrand GE
public static final CardBrand SYNCHRONY
public static final CardBrand EFTPOS
public static final CardBrand UNKNOWN
public static final CardBrand _UNKNOWN
public static CardBrand[] values()
for (CardBrand c : CardBrand.values()) System.out.println(c);
public static CardBrand 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 CardBrand constructFromString(String toConvert) throws IOException
toConvert - String value to get enum member.IOException - when provided value is not mapped to any enum member.public static CardBrand fromString(String toConvert)
toConvert - String value to get enum member.public String value()
public String toString()
Copyright © 2025. All rights reserved.