java.lang.Objectcom.ibm.commerce.me.datatype.PurchaseOrderHeader
This class encapsulates information for a purchase order. Information stored such as order date, order ID, order type, payload id for the order, total order, currency used, shipping address, billing address, url to which order status is to be posted, shipping information, pay method, tax information, comment, and ship mode.
Field Summary | |
static java.lang.String | COPYRIGHT IBM Copyright field |
Constructor Summary | |
PurchaseOrderHeader() |
Method Summary | |
Address | getBillTo() Gets the billto address |
java.lang.String | getComment() Gets the comment |
java.lang.String | getCurrency() Gets the currency |
java.lang.String | getMessageId() Gets the messageId of the order |
java.util.Date | getOrderDate() Gets the order date. |
java.lang.String | getOrderId() Gets the order identification number |
java.lang.String | getOrderStatusUrl() Gets the order status URL |
java.lang.String | getOrderType() Gets the type of the order |
PaymentInfo | getPayMethod() Gets the payment method |
java.lang.String | getShipModeId() Gets the shipping mode ID |
ShippingInfo | getShippingInfo() Gets the shipping info. |
Address | getShipTo() Gets the shipto address |
TaxInfo | getTaxInfo() Gets the tax info |
java.math.BigDecimal | getTotalAmount() Gets the total amount |
void | setBillTo(Address newBillTo) Sets the billto address |
void | setComment(java.lang.String newComment) Sets the comment |
void | setCurrency(java.lang.String newCurrency) Sets the currency |
void | setMessageId(java.lang.String messageId) Sets the messageId of the order |
void | setOrderDate(java.util.Date newOrderDate) Sets the order date. |
void | setOrderId(java.lang.String newOrderId) Sets the order identification number |
void | setOrderStatusUrl(java.lang.String newOrderStatusUrl) Sets the order status URL |
void | setOrderType(java.lang.String newOrderType) Sets the type of the order |
void | setPayMethod(PaymentInfo newPayMethod) Sets the payment method |
void | setShipModeId(java.lang.String shipmodeId) Sets the ship mode id |
void | setShippingInfo(ShippingInfo newShippingInfo) Sets the shipping info. |
void | setShipTo(Address newShipTo) Sets the shipto address |
void | setTaxInfo(TaxInfo newTaxInfo) Sets the tax info |
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 PurchaseOrderHeader()
Method Detail |
public Address getBillTo()
public java.lang.String getComment()
public java.lang.String getCurrency()
public java.lang.String getMessageId()
public 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)
public void setComment(java.lang.String newComment)
public void setCurrency(java.lang.String newCurrency)
public void setMessageId(java.lang.String messageId)
public void setOrderDate(java.util.Date newOrderDate)
public void setOrderId(java.lang.String newOrderId)
public void setOrderStatusUrl(java.lang.String newOrderStatusUrl)
public void setOrderType(java.lang.String newOrderType)
public void setPayMethod(PaymentInfo newPayMethod)
public void setShipModeId(java.lang.String shipmodeId)
public void setShippingInfo(ShippingInfo newShippingInfo)
public void setShipTo(Address newShipTo)
public void setTaxInfo(TaxInfo newTaxInfo)
public void setTotalAmount(java.math.BigDecimal newTotalAmount)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.