@@ 52-59 (lines=8) @@ | ||
49 | return $this->serializer->deserialize(AuthCertKeyResponse::class, $result); |
|
50 | } |
|
51 | ||
52 | public function authCert(AuthCertRequest $request): AuthCertResponse |
|
53 | { |
|
54 | $body = $this->serializer->serialize($request); |
|
55 | $result = $this->request('POST', '/api/v3/auth/cert/', $body); |
|
56 | ||
57 | /* @noinspection PhpIncompatibleReturnTypeInspection */ |
|
58 | return $this->serializer->deserialize(AuthCertResponse::class, $result); |
|
59 | } |
|
60 | ||
61 | public function facadeOrder(string $token, FacadeOrderRequest $request): FacadeOrderResponse |
|
62 | { |
|
@@ 61-68 (lines=8) @@ | ||
58 | return $this->serializer->deserialize(AuthCertResponse::class, $result); |
|
59 | } |
|
60 | ||
61 | public function facadeOrder(string $token, FacadeOrderRequest $request): FacadeOrderResponse |
|
62 | { |
|
63 | $body = $this->serializer->serialize($request); |
|
64 | $result = $this->request('POST', '/api/v3/facade/order/', $body, null, $token); |
|
65 | ||
66 | /* @noinspection PhpIncompatibleReturnTypeInspection */ |
|
67 | return $this->serializer->deserialize(FacadeOrderResponse::class, $result); |
|
68 | } |
|
69 | ||
70 | public function facadeOrderDetails(string $token, string $orderId): FacadeOrderDetailsResponse |
|
71 | { |