|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.websphere.samples.pbw.war.OrderInfo
public class OrderInfo
A class to hold an order's data.
Constructor Summary | |
---|---|
OrderInfo(Order order)
Constructor to create an OrderInfo using an Order. |
|
OrderInfo(String billName,
String billAddr1,
String billAddr2,
String billCity,
String billState,
String billZip,
String billPhone,
String shipName,
String shipAddr1,
String shipAddr2,
String shipCity,
String shipState,
String shipZip,
String shipPhone,
int shippingMethod,
String orderID)
Constructor to create an OrderInfo by passing each field. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OrderInfo(String billName, String billAddr1, String billAddr2, String billCity, String billState, String billZip, String billPhone, String shipName, String shipAddr1, String shipAddr2, String shipCity, String shipState, String shipZip, String shipPhone, int shippingMethod, String orderID)
public OrderInfo(Order order)
order
- Method Detail |
---|
public String getShippingMethodName()
public void setShippingMethodName(String name)
public String[] getShippingMethods()
public int getShippingMethodCount()
public String getID()
public void setID(String orderID)
orderID
- the orderID to setpublic String getBillName()
public void setBillName(String billName)
billName
- the billName to setpublic String getBillAddr1()
public void setBillAddr1(String billAddr1)
billAddr1
- the billAddr1 to setpublic String getBillAddr2()
public void setBillAddr2(String billAddr2)
billAddr2
- the billAddr2 to setpublic String getBillCity()
public void setBillCity(String billCity)
billCity
- the billCity to setpublic String getBillState()
public void setBillState(String billState)
billState
- the billState to setpublic String getBillZip()
public void setBillZip(String billZip)
billZip
- the billZip to setpublic String getBillPhone()
public void setBillPhone(String billPhone)
billPhone
- the billPhone to setpublic String getShipName()
public void setShipName(String shipName)
shipName
- the shipName to setpublic String getShipAddr1()
public void setShipAddr1(String shipAddr1)
shipAddr1
- the shipAddr1 to setpublic String getShipAddr2()
public void setShipAddr2(String shipAddr2)
shipAddr2
- the shipAddr2 to setpublic String getShipCity()
public void setShipCity(String shipCity)
shipCity
- the shipCity to setpublic String getShipState()
public void setShipState(String shipState)
shipState
- the shipState to setpublic String getShipZip()
public void setShipZip(String shipZip)
shipZip
- the shipZip to setpublic String getShipPhone()
public void setShipPhone(String shipPhone)
shipPhone
- the shipPhone to setpublic int getShippingMethod()
public void setShippingMethod(int shippingMethod)
shippingMethod
- the shippingMethod to setpublic String getCardholderName()
public void setCardholderName(String cardholderName)
cardholderName
- the cardholderName to setpublic String getCardName()
public void setCardName(String cardName)
cardName
- the cardName to setpublic String getCardNum()
public void setCardNum(String cardNum)
cardNum
- the cardNum to setpublic String getCardExpMonth()
public void setCardExpMonth(String cardExpMonth)
cardExpMonth
- the cardExpMonth to setpublic String getCardExpYear()
public void setCardExpYear(String cardExpYear)
cardExpYear
- the cardExpYear to setpublic String[] getCardExpYears()
public void setCardExpYears(String[] cardExpYears)
cardExpYears
- the cardExpYears to setpublic boolean isShipisbill()
public void setShipisbill(boolean shipisbill)
shipisbill
- the shipisbill to set
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |