TaxRateManagementInterface.php 584 B

1234567891011121314151617181920212223242526
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Tax\Api;
  7. use Magento\Tax\Api\Data\TaxRateInterface;
  8. /**
  9. * Interface for managing tax rates.
  10. * @api
  11. * @since 100.0.2
  12. */
  13. interface TaxRateManagementInterface
  14. {
  15. /**
  16. * Get rates by customerTaxClassId and productTaxClassId
  17. *
  18. * @param int $customerTaxClassId
  19. * @param int $productTaxClassId
  20. * @return TaxRateInterface[]
  21. */
  22. public function getRatesByCustomerAndProductTaxClassId($customerTaxClassId, $productTaxClassId);
  23. }