org.jboss.test.cmp2.commerce
Class Card

java.lang.Object
  extended byorg.jboss.test.cmp2.commerce.Card
All Implemented Interfaces:
java.io.Serializable

public class Card
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
static int AMERICAN_EXPRESS
           
static int DISCOVER
           
static int MASTER_CARD
           
static int VISA
           
 
Constructor Summary
Card()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int getBillingZip()
           
 FormalName (src) getCardHolder()
           
 java.lang.String getCardNumber()
           
 int getType()
           
 void setBillingZip(int zip)
           
 void setCardHolder(FormalName (src)  name)
           
 void setCardNumber(java.lang.String num)
           
 void setType(int type)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

VISA

public static final int VISA
See Also:
Constant Field Values (src)

AMERICAN_EXPRESS

public static final int AMERICAN_EXPRESS
See Also:
Constant Field Values (src)

MASTER_CARD

public static final int MASTER_CARD
See Also:
Constant Field Values (src)

DISCOVER

public static final int DISCOVER
See Also:
Constant Field Values (src)
Constructor Detail

Card

public Card()
Method Detail

getCardHolder

public FormalName (src)  getCardHolder()

setCardHolder

public void setCardHolder(FormalName (src)  name)

getBillingZip

public int getBillingZip()

setBillingZip

public void setBillingZip(int zip)

getCardNumber

public java.lang.String getCardNumber()

setCardNumber

public void setCardNumber(java.lang.String num)

getType

public int getType()

setType

public void setType(int type)

equals

public boolean equals(java.lang.Object obj)

toString

public java.lang.String toString()