|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectestamp.transaction.PurchaseInfo
Title: PurhcaseInfo.java
Description: Represents information about purchasing estamps
Copyright: Copyright (c) 2003
Company: segy
Field Summary | |
(package private) static int |
AMEX
Payment Type: Americane Express |
(package private) static int |
CHECKING
Payment Type: Checking |
(package private) static int |
DISCOVER
Payment Type: Discover |
(package private) static int |
MASTER
Payment Type: Master |
(package private) static int |
VISA
Payment Type: Visa |
Constructor Summary | |
PurchaseInfo()
Default constructor |
Method Summary | |
(package private) int |
getAccountNumber()
Gets the account number of credit card or checking account. |
(package private) java.util.Calendar |
getExpireDate()
Gets the creidt card expiration date. |
(package private) java.lang.String |
getFirstName()
Gets the buyer's first name |
(package private) java.lang.String |
getLastName()
Gets the buyer's last name |
(package private) int |
getPaymentType()
Get the payment type. |
(package private) int |
getRoutNumber()
Gets the rout number of checking account |
(package private) void |
setAccountNumber(int accountNumber)
Sets the account number of credit card or checking account. |
(package private) void |
setExpireDate(java.util.Calendar expireDate)
Sets the creidt card expiration date. |
(package private) void |
setFirstName(java.lang.String firstName)
Sets the buyer's first name |
(package private) void |
setLastName(java.lang.String lastName)
Sets the buyer's last name |
(package private) void |
setPaymentType(int paymentType)
Sets the payment type. |
(package private) void |
setRoutNumber(int routNumber)
Sets the rout number of checking account |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
static final int VISA
static final int MASTER
static final int AMEX
static final int DISCOVER
static final int CHECKING
Constructor Detail |
public PurchaseInfo()
Method Detail |
int getAccountNumber()
java.util.Calendar getExpireDate()
java.lang.String getFirstName()
java.lang.String getLastName()
int getPaymentType()
int getRoutNumber()
void setAccountNumber(int accountNumber)
void setExpireDate(java.util.Calendar expireDate)
expireDate
- the credit card expiration date.void setFirstName(java.lang.String firstName)
firstName
- the buyer's first namevoid setLastName(java.lang.String lastName)
lastName
- the buyer's last namevoid setPaymentType(int paymentType)
paymentType
- the payment type.void setRoutNumber(int routNumber)
routNumber
- the rout number of checking account
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |