FileDocCategorySizeDatePackage
CreditCard.javaAPI DocExample639Tue Dec 14 16:15:24 GMT 1999com.titan.processpayment

CreditCard.java

package com.titan.processpayment;

import java.util.Date;

public class CreditCard implements java.io.Serializable {
    final static public String MASTER_CARD = "MASTER_CARD";
    final static public String VISA = "VISA";
    final static public String AMERICAN_EXPRESS = "AMERICAN_EXPRESS";
    final static public String DISCOVER = "DISCOVER";
    final static public String DINERS_CARD = "DINERS_CARD";

    public long number;
    public Date expiration;
    public String type;

    public CreditCard(long nmbr, Date exp, String typ){
        number = nmbr;
        expiration = exp;
        type = typ;
    }
}