java.lang.Object | +--com.ibm.commerce.me.datatype.PurchaseOrderRequestHeader
This class stores information for a purchase order request header. Information such as the total amount, session information, currency, ship to address, shipping information, and tax information.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT IBM Copyright field |
Constructor Summary | |
---|---|
PurchaseOrderRequestHeader() PurchaseOrderRequestHeader default constructor. |
Method Summary | |
---|---|
java.lang.String |
getCurrency() gets the currency used |
SessionInfo |
getSessionInfo() Gets the session informatin |
ShippingInfo |
getShippingInfo() Gets the shipping information |
Address |
getShipTo() Gets the ship to address |
TaxInfo |
getTaxInfo() Gets the tax information |
java.math.BigDecimal |
getTotalAmount() Gets the total amount |
void |
setCurrency(java.lang.String newCurrency) Set the currnecy |
void |
setSessionInfo(
SessionInfo newSessionInfo) Sets the session information |
void |
setShippingInfo(
ShippingInfo newShippingInfo) Sets the shipping information |
void |
setShipTo(
Address newShipTo) Sets the ship to address |
void |
setTaxInfo(
TaxInfo newTaxInfo) Sets the tax information |
void |
setTotalAmount(java.math.BigDecimal newTotalAmount) Sets the total amount |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public PurchaseOrderRequestHeader()
Method Detail |
---|
public java.lang.String getCurrency()
public SessionInfo getSessionInfo()
public ShippingInfo getShippingInfo()
public Address getShipTo()
public TaxInfo getTaxInfo()
public java.math.BigDecimal getTotalAmount()
public void setCurrency(java.lang.String newCurrency)
newCurrency
- the new currencypublic void setSessionInfo(SessionInfo newSessionInfo)
newSessionInfo
- the new session
informationpublic void setShippingInfo(ShippingInfo newShippingInfo)
newShippingInfo
- the new shipping
informationpublic void setShipTo(Address newShipTo)
newShipTo
- the new ship to addresspublic void setTaxInfo(TaxInfo newTaxInfo)
newTaxInfo
- the new tax informationpublic void setTotalAmount(java.math.BigDecimal newTotalAmount)
newTotalAmount
- the new total amount for the
order