Low-level clients
RestorationApiClient
Low-level client for /Restoration endpoints used to restore customer sessions.
RestorationApiClient provides raw access to /Restoration endpoints.
Methods return HttpResponse and do not use Bearer token authentication.
Class definition
- Namespace:
Imoli\EflLeasingSdk\Api - Constructor: accepts
EflHttpClient $http.
This client is used by EflClient to implement session restoration flows.
Methods
restoreCustomerSession
Low-level wrapper over GET /lon/api/v1/Restoration/RestoreCustomerSession.
public function restoreCustomerSession(string $payByLinkOrderId): HttpResponse
Auth: none.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
payByLinkOrderId | string | Yes | Identifier used in pay-by-link flows. |
Return value
- Type:
HttpResponse– when used viaEflClient, the body is mapped toAuthenticationRestorationResult.
restoreSessionAfterSigning
Low-level wrapper over GET /lon/api/v1/Restoration/RestoreSessionAfterSigning.
public function restoreSessionAfterSigning(string $transactionId): HttpResponse
Auth: none.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
transactionId | string | Yes | Identifier of the transaction. |
Return value
- Type:
HttpResponse– when used viaEflClient, the body is mapped toAuthenticationRestorationResult.