| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 42 | public function check(int $idSalesOrderItem): bool |
||
| 43 | { |
||
| 44 | $relationTransfer = $this->reader |
||
| 45 | ->getPaymentCrefoPayOrderItemToCrefoPayNotificationByIdSalesOrderItemAndTransactionStatus( |
||
| 46 | $idSalesOrderItem, |
||
| 47 | $this->config->getNotificationTransactionStatusMerchantPending(), |
||
| 48 | ); |
||
| 49 | |||
| 50 | return $relationTransfer->getIdPaymentCrefoPayOrderItemToCrefoPayNotification() !== null; |
||
| 51 | } |
||
| 53 |