Models
FinancialPure
Pure financial breakdown of installments and totals without insurance components.
Namespace and purpose
Imoli\EflLeasingSdk\Model\Calculation\FinancialPure holds the pure financing part of an offer: installment amounts and totals excluding insurance.
It is nested inside OfferFinancial and AssetOfferFinancial.
Class definition
- Namespace:
Imoli\EflLeasingSdk\Model\Calculation - Class: final
FinancialPure
final class FinancialPure
{
public ?float $netInstallmentAmount;
public ?float $vatInstallmentAmount;
public ?float $grossInstallmentAmount;
public ?float $netTotalAmount;
public ?float $grossTotalAmount;
public ?float $netResidualInstallmentAmount;
public function __construct(
?float $netInstallmentAmount,
?float $vatInstallmentAmount,
?float $grossInstallmentAmount,
?float $netTotalAmount,
?float $grossTotalAmount,
?float $netResidualInstallmentAmount
);
public static function fromArray(array $data): self;
}
Properties
| Name | Type | Required | Description |
|---|---|---|---|
netInstallmentAmount | float|null | No | Net amount of a single installment. |
vatInstallmentAmount | float|null | No | VAT part of an installment. |
grossInstallmentAmount | float|null | No | Gross installment amount. |
netTotalAmount | float|null | No | Total net amount over the whole schedule. |
grossTotalAmount | float|null | No | Total gross amount over the whole schedule. |
netResidualInstallmentAmount | float|null | No | Net residual installment amount. |
Methods
| Method | Kind | Return type | Description |
|---|---|---|---|
fromArray() | static | FinancialPure | Creates pure financial data from raw API response, casting numeric fields. |
fromArray() casts numeric fields from the API response.
Usage in the SDK
- Used as
pureinOfferFinancialandAssetOfferFinancial. - Provides detailed financing breakdown for reporting and UI purposes.