CreditCardpublic class CreditCard extends Object implements Serializable
Fields Summary |
---|
public static final String | MASTER_CARD | public static final String | VISA | public static final String | AMERICAN_EXPRESS | public static final String | DISCOVER | public static final String | DINNERS_CARD | public long | number | public Date | expiration | public String | type |
Constructors Summary |
---|
public CreditCard(long nmbr, Date exp, String typ)
number = nmbr;
expiration = exp;
type = typ;
|
|