27 lines
810 B
Python
27 lines
810 B
Python
from flask import session, jsonify
|
|
from app.models.loan import Loan
|
|
from app.utils.logger import logger
|
|
from app.api.services.base_service import BaseService
|
|
# from app.api.schemas.eligibility_check import EligibilityCheckSchema
|
|
from marshmallow import ValidationError
|
|
from app.api.enums import TransactionType
|
|
# from app.api.integrations import SimbrellaIntegration
|
|
# from app.extensions import db
|
|
from app.models import Offer, RACCheck
|
|
# from app.api.services.offer_analysis import OfferAnalysis
|
|
# from app.api.helpers.response_helper import ResponseHelper
|
|
|
|
import random
|
|
|
|
|
|
class EligibilityCheckService(BaseService):
|
|
TRANSACTION_TYPE = TransactionType.ELIGIBILITY_CHECK
|
|
|
|
@staticmethod
|
|
def process_request(data):
|
|
pass
|
|
|
|
|
|
@staticmethod
|
|
def check_loan_limits(customer_id):
|
|
pass |