Class DefaultTmaCalculationService

  • All Implemented Interfaces:
    TmaCalculationService, de.hybris.platform.order.CalculationService, java.io.Serializable, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean

    public class DefaultTmaCalculationService
    extends de.hybris.platform.order.impl.DefaultCalculationService
    implements TmaCalculationService
    Custom implementation of the DefaultCalculationService providing enhancements for Telco specific operations.
    Since:
    6.7
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.internal.service.AbstractService

        de.hybris.platform.servicelayer.internal.service.AbstractService.SerializableDTO
    • Field Summary

      • Fields inherited from class de.hybris.platform.servicelayer.internal.service.AbstractBusinessService

        modelService, sessionService, txManager
      • Fields inherited from class de.hybris.platform.servicelayer.internal.service.AbstractService

        tenant
    • Constructor Detail

      • DefaultTmaCalculationService

        public DefaultTmaCalculationService()
    • Method Detail

      • resetAllValues

        protected void resetAllValues​(AbstractOrderEntryModel entry)
                               throws de.hybris.platform.order.exceptions.CalculationException
        Overrides:
        resetAllValues in class de.hybris.platform.order.impl.DefaultCalculationService
        Throws:
        de.hybris.platform.order.exceptions.CalculationException
      • resetAdditionalCosts

        protected void resetAdditionalCosts​(AbstractOrderModel order,
                                            java.util.Collection<de.hybris.platform.util.TaxValue> relativeTaxValues)
        Overrides:
        resetAdditionalCosts in class de.hybris.platform.order.impl.DefaultCalculationService
      • convertFromNetToGrossPriceIfNeeded

        protected double convertFromNetToGrossPriceIfNeeded​(de.hybris.platform.util.PriceValue priceValue,
                                                            boolean toNet,
                                                            CurrencyModel orderCurrency)
      • getDeliveryCostStrategy

        protected de.hybris.platform.order.strategies.calculation.FindDeliveryCostStrategy getDeliveryCostStrategy()
      • setDeliveryCostStrategy

        public void setDeliveryCostStrategy​(de.hybris.platform.order.strategies.calculation.FindDeliveryCostStrategy deliveryCostStrategy)
      • getPaymentCostStrategy

        protected de.hybris.platform.order.strategies.calculation.FindPaymentCostStrategy getPaymentCostStrategy()
      • setPaymentCostStrategy

        public void setPaymentCostStrategy​(de.hybris.platform.order.strategies.calculation.FindPaymentCostStrategy paymentCostStrategy)
      • getKeyGenerator

        @Deprecated(since="2007")
        protected de.hybris.platform.servicelayer.keygenerator.KeyGenerator getKeyGenerator()
        Deprecated.
        since 2007.
      • setKeyGenerator

        @Deprecated(since="2007")
        public void setKeyGenerator​(de.hybris.platform.servicelayer.keygenerator.KeyGenerator keyGenerator)
        Deprecated.
        since 2007.
      • getDefaultCommonI18NService

        protected de.hybris.platform.servicelayer.i18n.CommonI18NService getDefaultCommonI18NService()
      • setDefaultCommonI18NService

        public void setDefaultCommonI18NService​(de.hybris.platform.servicelayer.i18n.CommonI18NService defaultCommonI18NService)