public class PurchaseOrderHeader
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 |
---|
PurchaseOrderHeader() |
Modifier and Type | Method and Description |
---|---|
Address |
getBillTo()
This method gets the billing address.
|
java.lang.String |
getComment()
This method gets the order comment.
|
java.lang.String |
getCurrency()
This method gets the order currency.
|
java.lang.String |
getMessageId()
This method gets the messageId of the order.
|
java.util.Date |
getOrderDate()
This method gets the order date.
|
java.lang.String |
getOrderId()
This method gets the order identification number.
|
java.lang.String |
getOrderStatusUrl()
This method gets the order status URL.
|
java.lang.String |
getOrderType()
This method gets the type of the order.
|
PaymentInfo |
getPayMethod()
This method gets the order payment method.
|
java.lang.String |
getShipModeId()
This method gets the shipping mode ID.
|
ShippingInfo |
getShippingInfo()
This method gets the order shipping info.
|
Address |
getShipTo()
This method gets the order shipping address.
|
TaxInfo |
getTaxInfo()
This method gets the order tax information.
|
java.math.BigDecimal |
getTotalAmount()
This method gets the total amount for the order.
|
void |
setBillTo(Address newBillTo)
This method sets the billing address.
|
void |
setComment(java.lang.String newComment)
This method sets the order comment.
|
void |
setCurrency(java.lang.String newCurrency)
This method sets the order currency.
|
void |
setMessageId(java.lang.String aMessageId)
This method sets the messageId of the order
|
void |
setOrderDate(java.util.Date newOrderDate)
This method sets the order date.
|
void |
setOrderId(java.lang.String newOrderId)
This method sets the order identification number.
|
void |
setOrderStatusUrl(java.lang.String newOrderStatusUrl)
This method sets the URL to post the order status.
|
void |
setOrderType(java.lang.String newOrderType)
This method sets the order type.
|
void |
setPayMethod(PaymentInfo newPayMethod)
This method sets the payment method.
|
void |
setShipModeId(java.lang.String shipmodeId)
This method sets the order ship mode ID.
|
void |
setShippingInfo(ShippingInfo newShippingInfo)
This method sets the order shipping information.
|
void |
setShipTo(Address newShipTo)
This method sets the order shiping address.
|
void |
setTaxInfo(TaxInfo newTaxInfo)
This method sets the order tax information.
|
void |
setTotalAmount(java.math.BigDecimal newTotalAmount)
This method sets the total order amount.
|
public static final java.lang.String COPYRIGHT
public Address getBillTo()
public java.lang.String getComment()
public java.lang.String getCurrency()
public java.lang.String getMessageId()
payloadID
in the XML messagepublic java.util.Date getOrderDate()
public java.lang.String getOrderId()
public java.lang.String getOrderStatusUrl()
public java.lang.String getOrderType()
public PaymentInfo getPayMethod()
public java.lang.String getShipModeId()
public ShippingInfo getShippingInfo()
public Address getShipTo()
public TaxInfo getTaxInfo()
public java.math.BigDecimal getTotalAmount()
public void setBillTo(Address newBillTo)
newBillTo
- the billing addresspublic void setComment(java.lang.String newComment)
newComment
- the order commentpublic void setCurrency(java.lang.String newCurrency)
newCurrency
- the new currency used to calculate the orderpublic void setMessageId(java.lang.String aMessageId)
aMessageId
- this field is mapped to the payloadID
in the actual XML messagepublic void setOrderDate(java.util.Date newOrderDate)
newOrderDate
- date when this order is createdpublic void setOrderId(java.lang.String newOrderId)
newOrderId
- the ID identifying the current orderpublic void setOrderStatusUrl(java.lang.String newOrderStatusUrl)
newOrderStatusUrl
- the URL to post the order statuspublic void setOrderType(java.lang.String newOrderType)
newOrderType
- the code identifying the order typepublic void setPayMethod(PaymentInfo newPayMethod)
newPayMethod
- the payment method informationpublic void setShipModeId(java.lang.String shipmodeId)
shipmodeId
- the code identifying the shipping modepublic void setShippingInfo(ShippingInfo newShippingInfo)
newShippingInfo
- the shipping informationpublic void setShipTo(Address newShipTo)
newShipTo
- the new shipping addresspublic void setTaxInfo(TaxInfo newTaxInfo)
newTaxInfo
- the tax informationpublic void setTotalAmount(java.math.BigDecimal newTotalAmount)
newTotalAmount
- the total amount