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
    • requisitioner 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

        Fields 
        Modifier and Type Field and Description
        static java.lang.String COPYRIGHT
        IBM Copyright field
      • Constructor Summary

        Constructors 
        Constructor and Description
        PurchaseOrderItem()
        The PurchaseOrderItem default constructor calls its parents constructor.
      • Method Summary

        All Methods Instance Methods Concrete Methods Deprecated Methods 
        Modifier and Type Method and Description
        java.lang.String getClassificationCode()
        This method gets the classification code for this item.
        java.lang.String getClassificationDomain()
        This method gets the domain of the classification code for this item.
        java.lang.String getComments()
        This method gets the order comments.
        java.lang.String getCurrency()
        This method gets the currency used for the price of this item.
        java.lang.String getDescription()
        This method gets a description of the item.
        java.lang.String getItemAttrName()
        This method gets the item attribute name.
        java.lang.String getItemAttrValue()
        This method gets the item attribute value.
        java.lang.String getItemId()
        This method gets the ID of the item.
        java.math.BigDecimal getItemPrice()
        This method gets the price of this item.
        java.lang.String getManufacturerName()
        This method gets the manufacturer name.
        java.lang.String getManufacturerPartID()
        This method gets the manufacturer part number.
        long getQuantity()
        Deprecated.  
        double getQuantityInDouble()
        This method gets the quantity of this item in double data type.
        java.util.Date getRequestedDeliveryDate()
        This method gets the requested delivery date for the purchase order request.
        java.lang.String getRequisitionerID()
        This method gets the ID of the requisitioner who made this purchase order request.
        java.lang.String getRequisitionerName()
        This method gets the name of the requisitioner who made this purchase order request.
        java.lang.String getShipModeId()
        This method gets the shipping mode.
        ShippingInfo getShippingInfo()
        This method gets the shipping information of this purchase order request.
        Address getShipTo()
        This method gets the ship to address.
        long getShoppingCartId()
        This method gets the shopping cart ID.
        java.lang.String getSupplierPartAuxiliaryID()
        This method gets the supplier part auxiliary ID (orders ID).
        TaxInfo getTaxInfo()
        This method gets the tax information.
        java.lang.String getUnitOfMeasure()
        This method gets the unit of measure for this item.
        void setClassificationCode(java.lang.String newClassificationCode)
        This method sets the classification code for this item.
        void setClassificationDomain(java.lang.String newClassificationDomain)
        This method sets the domain of the classification code for this item.
        void setComments(java.lang.String newComments)
        This method sets the comments.
        void setCurrency(java.lang.String newCurrency)
        This method sets the currency used for the price of this item.
        void setDescription(java.lang.String newDescription)
        This method sets the description of the item.
        void setItemAttrName(java.lang.String ItemAttrName)
        This method sets the item attribute name.
        void setItemAttrValue(java.lang.String ItemAttrValue)
        This method sets the item attribute value.
        void setItemId(java.lang.String newItemId)
        This method sets the ID of the item.
        void setItemPrice(java.math.BigDecimal newItemPrice)
        This method sets the price of this item.
        void setManufacturerName(java.lang.String newManufacturerName)
        This method sets the manufacturer name.
        void setManufacturerPartID(java.lang.String newManufacturerPartID)
        This method sets the manufacturer part number.
        void setQuantity(long newQuantity)
        Deprecated. 
        replaced by setQuantityInDouble
        void setQuantityInDouble(double newQuantityInDouble)
        This method sets the quantity of this item in the double data type.
        void setRequestedDeliveryDate(java.util.Date newRequestedDeliveryDate)
        This method sets the requested delivery date for the purchase order request.
        void setRequisitionerID(java.lang.String newRequisitionerID)
        This method sets the ID of the requisitioner who made this purchase order request.
        void setRequisitionerName(java.lang.String newRequisitionerName)
        This method sets the name of the requisitioner who made this purchase order request.
        void setShipModeId(java.lang.String shipmodeId)
        This method sets the ID for the shipping mode.
        void setShippingInfo(ShippingInfo newShippingInfo)
        This method sets the shipping information.
        void setShipTo(Address newShipTo)
        This method sets the ship to address.
        void setShoppingCartId(long aShoppingCartId)
        This method sets the shopping cart ID.
        void setSupplierPartAuxiliaryID(java.lang.String newOrdersId)
        This method sets the supplier auxiliary part ID(orders ID) for this item.
        void setTaxInfo(TaxInfo newTaxInfo)
        This method sets the tax information.
        void setUnitOfMeasure(java.lang.String newUnitOfMeasure)
        This method sets the unit of measure for this item.
        • Methods inherited from class java.lang.Object

          equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Field Detail

        • COPYRIGHT

          public static final java.lang.String COPYRIGHT
          IBM Copyright field
          See Also:
          Constant Field Values
      • Constructor Detail

        • PurchaseOrderItem

          public PurchaseOrderItem()
          The PurchaseOrderItem default constructor calls its parents constructor.
      • Method Detail

        • getClassificationCode

          public java.lang.String getClassificationCode()
          This method gets the classification code for this item.
          Returns:
          the classification code
        • getClassificationDomain

          public java.lang.String getClassificationDomain()
          This method gets the domain of the classification code for this item.
          Returns:
          the domain of the classification code
        • getComments

          public java.lang.String getComments()
          This method gets the order comments.
          Returns:
          the comments of this item in the order
        • getCurrency

          public java.lang.String getCurrency()
          This method gets the currency used for the price of this item.
          Returns:
          the currency used for the price
        • getDescription

          public java.lang.String getDescription()
          This method gets a description of the item.
          Returns:
          the item description
        • getItemAttrName

          public java.lang.String getItemAttrName()
          This method gets the item attribute name.
          Returns:
          the attribute name of the item
        • getItemAttrValue

          public java.lang.String getItemAttrValue()
          This method gets the item attribute value.
          Returns:
          the attribute value of the item
        • getItemId

          public java.lang.String getItemId()
          This method gets the ID of the item.
          Returns:
          the item ID
        • getItemPrice

          public java.math.BigDecimal getItemPrice()
          This method gets the price of this item.
          Returns:
          the item price
        • getManufacturerName

          public java.lang.String getManufacturerName()
          This method gets the manufacturer name.
          Returns:
          the manufacturer name
        • getManufacturerPartID

          public java.lang.String getManufacturerPartID()
          This method gets the manufacturer part number.
          Returns:
          the manufacturer part ID
        • getQuantity

          public long getQuantity()
          Deprecated. 
          This method gets the quantity of this item.
          Returns:
          the item quantity
        • getQuantityInDouble

          public double getQuantityInDouble()
          This method gets the quantity of this item in double data type.
          Returns:
          the double representation of the item quantity
        • getRequestedDeliveryDate

          public java.util.Date getRequestedDeliveryDate()
          This method gets the requested delivery date for the purchase order request.
          Returns:
          the requested delivery date
        • getRequisitionerID

          public java.lang.String getRequisitionerID()
          This method gets the ID of the requisitioner who made this purchase order request.
          Returns:
          the ID of the requisitioner
        • getRequisitionerName

          public java.lang.String getRequisitionerName()
          This method 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()
          This method gets the shipping mode.
          Returns:
          the shipping mode
        • getShippingInfo

          public ShippingInfo getShippingInfo()
          This method gets the shipping information of this purchase order request.
          Returns:
          the shipping information
        • getShipTo

          public Address getShipTo()
          This method gets the ship to address.
          Returns:
          the ship to address
        • getShoppingCartId

          public long getShoppingCartId()
          This method gets the shopping cart ID.
          Returns:
          the shopping card ID
        • getSupplierPartAuxiliaryID

          public java.lang.String getSupplierPartAuxiliaryID()
          This method gets the supplier part auxiliary ID (orders ID).
          Returns:
          the supplier part auxiliary ID (orders ID)
        • getTaxInfo

          public TaxInfo getTaxInfo()
          This method gets the tax information.
          Returns:
          the tax information
        • getUnitOfMeasure

          public java.lang.String getUnitOfMeasure()
          This method gets the unit of measure for this item.
          Returns:
          the unit of measure for this item
        • setClassificationCode

          public void setClassificationCode(java.lang.String newClassificationCode)
          This method sets the classification code for this item.
          Parameters:
          newClassificationCode - the new classification code
        • setClassificationDomain

          public void setClassificationDomain(java.lang.String newClassificationDomain)
          This method 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)
          This method sets the comments.
          Parameters:
          newComments - the new comment for the item
        • setCurrency

          public void setCurrency(java.lang.String newCurrency)
          This method 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)
          This method sets the description of the item.
          Parameters:
          newDescription - the new item description
        • setItemAttrName

          public void setItemAttrName(java.lang.String ItemAttrName)
          This method sets the item attribute name.
          Parameters:
          ItemAttrName - the new item attribute name
        • setItemAttrValue

          public void setItemAttrValue(java.lang.String ItemAttrValue)
          This method sets the item attribute value.
          Parameters:
          ItemAttrValue - the new item attribute value
        • setItemId

          public void setItemId(java.lang.String newItemId)
          This method sets the ID of the item.
          Parameters:
          newItemId - the new item ID
        • setItemPrice

          public void setItemPrice(java.math.BigDecimal newItemPrice)
          This method sets the price of this item.
          Parameters:
          newItemPrice - the new item price
        • setManufacturerName

          public void setManufacturerName(java.lang.String newManufacturerName)
          This method sets the manufacturer name.
          Parameters:
          newManufacturerName - the new manufacturer name
        • setManufacturerPartID

          public void setManufacturerPartID(java.lang.String newManufacturerPartID)
          This method sets the manufacturer part number.
          Parameters:
          newManufacturerPartID - the new manufacturer part number
        • setQuantity

          public void setQuantity(long newQuantity)
          Deprecated. replaced by setQuantityInDouble
          This method sets the quantity of this item.
          Parameters:
          newQuantity - the new item quantity
        • setQuantityInDouble

          public void setQuantityInDouble(double newQuantityInDouble)
          This method sets the quantity of this item in the double data type.
          Parameters:
          newQuantityInDouble - the double representation of the new item quantity
        • setRequestedDeliveryDate

          public void setRequestedDeliveryDate(java.util.Date newRequestedDeliveryDate)
          This method sets the requested delivery date for the purchase order request.
          Parameters:
          newRequestedDeliveryDate - the requested delivery date
        • setRequisitionerID

          public void setRequisitionerID(java.lang.String newRequisitionerID)
          This method 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)
          This method 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)
          This method sets the ID for the shipping mode.
          Parameters:
          shipmodeId - the new shipping mode ID
        • setShippingInfo

          public void setShippingInfo(ShippingInfo newShippingInfo)
          This method sets the shipping information.
          Parameters:
          newShippingInfo - the new shipping information
        • setShipTo

          public void setShipTo(Address newShipTo)
          This method sets the ship to address.
          Parameters:
          newShipTo - the ship to address
        • setShoppingCartId

          public void setShoppingCartId(long aShoppingCartId)
          This method sets the shopping cart ID.
          Parameters:
          aShoppingCartId - the shopping cart ID
        • setSupplierPartAuxiliaryID

          public void setSupplierPartAuxiliaryID(java.lang.String newOrdersId)
          This method 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)
          This method sets the tax information.
          Parameters:
          newTaxInfo - the tax information
        • setUnitOfMeasure

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