| Total Complexity | 4 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | class AuthorizationRequest extends Request implements AuthorizationRequestInterface |
||
| 18 | { |
||
| 19 | use Amount, |
||
| 20 | Currency; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @inheritDoc |
||
| 24 | */ |
||
| 25 | public function getSubAccountId(): ?string |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @inheritDoc |
||
| 32 | */ |
||
| 33 | public function getClearingType(): ?string |
||
| 34 | { |
||
| 35 | return $this->getParameter('clearingtype'); |
||
| 36 | } |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @inheritDoc |
||
| 40 | */ |
||
| 41 | public function getReference(): ?string |
||
| 44 | } |
||
| 45 | |||
| 46 | /** |
||
| 47 | * Sets the custom reference of this transaction. |
||
| 48 | * |
||
| 49 | * @param string $reference The reference for this transaction. |
||
| 50 | * @return $this |
||
| 51 | */ |
||
| 52 | public function setReference(string $reference): self |
||
| 56 | } |
||
| 57 | } |
||
| 58 |