EFL
Low-level clients

ProductsApiClient

Low-level client for /Products endpoints used to fetch sector, class, type, brand and model information.

ProductsApiClient provides raw access to /Products endpoints. All methods return HttpResponse and require a Bearer token.

Class definition

  • Namespace: Imoli\EflLeasingSdk\Api
  • Constructor: accepts EflHttpClient $http.

It is used by EflClient to expose product-related operations in a typed way.

Methods

getSectorClassAndType

Low-level wrapper over GET /lon/api/v1/Products/GetSectorClassAndType.

public function getSectorClassAndType(
    string $transactionId,
    string $bearerToken
): HttpResponse

Auth: Bearer token.

Parameters

NameTypeRequiredDescription
transactionIdstringYesIdentifier of the transaction.
bearerTokenstringYesBearer token.

Return value


getBrandModelByProductTypeIdAndPartnerGuid

Low-level wrapper over GET /lon/api/v1/Products/GetBrandModelByProductTypeIdAndPartnerGuid.

public function getBrandModelByProductTypeIdAndPartnerGuid(
    string $transactionId,
    int $productTypeId,
    string $bearerToken
): HttpResponse

Auth: Bearer token.

Parameters

NameTypeRequiredDescription
transactionIdstringYesIdentifier of the transaction.
productTypeIdintYesProduct type identifier (sent to the API as string).
bearerTokenstringYesBearer token.

Return value