public interface CreditCard
Modifier and Type | Method and Description |
---|---|
default java.lang.String |
cardholder()
The name of the cardholder entered by the user.
|
default java.time.Month |
expirationMonth()
The expiration month of the credit card.
|
default int |
expirationYear()
The expiration year of the credit card.
|
default CreditCardNetwork |
network()
The network issuer of the card.
|
default java.lang.String |
number()
The card number.
|
default java.lang.String cardholder()
default java.lang.String number()
default java.time.Month expirationMonth()
default int expirationYear()
default CreditCardNetwork network()