Class DefaultTmaRetrieveTaxRateStrategy

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Double retrieveTaxRate​(java.lang.Double price, AbstractOrderEntryModel entry, java.util.List<de.hybris.platform.util.TaxValue> taxes)
      Retrieves the tax rate for an order entry price
      java.lang.Double retrieveTaxRate​(java.lang.Double price, AbstractOrderModel order, java.util.List<de.hybris.platform.util.TaxValue> taxes)
      Retrieves the tax rate for an order price
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultTmaRetrieveTaxRateStrategy

        public DefaultTmaRetrieveTaxRateStrategy()
    • Method Detail

      • retrieveTaxRate

        public java.lang.Double retrieveTaxRate​(java.lang.Double price,
                                                AbstractOrderEntryModel entry,
                                                java.util.List<de.hybris.platform.util.TaxValue> taxes)
        Description copied from interface: TmaRetrieveTaxRateStrategy
        Retrieves the tax rate for an order entry price
        Specified by:
        retrieveTaxRate in interface TmaRetrieveTaxRateStrategy
        Parameters:
        price - the price without taxes for which the taxes will be applied
        entry - the order entry
        taxes - the taxes to be applied
        Returns:
        the tax rate after applying the taxes
      • retrieveTaxRate

        public java.lang.Double retrieveTaxRate​(java.lang.Double price,
                                                AbstractOrderModel order,
                                                java.util.List<de.hybris.platform.util.TaxValue> taxes)
        Description copied from interface: TmaRetrieveTaxRateStrategy
        Retrieves the tax rate for an order price
        Specified by:
        retrieveTaxRate in interface TmaRetrieveTaxRateStrategy
        Parameters:
        price - the price without taxes for which the taxes will be applied
        order - the order with the price to apply the taxes on
        taxes - the taxes to be applied
        Returns:
        the tax rate after applying the taxes