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