Method | Description | |
---|---|---|
CreditCard ( ) : System | ||
CreditCard ( string cardType, string nameOnCard, string accountNumber, int expMonth, int expYear, string verificationCode ) : System | ||
IsValid ( ) : bool |
Validates the passed-in card, making sure that the card is not expired and that it passed the Luhn Algorigthm
|
public CreditCard ( string cardType, string nameOnCard, string accountNumber, int expMonth, int expYear, string verificationCode ) : System | ||
cardType | string | |
nameOnCard | string | |
accountNumber | string | |
expMonth | int | |
expYear | int | |
verificationCode | string | |
return | System |