| Total Complexity | 2 | 
| Total Lines | 38 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 13 | class IsChargeBackReceivedOmsCondition implements CrefoPayOmsConditionInterface  | 
            ||
| 14 | { | 
            ||
| 15 | /**  | 
            ||
| 16 | * @var \SprykerEco\Zed\CrefoPay\Business\Reader\CrefoPayReaderInterface  | 
            ||
| 17 | */  | 
            ||
| 18 | protected $reader;  | 
            ||
| 19 | |||
| 20 | /**  | 
            ||
| 21 | * @var \SprykerEco\Zed\CrefoPay\CrefoPayConfig  | 
            ||
| 22 | */  | 
            ||
| 23 | protected $config;  | 
            ||
| 24 | |||
| 25 | /**  | 
            ||
| 26 | * @param \SprykerEco\Zed\CrefoPay\Business\Reader\CrefoPayReaderInterface $reader  | 
            ||
| 27 | * @param \SprykerEco\Zed\CrefoPay\CrefoPayConfig $config  | 
            ||
| 28 | */  | 
            ||
| 29 | public function __construct(  | 
            ||
| 30 | CrefoPayReaderInterface $reader,  | 
            ||
| 31 | CrefoPayConfig $config  | 
            ||
| 32 |     ) { | 
            ||
| 33 | $this->reader = $reader;  | 
            ||
| 34 | $this->config = $config;  | 
            ||
| 35 | }  | 
            ||
| 36 | |||
| 37 | /**  | 
            ||
| 38 | * @param int $idSalesOrderItem  | 
            ||
| 39 | *  | 
            ||
| 40 | * @return bool  | 
            ||
| 41 | */  | 
            ||
| 42 | public function check(int $idSalesOrderItem): bool  | 
            ||
| 51 | }  | 
            ||
| 52 | }  | 
            ||
| 53 |