Class PackingSessionLine

java.lang.Object
org.apache.ofbiz.shipment.packing.PackingSessionLine
All Implemented Interfaces:
Serializable

public class PackingSessionLine extends Object implements Serializable
See Also:
  • Constructor Details

  • Method Details

    • getOrderId

      public String getOrderId()
      Gets order id.
      Returns:
      the order id
    • getOrderItemSeqId

      public String getOrderItemSeqId()
      Gets order item seq id.
      Returns:
      the order item seq id
    • getShipGroupSeqId

      public String getShipGroupSeqId()
      Gets ship group seq id.
      Returns:
      the ship group seq id
    • getInventoryItemId

      public String getInventoryItemId()
      Gets inventory item id.
      Returns:
      the inventory item id
    • getProductId

      public String getProductId()
      Gets product id.
      Returns:
      the product id
    • getShipmentItemSeqId

      public String getShipmentItemSeqId()
      Gets shipment item seq id.
      Returns:
      the shipment item seq id
    • setShipmentItemSeqId

      public void setShipmentItemSeqId(String shipmentItemSeqId)
      Sets shipment item seq id.
      Parameters:
      shipmentItemSeqId - the shipment item seq id
    • getQuantity

      public BigDecimal getQuantity()
      Gets quantity.
      Returns:
      the quantity
    • setQuantity

      public void setQuantity(BigDecimal quantity)
      Sets quantity.
      Parameters:
      quantity - the quantity
    • addQuantity

      public void addQuantity(BigDecimal quantity)
      Add quantity.
      Parameters:
      quantity - the quantity
    • getWeight

      public BigDecimal getWeight()
      Gets weight.
      Returns:
      the weight
    • setWeight

      public void setWeight(BigDecimal weight)
      Sets weight.
      Parameters:
      weight - the weight
    • addWeight

      public void addWeight(BigDecimal weight)
      Add weight.
      Parameters:
      weight - the weight
    • getPackageSeq

      public int getPackageSeq()
      Gets package seq.
      Returns:
      the package seq
    • getLength

      public BigDecimal getLength()
      Gets length.
      Returns:
      the length
    • setLength

      public void setLength(BigDecimal length)
      Sets length.
      Parameters:
      length - the length
    • getWidth

      public BigDecimal getWidth()
      Gets width.
      Returns:
      the width
    • setWidth

      public void setWidth(BigDecimal width)
      Sets width.
      Parameters:
      width - the width
    • getHeight

      public BigDecimal getHeight()
      Gets height.
      Returns:
      the height
    • setHeight

      public void setHeight(BigDecimal height)
      Sets height.
      Parameters:
      height - the height
    • getShipmentBoxTypeId

      public String getShipmentBoxTypeId()
      Gets shipment box type id.
      Returns:
      the shipment box type id
    • setShipmentBoxTypeId

      public void setShipmentBoxTypeId(String shipmentBoxTypeId)
      Sets shipment box type id.
      Parameters:
      shipmentBoxTypeId - the shipment box type id
    • getWeightPackageSeqId

      public String getWeightPackageSeqId()
      Gets weight package seq id.
      Returns:
      the weight package seq id
    • setWeightPackageSeqId

      public void setWeightPackageSeqId(String weightPackageSeqId)
      Sets weight package seq id.
      Parameters:
      weightPackageSeqId - the weight package seq id
    • isSameItem

      public boolean isSameItem(PackingSessionLine line)
      Is same item boolean.
      Parameters:
      line - the line
      Returns:
      the boolean
    • issueItemToShipment

      protected void issueItemToShipment(String shipmentId, String picklistBinId, GenericValue userLogin, BigDecimal quantity, LocalDispatcher dispatcher) throws GeneralException
      Issue item to shipment.
      Parameters:
      shipmentId - the shipment id
      picklistBinId - the picklist bin id
      userLogin - the user login
      quantity - the quantity
      dispatcher - the dispatcher
      Throws:
      GeneralException - the general exception
    • applyLineToPackage

      protected void applyLineToPackage(String shipmentId, GenericValue userLogin, LocalDispatcher dispatcher) throws GeneralException
      Apply line to package.
      Parameters:
      shipmentId - the shipment id
      userLogin - the user login
      dispatcher - the dispatcher
      Throws:
      GeneralException - the general exception