| Total Complexity | 3 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | class CancelPaymentRequest extends AbstractRequest |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * {@inheritDoc} |
||
| 25 | */ |
||
| 26 | protected function getRelativeUrl(): string |
||
| 27 | { |
||
| 28 | return '/payments/void'; |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * {@inheritDoc} |
||
| 33 | */ |
||
| 34 | public function createModel(): ModelInterface |
||
| 35 | { |
||
| 36 | return new CancelPaymentModel; |
||
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * {@inheritDoc} |
||
| 41 | */ |
||
| 42 | public function getStrategy(): StrategyInterface |
||
| 45 | } |
||
| 46 | } |
||
| 47 |