TotalBaseCalculator.php 537 B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Tax\Model\Calculation;
  7. class TotalBaseCalculator extends AbstractAggregateCalculator
  8. {
  9. /**
  10. * {@inheritdoc}
  11. */
  12. protected function roundAmount(
  13. $amount,
  14. $rate = null,
  15. $direction = null,
  16. $type = self::KEY_REGULAR_DELTA_ROUNDING,
  17. $round = true,
  18. $item = null
  19. ) {
  20. return $this->deltaRound($amount, $rate, $direction, $type, $round);
  21. }
  22. }