first commit
This commit is contained in:
@@ -0,0 +1,86 @@
|
||||
|
||||
namespace CRIF.ACTion
|
||||
{
|
||||
|
||||
/************
|
||||
This file should be migrated to appsettings.json and the CrifSettings class
|
||||
*************/
|
||||
public class CrifConstants
|
||||
{
|
||||
public static TimeSpan SubmissionTimeoutInMinutes => new(0, 2, 0);
|
||||
|
||||
public static int EQ_ListedForSale_Field_Id = -110;
|
||||
public static int EQ_ListedForSale_Field_True = 272;
|
||||
public static int EQ_ListedForSale_Field_False = 271;
|
||||
|
||||
public static int EQ_CurrentlyBeingRemodeledOrImproved_Field_Id = -109;
|
||||
public static int EQ_CurrentlyBeingRemodeledOrImproved_Field_True = 270;
|
||||
public static int EQ_CurrentlyBeingRemodeledOrImproved_Field_False = 269;
|
||||
|
||||
public static int Borrower_IsApplicantNonSigningSpouse_Field_Id = -73;
|
||||
public static int Borrower_IsApplicantNonSigningSpouse_Field_Borrower = 85;
|
||||
public static int Borrower_IsApplicantNonSigningSpouse_Field_NonSigningMarriedToPrimary = 84;
|
||||
public static int Borrower_IsApplicantNonSigningSpouse_Field_NonSigningMarriedToCo = 83;
|
||||
|
||||
public static int TCPA_Opt_Out_Field_Id = -112;
|
||||
|
||||
public static Dictionary<Collateral, int> CollateralIds = new Dictionary<Collateral, int>
|
||||
{
|
||||
//Take from CRIF database: select * from v_RptLuCollateralType_v001
|
||||
{Collateral.Vehicle, 1},
|
||||
{Collateral.ResidentialRealEstate, 2},
|
||||
{Collateral.Marine, 3},
|
||||
{Collateral.ManufacturedHome, 4},
|
||||
{Collateral.RecreationalVehicle, 5},
|
||||
{Collateral.Stocks, 6},
|
||||
{Collateral.Bonds, 7},
|
||||
{Collateral.Insurance, 8},
|
||||
{Collateral.CDs, 9},
|
||||
{Collateral.CDsOrSavings, 18},
|
||||
{Collateral.Collateral401k, 10},
|
||||
{Collateral.CommercialRealEstate, 11},
|
||||
{Collateral.AccountsReceivable, 12},
|
||||
{Collateral.SecuredOther, 13},
|
||||
{Collateral.ManufacturedHomeAndLand, 14},
|
||||
{Collateral.Motorcycle, 15},
|
||||
{Collateral.ATV, 16},
|
||||
{Collateral.Snowmobile, 17},
|
||||
};
|
||||
|
||||
public static int SpecialHandlingCode_OneBorrower_with_NonapplicantSpouse = 8;
|
||||
|
||||
public static Dictionary<int, string> StipulationsToShow = new Dictionary<int, string>
|
||||
{
|
||||
//matches occur by int ID. Text is only used to easily identify stipulations.
|
||||
{20, "A Personal Guaranty form is required for all business loans" },
|
||||
{92, "Cards can only be issued to business owner and owner's spouse"},
|
||||
{58, "Final Approval is dependent on Appraisal, Title, and Flood"},
|
||||
{82, "Landmark Business savings account must be established."},
|
||||
{85, "Must show proof borrower is a current student."},
|
||||
{59, "Two years of income verification is required"},
|
||||
};
|
||||
|
||||
public enum Collateral
|
||||
{
|
||||
//These enum int values have no relation to CRIF's int values. Use the dictionary above instead.
|
||||
Vehicle,
|
||||
ResidentialRealEstate,
|
||||
Marine,
|
||||
ManufacturedHome,
|
||||
RecreationalVehicle,
|
||||
Stocks,
|
||||
Bonds,
|
||||
Insurance,
|
||||
CDs,
|
||||
CDsOrSavings,
|
||||
Collateral401k, //enums must start with a letter
|
||||
CommercialRealEstate,
|
||||
AccountsReceivable,
|
||||
SecuredOther,
|
||||
ManufacturedHomeAndLand,
|
||||
Motorcycle,
|
||||
ATV,
|
||||
Snowmobile,
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user