-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto-updating Spryker modules on 2023-12-07 10:46 for release group #…
…5164 / Jira ticket PBC-3553 (#403) * Applied release group `PBC-3553 Added TaxApp compatibility with Dynamic Multi Store`, RG link https://api.release.spryker.com/release-group/5164 * ACP-1420: Fixed TaxApp tests * ACP-1420: Composer update * ACP-1420: Composer update * PBC-3241: Integration * PBC-3241: Integration [1] * PBC-3241: Integration [2] * PBC-3241: Integration [3] --------- Co-authored-by: upgrader <upgrader@spryker.com> Co-authored-by: Anton Zubariev <anton.zubariev@spryker.com>
- Loading branch information
1 parent
40140e9
commit 2c1eae1
Showing
9 changed files
with
106 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of the Spryker Commerce OS. | ||
* For full license information, please view the LICENSE file that was distributed with this source code. | ||
*/ | ||
|
||
namespace Pyz\Zed\TaxApp; | ||
|
||
use Spryker\Zed\Calculation\Communication\Plugin\Calculator\ItemTaxAmountFullAggregatorPlugin; | ||
use Spryker\Zed\Calculation\Communication\Plugin\Calculator\PriceToPayAggregatorPlugin; | ||
use Spryker\Zed\Tax\Communication\Plugin\Calculator\TaxAmountAfterCancellationCalculatorPlugin; | ||
use Spryker\Zed\Tax\Communication\Plugin\Calculator\TaxAmountCalculatorPlugin; | ||
use Spryker\Zed\Tax\Communication\Plugin\Calculator\TaxRateAverageAggregatorPlugin; | ||
use Spryker\Zed\TaxApp\TaxAppDependencyProvider as SprykerTaxAppDependencyProvider; | ||
|
||
class TaxAppDependencyProvider extends SprykerTaxAppDependencyProvider | ||
{ | ||
/** | ||
* {@inheritDoc} | ||
* | ||
* @return array<\Spryker\Zed\CalculationExtension\Dependency\Plugin\CalculationPluginInterface> | ||
*/ | ||
protected function getFallbackQuoteCalculationPlugins(): array | ||
{ | ||
return [ | ||
new TaxAmountCalculatorPlugin(), | ||
new ItemTaxAmountFullAggregatorPlugin(), | ||
new PriceToPayAggregatorPlugin(), | ||
new TaxRateAverageAggregatorPlugin(), | ||
]; | ||
} | ||
|
||
/** | ||
* {@inheritDoc} | ||
* | ||
* @return array<\Spryker\Zed\CalculationExtension\Dependency\Plugin\CalculationPluginInterface> | ||
*/ | ||
protected function getFallbackOrderCalculationPlugins(): array | ||
{ | ||
return [ | ||
new TaxAmountCalculatorPlugin(), | ||
new ItemTaxAmountFullAggregatorPlugin(), | ||
new PriceToPayAggregatorPlugin(), | ||
new TaxAmountAfterCancellationCalculatorPlugin(), | ||
]; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.