| Total Complexity | 2 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class TransactionCollection extends AbstractTransactionCollection implements TransactionCollectionInterface |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var \SprykerEco\Zed\AmazonPay\Business\Converter\AmazonPayConverterInterface |
||
| 17 | */ |
||
| 18 | protected $converter; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param \SprykerEco\Zed\AmazonPay\Business\Payment\Handler\Transaction\AmazonpayTransactionInterface[] $transactionHandlers |
||
| 22 | * @param \SprykerEco\Zed\AmazonPay\Business\Converter\AmazonPayConverterInterface $converter |
||
| 23 | */ |
||
| 24 | public function __construct( |
||
| 25 | array $transactionHandlers, |
||
| 26 | AmazonPayConverterInterface $converter |
||
| 27 | ) { |
||
| 28 | parent::__construct($transactionHandlers); |
||
| 29 | |||
| 30 | $this->converter = $converter; |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @param \Generated\Shared\Transfer\QuoteTransfer $quoteTransfer |
||
| 35 | * |
||
| 36 | * @return \Generated\Shared\Transfer\QuoteTransfer |
||
| 37 | */ |
||
| 38 | public function execute(QuoteTransfer $quoteTransfer) |
||
| 45 | } |
||
| 46 | } |
||
| 47 |