org.jboss.test.cmp2.commerce
Class Card
java.lang.Object
org.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
Constructor Summary |
Card()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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)
Card
public Card()
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()