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