Class WeightCalculationHelper

java.lang.Object
com.broadleafcommerce.fulfillment.service.helper.WeightCalculationHelper

public class WeightCalculationHelper extends Object
  • Field Details

  • Constructor Details

    • WeightCalculationHelper

      public WeightCalculationHelper()
  • Method Details

    • initializeConversionMap

      protected void initializeConversionMap()
    • initializeAliasMap

      protected void initializeAliasMap()
    • add

      public com.broadleafcommerce.fulfillment.common.domain.Weight add(com.broadleafcommerce.fulfillment.common.domain.Weight param1, com.broadleafcommerce.fulfillment.common.domain.Weight param2)
    • normalizeWeight

      public com.broadleafcommerce.fulfillment.common.domain.Weight normalizeWeight(com.broadleafcommerce.fulfillment.common.domain.Weight weight, String toUnitOfMeasure)
    • convertToBaseUnit

      protected com.broadleafcommerce.fulfillment.common.domain.Weight convertToBaseUnit(com.broadleafcommerce.fulfillment.common.domain.Weight param)
    • convertFromBaseUnit

      protected com.broadleafcommerce.fulfillment.common.domain.Weight convertFromBaseUnit(com.broadleafcommerce.fulfillment.common.domain.Weight param, String toUnitOfMeasure)
    • deAliasUnit

      protected com.broadleafcommerce.fulfillment.common.domain.Weight deAliasUnit(com.broadleafcommerce.fulfillment.common.domain.Weight weight)
    • deAliasUnit

      protected String deAliasUnit(String unitOfMeasure)
    • getBaseUnitOfMeasure

      public String getBaseUnitOfMeasure()