com.ibm.commerce.me.datatype
Class PurchaseOrderItem

java.lang.Object
  |
  +--com.ibm.commerce.me.datatype.PurchaseOrderItem
All Implemented Interfaces:
java.io.Serializable

public class PurchaseOrderItem
extends java.lang.Object
implements java.io.Serializable

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.

See Also:
Serialized Form

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
IBM Copyright field
See Also:
Constant Field Values
Constructor Detail

PurchaseOrderItem

public PurchaseOrderItem()
PurchaseOrderItem default constructor.
Method Detail

getClassificationCode

public java.lang.String getClassificationCode()
Gets the classification code for this item
Returns:
the classification code

getClassificationDomain

public java.lang.String getClassificationDomain()
Gets the domain of the classification code for this item
Returns:
the domain of the classification code

getComments

public java.lang.String getComments()
Gets the comments
Returns:
the comments of this item in the order

getCurrency

public java.lang.String getCurrency()
Gets the currency used for the price of this item
Returns:
the currency used for the price

getDescription

public java.lang.String getDescription()
Gets the description of the item
Returns:
the item description

getItemAttrName

public java.lang.String getItemAttrName()
Gets the item attribute name
Returns:
the attribute name of the item

getItemAttrValue

public java.lang.String getItemAttrValue()
Gets the item attribute value
Returns:
the attribute value of the item

getItemId

public java.lang.String getItemId()
Gets the id of the item
Returns:
the item id

getItemPrice

public java.math.BigDecimal getItemPrice()
Gets the price of this item
Returns:
the item price

getManufacturerName

public java.lang.String getManufacturerName()
Gets the manufacturer name
Returns:
the manufacturer name

getManufacturerPartID

public java.lang.String getManufacturerPartID()
Gets the manufacturer part number
Returns:
the manufacturer part id

getQuantity

public long getQuantity()
Deprecated.  
Gets the quantiy of this item.
Returns:
the item quantity

getQuantityInDouble

public double getQuantityInDouble()
Gets the quantiy of this item in double data type.
Returns:
the item quantity

getRequestedDeliveryDate

public java.util.Date getRequestedDeliveryDate()
Gets the requsted delivery date for the purchase order request
Returns:
the requsted delivery date

getRequisitionerID

public java.lang.String getRequisitionerID()
Gets the id of the requisitioner who made this purchase order request
Returns:
the id of the requisitioner

getRequisitionerName

public java.lang.String getRequisitionerName()
Gets the name of the requisitioner who made this purchase order request
Returns:
the name of the requisitioner who made this purchase order request

getShipModeId

public java.lang.String getShipModeId()
Gets the shipping mode
Returns:
the shipping mode

getShippingInfo

public ShippingInfo getShippingInfo()
Gets the name of the shipping info of this purchase order request
Returns:
the shipping information

getShipTo

public Address getShipTo()
Gets the ship to address
Returns:
the ship to address

getShoppingCartId

public long getShoppingCartId()
Gets the shopping cart Id
Returns:
the shopping card id

getSupplierPartAuxiliaryID

public java.lang.String getSupplierPartAuxiliaryID()
Gets the supplier part auxiliary id (orders id)
Returns:
the supplier part auxiliary id (orders id)

getTaxInfo

public TaxInfo getTaxInfo()
Gets the tax information
Returns:
the tax information

getUnitOfMeasure

public java.lang.String getUnitOfMeasure()
Gets the unit of measure for this item
Returns:
the unit of measure for this item

setClassificationCode

public void setClassificationCode(java.lang.String newClassificationCode)
Sets the classification code for this item
Parameters:
newClassificationCode - the new classification code

setClassificationDomain

public void setClassificationDomain(java.lang.String newClassificationDomain)
Sets the domain of the classification code for this item
Parameters:
newClassificationDomain - the new domain of the classification code

setComments

public void setComments(java.lang.String newComments)
Sets the comments
Parameters:
newComments - the new comments

setCurrency

public void setCurrency(java.lang.String newCurrency)
Sets the currency used for the price of this item
Parameters:
newCurrency - the new currency used for the price

setDescription

public void setDescription(java.lang.String newDescription)
Sets the description of the item
Parameters:
newDescription - the new item description

setItemAttrName

public void setItemAttrName(java.lang.String ItemAttrName)
Sets the item attribute name
Parameters:
ItemAttrName - the new item attribute name

setItemAttrValue

public void setItemAttrValue(java.lang.String ItemAttrValue)
Sets the item attribute value
Parameters:
ItemAttrValue - the new item attribute value

setItemId

public void setItemId(java.lang.String newItemId)
Sets the id of the item
Parameters:
newItemId - the new item id

setItemPrice

public void setItemPrice(java.math.BigDecimal newItemPrice)
Sets the price of this item
Parameters:
newItemPrice - the new item price

setManufacturerName

public void setManufacturerName(java.lang.String newManufacturerName)
Sets the manufacturer name
Parameters:
newManufacturerName - the new manufacturer name

setManufacturerPartID

public void setManufacturerPartID(java.lang.String newManufacturerPartID)
Sets the manufacturer part number
Parameters:
newManufacturerPartID - the new manufacturer part number

setQuantity

public void setQuantity(long newQuantity)
Deprecated.  
Sets the quantiy of this item
Parameters:
newQuantity - the new item quantity

setQuantityInDouble

public void setQuantityInDouble(double newQuantityInDouble)
Sets the quantiy of this item in double data type.

setRequestedDeliveryDate

public void setRequestedDeliveryDate(java.util.Date newRequestedDeliveryDate)
Sets the requsted delivery date for the purchase order request
Parameters:
newRequestedDeliveryDate - the requested delivery date

setRequisitionerID

public void setRequisitionerID(java.lang.String newRequisitionerID)
Sets the id of the requisitioner who made this purchase order request
Parameters:
newRequisitionerID - the requisitioner id

setRequisitionerName

public void setRequisitionerName(java.lang.String newRequisitionerName)
Sets the name of the requisitioner who made this purchase order request
Parameters:
newRequisitionerName - the requisitioner name

setShipModeId

public void setShipModeId(java.lang.String shipmodeId)
Sets the id for the shipping mode
Parameters:
shipmodeId - the new shipping mode id

setShippingInfo

public void setShippingInfo(ShippingInfo newShippingInfo)
Sets the shipping information
Parameters:
newShippingInfo - the new shipping information

setShipTo

public void setShipTo(Address newShipTo)
Sets the ship to address
Parameters:
newShipTo - the ship to address

setShoppingCartId

public void setShoppingCartId(long shoppingCartId)
Set the shopping cart id
Parameters:
shoppingCartId - the shopping cart id

setSupplierPartAuxiliaryID

public void setSupplierPartAuxiliaryID(java.lang.String newOrdersId)
Sets the supplier auxiliary part id(orders id) for this item
Parameters:
newOrdersId - the orders id for this order

setTaxInfo

public void setTaxInfo(TaxInfo newTaxInfo)
Sets the tax information
Parameters:
newTaxInfo - the tax information

setUnitOfMeasure

public void setUnitOfMeasure(java.lang.String newUnitOfMeasure)
Sets the unit of measure for this item
Parameters:
newUnitOfMeasure - the unit of measure for this item