@@ 53-60 (lines=8) @@ | ||
50 | return $this->serializer->deserialize(AuthCertKeyResponse::class, $result); |
|
51 | } |
|
52 | ||
53 | public function authCert(AuthCertRequest $request): AuthCertResponse |
|
54 | { |
|
55 | $body = $this->serializer->serialize($request); |
|
56 | $result = $this->request('POST', '/api/v3/auth/cert/', $body); |
|
57 | ||
58 | /* @noinspection PhpIncompatibleReturnTypeInspection */ |
|
59 | return $this->serializer->deserialize(AuthCertResponse::class, $result); |
|
60 | } |
|
61 | ||
62 | public function facadeOrder(string $token, FacadeOrderRequest $request): FacadeOrderResponse |
|
63 | { |
|
@@ 62-69 (lines=8) @@ | ||
59 | return $this->serializer->deserialize(AuthCertResponse::class, $result); |
|
60 | } |
|
61 | ||
62 | public function facadeOrder(string $token, FacadeOrderRequest $request): FacadeOrderResponse |
|
63 | { |
|
64 | $body = $this->serializer->serialize($request); |
|
65 | $result = $this->request('POST', '/api/v3/facade/order/', $body, null, $token); |
|
66 | ||
67 | /* @noinspection PhpIncompatibleReturnTypeInspection */ |
|
68 | return $this->serializer->deserialize(FacadeOrderResponse::class, $result); |
|
69 | } |
|
70 | ||
71 | public function facadeOrderDetails(string $token, string $orderId): FacadeOrderDetailsResponse |
|
72 | { |
|
@@ 100-107 (lines=8) @@ | ||
97 | return $this->serializer->deserialize(FacadeDocBodyResponse::class, $result); |
|
98 | } |
|
99 | ||
100 | public function facadeCisList(string $token, FacadeCisListRequest $request): FacadeCisListResponse |
|
101 | { |
|
102 | $body = $this->serializer->serialize($request); |
|
103 | $response = $this->request('POST', '/api/v3/facade/cis/cis_list', $body, null, $token); |
|
104 | ||
105 | /* @noinspection PhpIncompatibleReturnTypeInspection */ |
|
106 | return $this->serializer->deserialize(FacadeCisListResponse::class, $response); |
|
107 | } |
|
108 | ||
109 | public function facadeMarkedProducts(string $token, string $cis): FacadeMarkedProductsResponse |
|
110 | { |