public class PurchaseOrderRequestHeader
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright field
|
Constructor and Description |
---|
PurchaseOrderRequestHeader()
The PurchaseOrderRequestHeader default constructor calls its parents constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCurrency()
This method gets the currency used to calculate the total amount.
|
SessionInfo |
getSessionInfo()
This method gets the session information.
|
ShippingInfo |
getShippingInfo()
This method gets the shipping information.
|
Address |
getShipTo()
This method gets the ship to address.
|
TaxInfo |
getTaxInfo()
This method gets the tax information.
|
java.math.BigDecimal |
getTotalAmount()
This method gets the total amount for the current order.
|
void |
setCurrency(java.lang.String newCurrency)
This method sets the order currency.
|
void |
setSessionInfo(SessionInfo newSessionInfo)
This method sets the session information.
|
void |
setShippingInfo(ShippingInfo newShippingInfo)
This method sets the shipping information.
|
void |
setShipTo(Address newShipTo)
This method sets the ship to address.
|
void |
setTaxInfo(TaxInfo newTaxInfo)
This method sets the tax information.
|
void |
setTotalAmount(java.math.BigDecimal newTotalAmount)
This method sets the total amount of the order.
|
public static final java.lang.String COPYRIGHT
public PurchaseOrderRequestHeader()
public java.lang.String getCurrency()
public SessionInfo getSessionInfo()
com.ibm.commerce.me.datatype
public ShippingInfo getShippingInfo()
com.ibm.commerce.me.datatype
public Address getShipTo()
com.ibm.commerce.me.datatype@Address
public TaxInfo getTaxInfo()
com.ibm.commerce.me.datatype
public java.math.BigDecimal getTotalAmount()
public void setCurrency(java.lang.String newCurrency)
newCurrency
- the new currencypublic void setSessionInfo(SessionInfo newSessionInfo)
newSessionInfo
- the new session informationcom.ibm.commerce.me.datatype
public void setShippingInfo(ShippingInfo newShippingInfo)
newShippingInfo
- the new shipping informationcom.ibm.commerce.me.datatype
public void setShipTo(Address newShipTo)
newShipTo
- the new ship to addresscom.ibm.commerce.me.datatype@Address
public void setTaxInfo(TaxInfo newTaxInfo)
newTaxInfo
- the new tax informationcom.ibm.commerce.me.datatype
public void setTotalAmount(java.math.BigDecimal newTotalAmount)
newTotalAmount
- the new total amount for the order