applications/product/src/org/ofbiz/shipment/weightPackage/WeightPackageSession.java
WeightPackageSession
has 51 methods (exceeds 20 allowed). Consider refactoring. Open
Open
@SuppressWarnings("serial")
public class WeightPackageSession implements Serializable {
private static final Debug.OfbizLogger module = Debug.getOfbizLogger(java.lang.invoke.MethodHandles.lookup().lookupClass());
Method getShipmentCostEstimate
has 10 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public synchronized BigDecimal getShipmentCostEstimate(String shippingContactMechId, String shipmentMethodTypeId, String carrierPartyId, String carrierRoleTypeId, String orderId, String productStoreId, List<GenericValue> shippableItemInfo, BigDecimal shippableTotal, BigDecimal shippableWeight, BigDecimal shippableQuantity) {
Method getShipmentCostEstimate
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public BigDecimal getShipmentCostEstimate(GenericValue orderItemShipGroup, String orderId, String productStoreId, List<GenericValue> shippableItemInfo, BigDecimal shippableTotal, BigDecimal shippableWeight, BigDecimal shippableQuantity) {
Method createWeightPackageLine
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public synchronized void createWeightPackageLine(String orderId, BigDecimal packageWeight, BigDecimal packageLength, BigDecimal packageWidth, BigDecimal packageHeight, String shipmentBoxTypeId) throws GeneralException {