Modifier and Type | Method and Description |
---|---|
static CardType |
CardType.fromCardNumber(String numStr)
Infer the CardType from the number string.
|
static CardType |
CardType.fromString(String typeStr)
Infer the card type from a string.
|
CardType |
CreditCard.getCardType() |
static CardType |
CardType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CardType[] |
CardType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2012-2016 PayPal, Inc. All Rights Reserved.