Models
EsbProcessStatus
Enum mirroring the EsbProcessStatus values from the EFL API.
Namespace and purpose
Imoli\EflLeasingSdk\Model\Calculation\EsbProcessStatus is a PHP enum representing the process status values returned by the EFL API.
It is used primarily via CalculationData to describe the lifecycle state of a transaction.
Class definition
- Namespace:
Imoli\EflLeasingSdk\Model\Calculation - Type: enum
EsbProcessStatus
enum EsbProcessStatus: string
{
case TransactionInitialized = 'TransactionInitialized';
case WaitingForResponse = 'WaitingForResponse';
case Kalkulacja = 'Kalkulacja';
case FormularzNip = 'FormularzNIP';
case DaneKontrahenta = 'Dane_kontrahenta';
case Formularz = 'Formularz';
case Lead = 'Lead';
case SlownikiWyszukiwania = 'Słowniki_wyszukiwania';
case MarkaModel = 'MarkaModel';
case DoWeryfikacjiBm = 'Do_weryfikacji_BM';
case DoWeryfikacjiRdo = 'Do_weryfikacji_RDO';
case BmWeryfikacjaKlientaPozytywna = 'BM_weryfikacja_klienta_pozytywna';
case End = 'END';
case ErrorEnd = 'error_end';
case DecyzjaPozytywna = 'decyzja_pozytywna';
case TemporaryEnd = 'temporary_end';
case SposobPodpisuUmowy = 'Sposob_podpisu_umowy';
case DaneKontrahentaDoWydaniaPodpisu = 'Dane_kontrahenta_do_wyd_podpisu';
case DecyzjaPozytywnaPowrot = 'Decyzja_pozytywna_powrot';
case LeadBaw = 'leadBAW';
case PrzekazanieDokumentow = 'Przekazanie_dokumentow';
case PodpisanieUmowyEflBezWp = 'Podpisanie_umowy_EFL_bezWP';
case PodpisanieUmowyEflWp = 'Podpisanie_umowy_EFL_WP';
case Error = 'Error';
case BmWplataWlasna = 'BM_wplata_wlasna';
case KodPowrotu = 'kod_powrotu';
}
Values
Some of the most important enum cases:
| Value | String value | Description |
|---|---|---|
TransactionInitialized | 'TransactionInitialized' | The transaction has been created. |
WaitingForResponse | 'WaitingForResponse' | Waiting for external system response. |
Kalkulacja | 'Kalkulacja' | Calculation in progress. |
FormularzNip | 'FormularzNIP' | NIP form step. |
DaneKontrahenta | 'Dane_kontrahenta' | Customer data entry step. |
Formularz | 'Formularz' | Form step. |
DecyzjaPozytywna | 'decyzja_pozytywna' | Positive decision state. |
DecyzjaPozytywnaPowrot | 'Decyzja_pozytywna_powrot' | Positive decision return state. |
End | 'END' | Terminal state. |
TemporaryEnd | 'temporary_end' | Temporary terminal state. |
ErrorEnd | 'error_end' | Error terminal state. |
Error | 'Error' | Error state. |
The enum contains additional, more detailed statuses (e.g. Lead, SlownikiWyszukiwania, MarkaModel, BmWeryfikacjaKlientaPozytywna, etc.) that correspond directly to backend process stages.
Usage in the SDK
- Populated in
CalculationData::fromArrayfrom thestatusstring. - Can be used in your application logic to branch behaviour based on the current process status.