Package | Description |
---|---|
io.card.payment |
Modifier and Type | Method and Description |
---|---|
static CardType |
CardType.fromCardNumber(java.lang.String numStr)
Infer the CardType from the number string.
|
static CardType |
CardType.fromString(java.lang.String typeStr)
Infer the card type from a string.
|
CardType |
CreditCard.getCardType() |
static CardType |
CardType.valueOf(java.lang.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 PayPal, Inc. All Rights Reserved.