public static enum PaymentSource.Card.Brand extends Enum<PaymentSource.Card.Brand>
| Enum Constant and Description |
|---|
_UNKNOWN |
AMERICAN_EXPRESS |
BANCONTACT |
DINERS_CLUB |
DISCOVER |
JCB |
MASTERCARD |
NOT_APPLICABLE |
OTHER |
VISA |
| Modifier and Type | Method and Description |
|---|---|
static PaymentSource.Card.Brand |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PaymentSource.Card.Brand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaymentSource.Card.Brand VISA
public static final PaymentSource.Card.Brand MASTERCARD
public static final PaymentSource.Card.Brand AMERICAN_EXPRESS
public static final PaymentSource.Card.Brand DISCOVER
public static final PaymentSource.Card.Brand JCB
public static final PaymentSource.Card.Brand DINERS_CLUB
public static final PaymentSource.Card.Brand OTHER
public static final PaymentSource.Card.Brand BANCONTACT
public static final PaymentSource.Card.Brand NOT_APPLICABLE
public static final PaymentSource.Card.Brand _UNKNOWN
public static PaymentSource.Card.Brand[] values()
for (PaymentSource.Card.Brand c : PaymentSource.Card.Brand.values()) System.out.println(c);
public static PaymentSource.Card.Brand 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 nullCopyright © 2023 ChargeBee. All rights reserved.