EFL
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

NameTypeRequiredDescription
netInstallmentAmountfloat|nullNoNet amount of a single installment.
vatInstallmentAmountfloat|nullNoVAT part of an installment.
grossInstallmentAmountfloat|nullNoGross installment amount.
netTotalAmountfloat|nullNoTotal net amount over the whole schedule.
grossTotalAmountfloat|nullNoTotal gross amount over the whole schedule.
netResidualInstallmentAmountfloat|nullNoNet residual installment amount.

Methods

MethodKindReturn typeDescription
fromArray()staticFinancialPureCreates pure financial data from raw API response, casting numeric fields.

fromArray() casts numeric fields from the API response.

Usage in the SDK