[add]: eco routes, services and enums

This commit is contained in:
VivianDee
2025-07-25 15:14:30 +01:00
parent 5c99bf96c2
commit cb0d9938c6
27 changed files with 857 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
from .transaction_type import TransactionType
+7
View File
@@ -0,0 +1,7 @@
from enum import Enum
class InstallmentStatus(str, Enum):
PENDING = 'PENDING'
PAID = 'PAID'
OVERDUE = 'OVERDUE'
PARTIALLY_PAID = 'PARTIALLY_PAID'
+8
View File
@@ -0,0 +1,8 @@
from enum import Enum
class LoanStatus(str, Enum):
PENDING = 'PENDING'
ACTIVE = 'ACTIVE'
PAID = 'PAID'
DEFAULTED = 'DEFAULTED'
CLOSED = 'CLOSED'
+10
View File
@@ -0,0 +1,10 @@
from enum import Enum
class TransactionType(str, Enum):
ELIGIBILITY_CHECK = "eligibility_check"
GET_OFFERS = "get_offers"
LOAN_INFORMATION = "loan_information"
INFLOW_NOTIFICATION = "inflow_notification"
LOW_BALANCE_NOTIFICATION = "low_balance_notification"
PROVIDE_LOAN = "provide_loan"
REPAYMENT = "repayment"