com.ibm.commerce.order.history

Class HistoryOrderItem

  • java.lang.Object
    • com.ibm.commerce.order.history.HistoryOrderItem
  • All Implemented Interfaces:
    XMLRecordable


    public class HistoryOrderItem
    extends java.lang.Object
    implements XMLRecordable
    This class is used to track order history item information. It can be used to get the XML element from an com.ibm.commerce.order.objects.OrderItemAccessBean or get HistoryOrderItem from the XML.
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM copyright notice fields.
        See Also:
        Constant Field Values
    • Constructor Detail

      • HistoryOrderItem

        public HistoryOrderItem()
    • Method Detail

      • getAddressId

        public java.lang.Long getAddressId()
        Gets addressId
        Returns:
        addressId
      • getAllocatedFulfillmentCenterId

        public java.lang.Integer getAllocatedFulfillmentCenterId()
        Gets allocated Fulfillment Center Id
        Returns:
        allocatedFulfillmentCenterId
      • getAllocatedQuantity

        public java.lang.Integer getAllocatedQuantity()
        Gets allocated Quantity
        Returns:
        allocatedQuantity
      • getAllocationAddressId

        public java.lang.Long getAllocationAddressId()
        Gets allocation Address Id
        Returns:
        allocationAddressId
      • getAllocationGroup

        public java.lang.Long getAllocationGroup()
        Gets allocation Group
        Returns:
        allocationGroup
      • getAvailableQuantity

        public java.lang.Integer getAvailableQuantity()
        Gets available Quantity
        Returns:
        available Quantity
      • getBasePrice

        public java.math.BigDecimal getBasePrice()
        Gets base Price
        Returns:
        basePrice
      • getBasePriceCurrency

        public java.lang.String getBasePriceCurrency()
        Gets base Price Currency
        Returns:
        base Price Currency
      • getCatalogEntryId

        public java.lang.Long getCatalogEntryId()
        Gets catalog Entry Id
        Returns:
        catalogEntryId
      • getComment

        public java.lang.String getComment()
        Gets comment for this order item
        Returns:
        comment
      • getConfigurationId

        public java.lang.String getConfigurationId()
        Gets configuration Id
        Returns:
        configurationId
      • getContractId

        public java.lang.Long getContractId()
        Gets contract Id
        Returns:
        contractId
      • getCorrelationGroup

        public java.lang.Long getCorrelationGroup()
        Gets correlation Group
        Returns:
        correlationGroup
      • getCurrency

        public java.lang.String getCurrency()
        Gets currency
        Returns:
        currency
      • getDescription

        public java.lang.String getDescription()
        Gets description
        Returns:
        description
      • getEstimatedAvailableTime

        public java.sql.Timestamp getEstimatedAvailableTime()
        Gets estimated Available Time
        Returns:
        estimated Available Time
      • getField1

        public java.lang.Integer getField1()
        Gets field1
        Returns:
        field1
      • getField2

        public java.lang.String getField2()
        Gets field2
        Returns:
        field2
      • getFulfillmentCenterId

        public java.lang.Integer getFulfillmentCenterId()
        Gets fulfillment Center Id
        Returns:
        fulfillmentCenterId
      • getFulfillmentStatus

        public java.lang.String getFulfillmentStatus()
        Gets fulfillment Status
        Returns:
        fulfillment Status
      • getInventoryStatus

        public java.lang.String getInventoryStatus()
        Gets inventory Status
        Returns:
        inventory Status
      • getIsExpedited

        public java.lang.String getIsExpedited()
        Gets isExpedited
        Returns:
        isExpedited
      • getItemSpecId

        public java.lang.Long getItemSpecId()
        Gets item Specification Id
        Returns:
        item Specification Id
      • getLastAllocatedUpdate

        public java.sql.Timestamp getLastAllocatedUpdate()
        Gets last allocated update timestamp
        Returns:
        last Allocated Update
      • getLastUpdate

        public java.sql.Timestamp getLastUpdate()
        Gets last update timestamp
        Returns:
        lastUpdate
      • getLineItemType

        public java.lang.String getLineItemType()
        Gets line item type
        Returns:
        lineItemType
      • getMemberId

        public java.lang.Long getMemberId()
        Gets member id
        Returns:
        memberId
      • getNeededQuantity

        public java.lang.Integer getNeededQuantity()
        Gets needed quantity
        Returns:
        neededQuantity
      • getOfferId

        public java.lang.Long getOfferId()
        Gets offer id
        Returns:
        offerId
      • getOrderId

        public java.lang.Long getOrderId()
        Gets order id
        Returns:
        orderId
      • getOrderItemId

        public java.lang.Long getOrderItemId()
        Gets order item id
        Returns:
        orderItemId
      • getOrderReleaseNumber

        public java.lang.Integer getOrderReleaseNumber()
        Gets order release number
        Returns:
        orderReleaseNumber
      • getOutputqID

        public java.lang.Long getOutputqID()
        Gets outputqID
        Returns:
        outputqID
      • getPartNumber

        public java.lang.String getPartNumber()
        Gets part number
        Returns:
        partNumber
      • getPrepareFlags

        public java.lang.Integer getPrepareFlags()
        Gets prepare Flags
        Returns:
        prepareFlags
      • getPrice

        public java.math.BigDecimal getPrice()
        Gets price
        Returns:
        price
      • getPromisedAvailableTime

        public java.sql.Timestamp getPromisedAvailableTime()
        Gets promised available time
        Returns:
        promisedAvailableTime
      • getQuantity

        public java.lang.Double getQuantity()
        Gets quantity
        Returns:
        quantity
      • getRequestedShipDate

        public java.sql.Timestamp getRequestedShipDate()
        Gets requested ship date
        Returns:
        requestedShipDate
      • getShippingCharge

        public java.math.BigDecimal getShippingCharge()
        Gets shipping charge
        Returns:
        shippingCharge
      • getShippingModeId

        public java.lang.Integer getShippingModeId()
        Gets shipping mode id
        Returns:
        shippingModeId
      • getShippingOffset

        public java.lang.Integer getShippingOffset()
        Gets shipping offset
        Returns:
        shippingOffset
      • getShippingTaxAmount

        public java.math.BigDecimal getShippingTaxAmount()
        Gets shipping tax amount
        Returns:
        shippingTaxAmount
      • getStatus

        public java.lang.String getStatus()
        Gets order item status
        Returns:
        status
      • getStoreId

        public java.lang.Integer getStoreId()
        Gets store id
        Returns:
        storeId
      • getSupplierData

        public java.lang.String getSupplierData()
        Gets supplier data
        Returns:
        supplierData
      • getSupplierPartNumber

        public java.lang.String getSupplierPartNumber()
        Gets supplier part number
        Returns:
        supplierPartNumber
      • getTaxAmount

        public java.math.BigDecimal getTaxAmount()
        Gets tax amount
        Returns:
        taxAmount
      • getTaxes

        public java.util.Hashtable getTaxes()
        Gets taxes
        Returns:
        taxes
      • getTermAndConditionId

        public java.lang.Long getTermAndConditionId()
        Gets term and condition id
        Returns:
        termAndConditionId
      • getTieCode

        public java.lang.Short getTieCode()
        Gets tie code
        Returns:
        tieCode
      • getTimeCreated

        public java.sql.Timestamp getTimeCreated()
        Gets time created
        Returns:
        timeCreated
      • getTimeReleased

        public java.sql.Timestamp getTimeReleased()
        Gets time released
        Returns:
        timeReleased
      • getTimeShipped

        public java.sql.Timestamp getTimeShipped()
        Gets time shipped
        Returns:
        timeShipped
      • getTotalAdjustment

        public java.math.BigDecimal getTotalAdjustment()
        Gets total adjustment
        Returns:
        totalAdjustment
      • getTotalProduct

        public java.math.BigDecimal getTotalProduct()
        Gets total product
        Returns:
        totalProduct
      • getTrackingDate

        public java.sql.Timestamp getTrackingDate()
        Gets tracking date
        Returns:
        trackingDate
      • getTrackingNumber

        public java.lang.String getTrackingNumber()
        Gets tracking number
        Returns:
        tracking number
      • setAddressId

        public void setAddressId(java.lang.Long long1)
        Sets addressId
        Parameters:
        long1 - addressId
      • setAllocatedFulfillmentCenterId

        public void setAllocatedFulfillmentCenterId(java.lang.Integer integer)
        Sets allocated fulfillment center id
        Parameters:
        integer - allocatedFulfillmentCenterId
      • setAllocatedQuantity

        public void setAllocatedQuantity(java.lang.Integer integer)
        Sets allocated quantity
        Parameters:
        integer - allocatedQuantity
      • setAllocationAddressId

        public void setAllocationAddressId(java.lang.Long long1)
        Sets allocation address id
        Parameters:
        long1 - allocationAddressId
      • setAllocationGroup

        public void setAllocationGroup(java.lang.Long long1)
        Sets allocation group
        Parameters:
        long1 - allocationGroup
      • setAvailableQuantity

        public void setAvailableQuantity(java.lang.Integer integer)
        Sets available quantity
        Parameters:
        integer - availableQuantity
      • setBasePrice

        public void setBasePrice(java.math.BigDecimal decimal)
        Sets base price
        Parameters:
        decimal - basePrice
      • setBasePriceCurrency

        public void setBasePriceCurrency(java.lang.String string)
        Sets base price currency
        Parameters:
        string - basePriceCurrency
      • setCatalogEntryId

        public void setCatalogEntryId(java.lang.Long long1)
        Sets catalog entry id
        Parameters:
        long1 - catalogEntryId
      • setComment

        public void setComment(java.lang.String string)
        Sets comment
        Parameters:
        string - comment
      • setConfigurationId

        public void setConfigurationId(java.lang.String string)
        Sets configuration id
        Parameters:
        string - configurationId
      • setContractId

        public void setContractId(java.lang.Long long1)
        Sets contract id
        Parameters:
        long1 - contractId
      • setCorrelationGroup

        public void setCorrelationGroup(java.lang.Long long1)
        Sets correlation group
        Parameters:
        long1 - correlationGroup
      • setCurrency

        public void setCurrency(java.lang.String string)
        Sets currency
        Parameters:
        string - currency
      • setDescription

        public void setDescription(java.lang.String string)
        Sets description
        Parameters:
        string - description
      • setEstimatedAvailableTime

        public void setEstimatedAvailableTime(java.sql.Timestamp timestamp)
        Sets estimated available time
        Parameters:
        timestamp - estimatedAvailableTime
      • setField1

        public void setField1(java.lang.Integer integer)
        Sets field1
        Parameters:
        integer - field1
      • setField2

        public void setField2(java.lang.String string)
        Sets field2
        Parameters:
        string - field2
      • setFulfillmentCenterId

        public void setFulfillmentCenterId(java.lang.Integer integer)
        Sets fulfillmentCenter id
        Parameters:
        integer - fulfillmentCenterId
      • setFulfillmentStatus

        public void setFulfillmentStatus(java.lang.String string)
        Sets fulfillment status
        Parameters:
        string - fulfillmentStatus
      • setInventoryStatus

        public void setInventoryStatus(java.lang.String string)
        Sets inventory status
        Parameters:
        string - inventoryStatus
      • setIsExpedited

        public void setIsExpedited(java.lang.String string)
        Sets isExpedited
        Parameters:
        string - isExpedited
      • setItemSpecId

        public void setItemSpecId(java.lang.Long long1)
        Set item specification id
        Parameters:
        long1 - itemSpecId
      • setLastAllocatedUpdate

        public void setLastAllocatedUpdate(java.sql.Timestamp timestamp)
        Sets last allocated update timestamp
        Parameters:
        timestamp - lastAllocatedUpdate
      • setLastUpdate

        public void setLastUpdate(java.sql.Timestamp timestamp)
        Sets lastUpdate timestamp
        Parameters:
        timestamp - lastUpdate
      • setLineItemType

        public void setLineItemType(java.lang.String string)
        Sets line item type
        Parameters:
        string - line item type
      • setMemberId

        public void setMemberId(java.lang.Long long1)
        Sets member id
        Parameters:
        long1 - memberId
      • setNeededQuantity

        public void setNeededQuantity(java.lang.Integer integer)
        Sets needed quantity
        Parameters:
        integer - neededQuantity
      • setOfferId

        public void setOfferId(java.lang.Long long1)
        Sets offer id
        Parameters:
        long1 - offerId
      • setOrderId

        public void setOrderId(java.lang.Long long1)
        Sets order id
        Parameters:
        long1 - orderId
      • setOrderItemId

        public void setOrderItemId(java.lang.Long long1)
        Sets order item id
        Parameters:
        long1 - orderItemId
      • setOrderReleaseNumber

        public void setOrderReleaseNumber(java.lang.Integer integer)
        Sets order release number
        Parameters:
        integer - orderReleaseNumber
      • setOutputqID

        public void setOutputqID(java.lang.Long long1)
        Sets outputqID
        Parameters:
        long1 - outputqID
      • setPartNumber

        public void setPartNumber(java.lang.String string)
        Sets part number
        Parameters:
        string - partNumber
      • setPrepareFlags

        public void setPrepareFlags(java.lang.Integer integer)
        Sets prepare flags
        Parameters:
        integer - prepareFlags
      • setPrice

        public void setPrice(java.math.BigDecimal decimal)
        Sets price
        Parameters:
        decimal - price
      • setPromisedAvailableTime

        public void setPromisedAvailableTime(java.sql.Timestamp timestamp)
        Sets promised available time
        Parameters:
        timestamp - promisedAvailableTime
      • setQuantity

        public void setQuantity(java.lang.Double double1)
        Sets order item quantity
        Parameters:
        double1 - quantity
      • setRequestedShipDate

        public void setRequestedShipDate(java.sql.Timestamp timestamp)
        Sets requested ship date
        Parameters:
        timestamp - requestedShipDate
      • setShippingCharge

        public void setShippingCharge(java.math.BigDecimal decimal)
        Sets shipping charge
        Parameters:
        decimal - shippingCharge
      • setShippingModeId

        public void setShippingModeId(java.lang.Integer integer)
        Sets shipping mode Id
        Parameters:
        integer - shippingModeId
      • setShippingOffset

        public void setShippingOffset(java.lang.Integer integer)
        Sets shipping offset
        Parameters:
        integer - shippingOffset
      • setShippingTaxAmount

        public void setShippingTaxAmount(java.math.BigDecimal decimal)
        Sets shipping tax amount
        Parameters:
        decimal - shippingTaxAmount
      • setStatus

        public void setStatus(java.lang.String string)
        Sets status
        Parameters:
        string - status
      • setStoreId

        public void setStoreId(java.lang.Integer integer)
        Sets storeId
        Parameters:
        integer - storeId
      • setSupplierData

        public void setSupplierData(java.lang.String string)
        sets supplier data
        Parameters:
        string - supplierData
      • setSupplierPartNumber

        public void setSupplierPartNumber(java.lang.String string)
        Sets supplier part number
        Parameters:
        string - supplierPartNumber
      • setTaxAmount

        public void setTaxAmount(java.math.BigDecimal decimal)
        Set tax amount
        Parameters:
        decimal - taxAmount
      • setTaxes

        public void setTaxes(java.util.Hashtable hashtable)
        Sets taxes
        Parameters:
        hashtable - taxes
      • setTermAndConditionId

        public void setTermAndConditionId(java.lang.Long long1)
        Set term and condition id
        Parameters:
        long1 - termAndConditionId
      • setTieCode

        public void setTieCode(java.lang.Short short1)
        Sets tie Code
        Parameters:
        short1 - tieCode
      • setTimeCreated

        public void setTimeCreated(java.sql.Timestamp timestamp)
        Sets time Created timestamp
        Parameters:
        timestamp - timeCreated
      • setTimeReleased

        public void setTimeReleased(java.sql.Timestamp timestamp)
        Sets time released
        Parameters:
        timestamp - timeReleased
      • setTimeShipped

        public void setTimeShipped(java.sql.Timestamp timestamp)
        Set time shipped
        Parameters:
        timestamp - timeShipped
      • setTotalAdjustment

        public void setTotalAdjustment(java.math.BigDecimal decimal)
        Sets total adjustment
        Parameters:
        decimal - totalAdjustment
      • setTotalProduct

        public void setTotalProduct(java.math.BigDecimal decimal)
        Sets total product
        Parameters:
        decimal - totalProduct
      • setTrackingDate

        public void setTrackingDate(java.sql.Timestamp timestamp)
        Sets tracking date
        Parameters:
        timestamp - trackingDate
      • setTrackingNumber

        public void setTrackingNumber(java.lang.String string)
        Sets tracking number
        Parameters:
        string - trackingNumber
      • toXML

        public java.lang.String toXML()
        This method converts this object into an XML format representation.
        Specified by:
        toXML in interface XMLRecordable
        Returns:
        the XML string which represents this object.
        See Also:
        XMLRecordable.toXML()
      • fieldsToXML

        public java.lang.String fieldsToXML()
        This converts only this object's fields into an XML format representation.
        Specified by:
        fieldsToXML in interface XMLRecordable
        Returns:
        the XML string just represents this objects's fields.
        See Also:
        XMLRecordable.fieldsToXML()
      • refresh

        public void refresh()
                     throws ECException
        This method syncs this object with the order item bean.
        Throws:
        ECException