| Total Complexity | 2 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class CaptureTransactionChecker implements CaptureTransactionCheckerInterface |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var \SprykerEco\Zed\Heidelpay\Persistence\HeidelpayQueryContainerInterface |
||
| 17 | */ |
||
| 18 | protected $heidelpayQueryContainer; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param \SprykerEco\Zed\Heidelpay\Persistence\HeidelpayQueryContainerInterface $heidelpayQueryContainer |
||
| 22 | */ |
||
| 23 | public function __construct(HeidelpayQueryContainerInterface $heidelpayQueryContainer) |
||
| 24 | { |
||
| 25 | $this->heidelpayQueryContainer = $heidelpayQueryContainer; |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * {@inheritDoc} |
||
| 30 | */ |
||
| 31 | public function isSuccessful(SpySalesOrderItem $orderItem): bool |
||
| 38 | } |
||
| 39 | } |
||
| 40 |