java.lang.Object | +--com.ibm.commerce.me.datatype.PurchaseOrderItem
This class stores information for an item in a purchase order. Information stored includes request delivery date, item ID, shopping cart ID, quantity, requistiioner name, requisitioner ID, item price, currency for the monetary amount, description, unit of measure, classification code for this item, domain code for classification, ship to address, comments, shipping information, tax information, orders id, part id, manufacturer name, ship mode id, item attribute name, item attribute value.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT IBM Copyright field |
Constructor Summary | |
---|---|
PurchaseOrderItem() PurchaseOrderItem default constructor. |
Method Summary | |
---|---|
java.lang.String |
getClassificationCode() Gets the classification code for this item |
java.lang.String |
getClassificationDomain() Gets the domain of the classification code for this item |
java.lang.String |
getComments() Gets the comments |
java.lang.String |
getCurrency() Gets the currency used for the price of this item |
java.lang.String |
getDescription() Gets the description of the item |
java.lang.String |
getItemAttrName() Gets the item attribute name |
java.lang.String |
getItemAttrValue() Gets the item attribute value |
java.lang.String |
getItemId() Gets the id of the item |
java.math.BigDecimal |
getItemPrice() Gets the price of this item |
java.lang.String |
getManufacturerName() Gets the manufacturer name |
java.lang.String |
getManufacturerPartID() Gets the manufacturer part number |
long |
getQuantity() Deprecated. |
double |
getQuantityInDouble() Gets the quantiy of this item in double data type. |
java.util.Date |
getRequestedDeliveryDate() Gets the requsted delivery date for the purchase order request |
java.lang.String |
getRequisitionerID() Gets the id of the requisitioner who made this purchase order request |
java.lang.String |
getRequisitionerName() Gets the name of the requisitioner who made this purchase order request |
java.lang.String |
getShipModeId() Gets the shipping mode |
ShippingInfo |
getShippingInfo() Gets the name of the shipping info of this purchase order request |
Address |
getShipTo() Gets the ship to address |
long |
getShoppingCartId() Gets the shopping cart Id |
java.lang.String |
getSupplierPartAuxiliaryID() Gets the supplier part auxiliary id (orders id) |
TaxInfo |
getTaxInfo() Gets the tax information |
java.lang.String |
getUnitOfMeasure() Gets the unit of measure for this item |
void |
setClassificationCode(java.lang.String newClassificationCode) Sets the classification code for this item |
void |
setClassificationDomain(java.lang.String newClassificationDomain) Sets the domain of the classification code for this item |
void |
setComments(java.lang.String newComments) Sets the comments |
void |
setCurrency(java.lang.String newCurrency) Sets the currency used for the price of this item |
void |
setDescription(java.lang.String newDescription) Sets the description of the item |
void |
setItemAttrName(java.lang.String ItemAttrName) Sets the item attribute name |
void |
setItemAttrValue(java.lang.String ItemAttrValue) Sets the item attribute value |
void |
setItemId(java.lang.String newItemId) Sets the id of the item |
void |
setItemPrice(java.math.BigDecimal newItemPrice) Sets the price of this item |
void |
setManufacturerName(java.lang.String newManufacturerName) Sets the manufacturer name |
void |
setManufacturerPartID(java.lang.String newManufacturerPartID) Sets the manufacturer part number |
void |
setQuantity(long newQuantity) Deprecated. |
void |
setQuantityInDouble(double newQuantityInDouble) Sets the quantiy of this item in double data type. |
void |
setRequestedDeliveryDate(java.util.Date newRequestedDeliveryDate) Sets the requsted delivery date for the purchase order request |
void |
setRequisitionerID(java.lang.String newRequisitionerID) Sets the id of the requisitioner who made this purchase order request |
void |
setRequisitionerName(java.lang.String newRequisitionerName) Sets the name of the requisitioner who made this purchase order request |
void |
setShipModeId(java.lang.String shipmodeId) Sets the id for the shipping mode |
void |
setShippingInfo(
ShippingInfo newShippingInfo) Sets the shipping information |
void |
setShipTo(
Address newShipTo) Sets the ship to address |
void |
setShoppingCartId(long shoppingCartId) Set the shopping cart id |
void |
setSupplierPartAuxiliaryID(java.lang.String newOrdersId) Sets the supplier auxiliary part id(orders id) for this item |
void |
setTaxInfo(
TaxInfo newTaxInfo) Sets the tax information |
void |
setUnitOfMeasure(java.lang.String newUnitOfMeasure) Sets the unit of measure for this item |
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 PurchaseOrderItem()
Method Detail |
---|
public java.lang.String getClassificationCode()
public java.lang.String getClassificationDomain()
public java.lang.String getComments()
public java.lang.String getCurrency()
public java.lang.String getDescription()
public java.lang.String getItemAttrName()
public java.lang.String getItemAttrValue()
public java.lang.String getItemId()
public java.math.BigDecimal getItemPrice()
public java.lang.String getManufacturerName()
public java.lang.String getManufacturerPartID()
public long getQuantity()
public double getQuantityInDouble()
public java.util.Date getRequestedDeliveryDate()
public java.lang.String getRequisitionerID()
public java.lang.String getRequisitionerName()
public java.lang.String getShipModeId()
public ShippingInfo getShippingInfo()
public Address getShipTo()
public long getShoppingCartId()
public java.lang.String getSupplierPartAuxiliaryID()
public TaxInfo getTaxInfo()
public java.lang.String getUnitOfMeasure()
public void setClassificationCode(java.lang.String newClassificationCode)
newClassificationCode
- the new classification
codepublic void setClassificationDomain(java.lang.String newClassificationDomain)
newClassificationDomain
- the new domain of the classification
codepublic void setComments(java.lang.String newComments)
newComments
- the new commentspublic void setCurrency(java.lang.String newCurrency)
newCurrency
- the new currency used for the
pricepublic void setDescription(java.lang.String newDescription)
newDescription
- the new item descriptionpublic void setItemAttrName(java.lang.String ItemAttrName)
ItemAttrName
- the new item attribute namepublic void setItemAttrValue(java.lang.String ItemAttrValue)
ItemAttrValue
- the new item attribute
valuepublic void setItemId(java.lang.String newItemId)
newItemId
- the new item idpublic void setItemPrice(java.math.BigDecimal newItemPrice)
newItemPrice
- the new item pricepublic void setManufacturerName(java.lang.String newManufacturerName)
newManufacturerName
- the new manufacturer
namepublic void setManufacturerPartID(java.lang.String newManufacturerPartID)
newManufacturerPartID
- the new manufacturer part
numberpublic void setQuantity(long newQuantity)
newQuantity
- the new item quantitypublic void setQuantityInDouble(double newQuantityInDouble)
public void setRequestedDeliveryDate(java.util.Date newRequestedDeliveryDate)
newRequestedDeliveryDate
- the requested delivery
datepublic void setRequisitionerID(java.lang.String newRequisitionerID)
newRequisitionerID
- the requisitioner idpublic void setRequisitionerName(java.lang.String newRequisitionerName)
newRequisitionerName
- the requisitioner
namepublic void setShipModeId(java.lang.String shipmodeId)
shipmodeId
- the new shipping mode idpublic void setShippingInfo(ShippingInfo newShippingInfo)
newShippingInfo
- the new shipping
informationpublic void setShipTo(Address newShipTo)
newShipTo
- the ship to addresspublic void setShoppingCartId(long shoppingCartId)
shoppingCartId
- the shopping cart idpublic void setSupplierPartAuxiliaryID(java.lang.String newOrdersId)
newOrdersId
- the orders id for this orderpublic void setTaxInfo(TaxInfo newTaxInfo)
newTaxInfo
- the tax informationpublic void setUnitOfMeasure(java.lang.String newUnitOfMeasure)
newUnitOfMeasure
- the unit of measure for this
item