<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Tax\Model\Api\SearchCriteria\JoinProcessor; use Magento\Framework\Api\SearchCriteria\CollectionProcessor\JoinProcessor\CustomJoinInterface; use Magento\Framework\Data\Collection\AbstractDb; /** * Class Rate * @package Magento\Tax\Model\Api\SearchCriteria\JoinProcessor */ class Rate implements CustomJoinInterface { /** * @param \Magento\Tax\Model\ResourceModel\Calculation\Rule\Collection $collection * @return true */ public function apply(AbstractDb $collection) { $collection->joinCalculationData('rate'); return true; } }