Method | Description | |
---|---|---|
CreditCard ( ) : System |
Default constructor
|
|
CreditCard ( string cardType, string cardNumber, string cardExpiration ) : System |
Constructor with specified initial values.
|
public CreditCard ( string cardType, string cardNumber, string cardExpiration ) : System | ||
cardType | string | Card type, e.g. Visa, Master Card, American Express. |
cardNumber | string | Number on the card. |
cardExpiration | string | Expiry Date, form MM/YY. |
return | System |