Total Complexity | 2 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
13 | class RequestAmountCalculator implements RequestAmountCalculatorInterface |
||
14 | { |
||
15 | /** |
||
16 | * @var \SprykerEco\Zed\AmazonPay\Dependency\Facade\AmazonPayToOmsInterface |
||
17 | */ |
||
18 | protected $omsFacade; |
||
19 | |||
20 | /** |
||
21 | * @param \SprykerEco\Zed\AmazonPay\Dependency\Facade\AmazonPayToOmsInterface $omsFacade |
||
22 | */ |
||
23 | public function __construct(AmazonPayToOmsInterface $omsFacade) |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | * @param \Orm\Zed\Sales\Persistence\SpySalesOrder $orderEntity |
||
30 | * @param string $itemsFlag |
||
31 | * |
||
32 | * @return bool |
||
33 | */ |
||
34 | public function shouldChargeShipping(SpySalesOrder $orderEntity, $itemsFlag) |
||
39 |