| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 48 | protected function updateParametersFromModel($model) |
||
| 49 | { |
||
| 50 | /** @var \ByTIC\Payments\Gateways\Providers\PlatiOnline\Gateway $modelGateway */ |
||
| 51 | $modelGateway = $model->getPaymentMethod()->getType()->getGateway(); |
||
| 52 | $this->setPrivateKey($modelGateway->getPrivateKey()); |
||
| 53 | $this->setInitialVectorItsn($modelGateway->getInitialVectorItsn()); |
||
| 54 | } |
||
| 56 |