| Total Complexity | 4 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 11 | final class AliasAssertInsertRequest extends Request |
||
| 12 | { |
||
| 13 | const API_PATH = '/Payment/v1/Alias/AssertInsert'; |
||
| 14 | const RESPONSE_CLASS = AliasAssertInsertResponse::class; |
||
| 15 | |||
| 16 | use RequestCommonsTrait; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var string |
||
| 20 | * @SerializedName("Token") |
||
| 21 | */ |
||
| 22 | private $token; |
||
| 23 | |||
| 24 | public function __construct(RequestConfig $requestConfig, string $token) |
||
| 29 | } |
||
| 30 | |||
| 31 | public function getToken(): string |
||
| 34 | } |
||
| 35 | |||
| 36 | public function setToken(string $token): self |
||
| 37 | { |
||
| 38 | $this->token = $token; |
||
| 39 | |||
| 40 | return $this; |
||
| 41 | } |
||
| 42 | |||
| 43 | public function execute(): AliasAssertInsertResponse |
||
| 49 | } |
||
| 50 | } |
||
| 51 |