1 | <?php |
||
23 | class CustomerEmailConfirmRequest extends AbstractApiRequest |
||
24 | { |
||
25 | protected $resultClass = '\Commercetools\Core\Model\Customer\Customer'; |
||
26 | |||
27 | const TOKEN_VALUE = 'tokenValue'; |
||
28 | |||
29 | /** |
||
30 | * @var string |
||
31 | */ |
||
32 | protected $tokenValue; |
||
33 | |||
34 | /** |
||
35 | * @param string $tokenValue |
||
36 | * @param Context $context |
||
37 | */ |
||
38 | 4 | public function __construct($tokenValue, Context $context = null) |
|
43 | |||
44 | /** |
||
45 | * @param string $tokenValue |
||
46 | * @param Context $context |
||
47 | * @return static |
||
48 | */ |
||
49 | 4 | public static function ofToken($tokenValue, Context $context = null) |
|
53 | |||
54 | /** |
||
55 | * @return string |
||
56 | * @internal |
||
57 | */ |
||
58 | 4 | protected function getPath() |
|
62 | |||
63 | /** |
||
64 | * @return JsonRequest |
||
65 | * @internal |
||
66 | */ |
||
67 | 4 | public function httpRequest() |
|
74 | |||
75 | 1 | public function buildResponse(ResponseInterface $response) |
|
79 | } |
||
80 |