EFL
Models

VerificationInitializationParams

Input parameters for initializing identity verification via BlueMedia.

Namespace and purpose

Imoli\EflLeasingSdk\Model\Verification\VerificationInitializationParams contains personal and address data required to start identity verification with BlueMedia. It is sent to /Customer/InitializeIdentityVerification.

Class definition

  • Namespace: Imoli\EflLeasingSdk\Model\Verification
  • Class: final VerificationInitializationParams
final class VerificationInitializationParams
{
    public static function builder(): VerificationInitializationParamsBuilder;

    public function __construct(
        string $firstName,
        string $lastName,
        string $residenceAddressStreet,
        string $residenceAddressHouseNumber,
        string $residenceAddressPostalCode,
        string $residenceAddressCity,
        string $email
    );

    public function toRequestPayload(): array;
}

Properties

NameTypeRequiredDescription
firstNamestringYesCustomer first name.
lastNamestringYesCustomer last name.
residenceAddressStreetstringYesStreet name of the residence address.
residenceAddressHouseNumberstringYesHouse number of the residence address.
residenceAddressPostalCodestringYesPostal code of the residence address.
residenceAddressCitystringYesCity of the residence address.
emailstringYesCustomer email address.

Methods

MethodKindReturn typeDescription
builder()staticVerificationInitializationParamsBuilderReturns a fluent builder for constructing VerificationInitializationParams instances.
toRequestPayload()instancearray<string,string>Serialises the verification params into the structure expected by EFL.

toRequestPayload() returns an array with all fields mapped directly to their property names.

Usage in the SDK