| Total Complexity | 2 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class ConfirmPurchaseTransactionCollection 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 | $this->converter = $converter; |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @param \Generated\Shared\Transfer\QuoteTransfer $quoteTransfer |
||
| 34 | * |
||
| 35 | * @return \Generated\Shared\Transfer\QuoteTransfer |
||
| 36 | */ |
||
| 37 | public function execute(QuoteTransfer $quoteTransfer): QuoteTransfer |
||
| 44 | } |
||
| 45 | } |
||
| 46 |