| 1 | <?php |
||
| 4 | class CodeRequest extends AbstractRequest |
||
| 5 | { |
||
| 6 | |||
| 7 | /** |
||
| 8 | * @var int |
||
| 9 | */ |
||
| 10 | protected $imageSize; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | protected $codeType; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * CodeRequest constructor. |
||
| 19 | * |
||
| 20 | * @param string $pageToken |
||
| 21 | * @param int $imageSize |
||
| 22 | * @param string $codeType |
||
| 23 | */ |
||
| 24 | 1 | public function __construct(string $pageToken, int $imageSize, string $codeType) |
|
| 31 | |||
| 32 | /** |
||
| 33 | * @return array |
||
| 34 | */ |
||
| 35 | 1 | protected function buildHeaders(): array |
|
| 41 | |||
| 42 | /** |
||
| 43 | * @return array |
||
| 44 | */ |
||
| 45 | 1 | protected function buildBody(): array |
|
| 54 | |||
| 55 | /** |
||
| 56 | * @return array |
||
| 57 | */ |
||
| 58 | 1 | protected function buildQuery(): array |
|
| 62 | } |