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