Models
ModelInfo
Describes a specific model within a brand in the product catalogue.
Namespace and purpose
Imoli\EflLeasingSdk\Model\Products\ModelInfo represents a single model entry under a brand.
It contains the model name and optional asset type information.
Class definition
- Namespace:
Imoli\EflLeasingSdk\Model\Products - Class: final
ModelInfo
final class ModelInfo
{
public ?string $name;
public ?string $assetType;
public static function fromArray(array $data): self;
}
Properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string|null | No | Model name. |
assetType | string|null | No | Optional asset type classification. |
Methods
| Method | Kind | Return type | Description |
|---|---|---|---|
fromArray() | static | ModelInfo | Creates a model info entry from raw API data (name and optional asset type). |
fromArray() reads name and assetType as strings.
Usage in the SDK
- Nested inside
Brandand ultimately inBrandProductInfoTree. - Indirectly returned by
EflClient::getBrandModelByProductType.