Class WeightPackageSessionLine
java.lang.Object
org.apache.ofbiz.shipment.weightPackage.WeightPackageSessionLine
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorDescriptionWeightPackageSessionLine
(String orderId, BigDecimal packageWeight, BigDecimal packageLength, BigDecimal packageWidth, BigDecimal packageHeight, String shipmentBoxTypeId, int weightPackageSeqId) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
applyLineToPackage
(String shipmentId, GenericValue userLogin, LocalDispatcher dispatcher, int shipPackSeqId) Apply line to package.Gets order id.Gets package height.Gets package length.Gets package weight.Gets package width.Gets shipment box type id.Gets shipment item seq id.int
Gets weight package seq id.void
setOrderId
(String orderId) Sets order id.void
setPackageHeight
(BigDecimal packageHeight) Sets package height.void
setPackageLength
(BigDecimal packageLength) Sets package length.void
setPackageWeight
(BigDecimal packageWeight) Sets package weight.void
setPackageWidth
(BigDecimal packageWidth) Sets package width.void
setShipmentBoxTypeId
(String shipmentBoxTypeId) Sets shipment box type id.void
setShipmentItemSeqId
(String shipmentItemSeqId) Sets shipment item seq id.void
setWeightPackageSeqId
(int weightPackageSeqId) Sets weight package seq id.
-
Constructor Details
-
WeightPackageSessionLine
public WeightPackageSessionLine(String orderId, BigDecimal packageWeight, BigDecimal packageLength, BigDecimal packageWidth, BigDecimal packageHeight, String shipmentBoxTypeId, int weightPackageSeqId) throws GeneralException - Throws:
GeneralException
-
-
Method Details
-
getOrderId
Gets order id.- Returns:
- the order id
-
setOrderId
Sets order id.- Parameters:
orderId
- the order id
-
getPackageWeight
Gets package weight.- Returns:
- the package weight
-
setPackageWeight
Sets package weight.- Parameters:
packageWeight
- the package weight
-
getPackageLength
Gets package length.- Returns:
- the package length
-
setPackageLength
Sets package length.- Parameters:
packageLength
- the package length
-
getPackageWidth
Gets package width.- Returns:
- the package width
-
setPackageWidth
Sets package width.- Parameters:
packageWidth
- the package width
-
getPackageHeight
Gets package height.- Returns:
- the package height
-
setPackageHeight
Sets package height.- Parameters:
packageHeight
- the package height
-
getShipmentBoxTypeId
Gets shipment box type id.- Returns:
- the shipment box type id
-
setShipmentBoxTypeId
Sets shipment box type id.- Parameters:
shipmentBoxTypeId
- the shipment box type id
-
getWeightPackageSeqId
public int getWeightPackageSeqId()Gets weight package seq id.- Returns:
- the weight package seq id
-
setWeightPackageSeqId
public void setWeightPackageSeqId(int weightPackageSeqId) Sets weight package seq id.- Parameters:
weightPackageSeqId
- the weight package seq id
-
getShipmentItemSeqId
Gets shipment item seq id.- Returns:
- the shipment item seq id
-
setShipmentItemSeqId
Sets shipment item seq id.- Parameters:
shipmentItemSeqId
- the shipment item seq id
-
applyLineToPackage
protected void applyLineToPackage(String shipmentId, GenericValue userLogin, LocalDispatcher dispatcher, int shipPackSeqId) throws GeneralException Apply line to package.- Parameters:
shipmentId
- the shipment iduserLogin
- the user logindispatcher
- the dispatchershipPackSeqId
- the ship pack seq id- Throws:
GeneralException
- the general exception
-