| Total Complexity | 2 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class IsRefundCallSuccessfulOmsCondition implements CrefoPayOmsConditionInterface |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | protected const REQUEST_TYPE = 'refund'; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var \SprykerEco\Zed\CrefoPay\Business\Reader\CrefoPayReaderInterface |
||
| 21 | */ |
||
| 22 | protected $reader; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param \SprykerEco\Zed\CrefoPay\Business\Reader\CrefoPayReaderInterface $reader |
||
| 26 | */ |
||
| 27 | public function __construct(CrefoPayReaderInterface $reader) |
||
| 28 | { |
||
| 29 | $this->reader = $reader; |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @param int $idSalesOrderItem |
||
| 34 | * |
||
| 35 | * @return bool |
||
| 36 | */ |
||
| 37 | public function check(int $idSalesOrderItem): bool |
||
| 46 | } |
||
| 47 | } |
||
| 48 |