public UpdateLandRegistryData(
     string outerContextDescription,
     int customerID,
     string customerFullName,
     bool customerIsAutoRejected,
     AutoDecisionFlowTypes flowType,
     bool isOwnerOfMainAddress,
     bool isOwnerOfOtherProperties,
     NewCreditLineOption newCreditLineOption,
     bool customerIsTest,
     bool avoidAutoDecision,
     bool customerIsAutoReapproved
     ) : base(outerContextDescription)
 {
     this.customerID             = customerID;
     this.customerFullName       = customerFullName;
     this.customerIsAutoRejected = customerIsAutoRejected;
     this.flowType                 = flowType;
     this.isOwnerOfMainAddress     = isOwnerOfMainAddress;
     this.isOwnerOfOtherProperties = isOwnerOfOtherProperties;
     this.newCreditLineOption      = newCreditLineOption;
     this.customerIsTest           = customerIsTest;
     this.avoidAutoDecision        = avoidAutoDecision;
     this.customerIsAutoReapproved = customerIsAutoReapproved;
 }         // constructor
示例#2
0
 public AutoApprovalArguments(
     int customerID,
     long?cashRequestID,
     long?nlCashRequestID,
     decimal systemCalculatedAmount,
     Medal medal,
     MedalType medalType,
     TurnoverType?turnoverType,
     AutoDecisionFlowTypes flowType,
     bool errorInLGData,
     string tag,
     DateTime now,
     AConnection db,
     ASafeLog log
     )
 {
     CustomerID             = customerID;
     CashRequestID          = cashRequestID;
     NLCashRequestID        = nlCashRequestID;
     SystemCalculatedAmount = systemCalculatedAmount;
     Medal         = medal;
     MedalType     = medalType;
     TurnoverType  = turnoverType;
     FlowType      = flowType;
     ErrorInLGData = errorInLGData;
     Tag           = tag;
     Now           = now;
     DB            = db;
     Log           = log.Safe();
     TrailUniqueID = Guid.NewGuid();
 }         // constructor
示例#3
0
        public OfferCalculator(
            AutoDecisionFlowTypes flowType,
            int customerID,
            int loanSourceID,
            int loanAmount,
            int repaymentPeriod,
            bool hasLoans,
            bool aspireToMinSetupFee,
            int smallLoanScenarioLimit,
            decimal minInterestRate,
            decimal maxInterestRate,
            decimal minSetupFee,
            decimal maxSetupFee,
            ASafeLog log
            )
        {
            this.flowType               = flowType;
            this.customerID             = customerID;
            this.loanSourceID           = loanSourceID;
            this.loanAmount             = loanAmount;
            this.repaymentPeriod        = repaymentPeriod;
            this.hasLoans               = hasLoans;
            this.aspireToMinSetupFee    = aspireToMinSetupFee;
            this.smallLoanScenarioLimit = smallLoanScenarioLimit;
            this.minInterestRate        = minInterestRate;
            this.maxInterestRate        = maxInterestRate;
            this.minSetupFee            = minSetupFee;
            this.maxSetupFee            = maxSetupFee;
            this.log = log.Safe();

            Success      = false;
            InterestRate = 0;
            SetupFee     = 0;
        }         // constructor
示例#4
0
        }         // constructor

        public void Init(AutoDecisionFlowTypes primary, AutoDecisionFlowTypes secondary)
        {
            Comment = string.Format(
                "Both implementations {0}agree on chosen flow: " +
                "{1} flow in primary, {2} flow in verification.",
                (primary == secondary) ? string.Empty : "dis",
                primary,
                secondary
                );
        } // Init
示例#5
0
        }         // constructor

        public void FullInit(AutoDecisionFlowTypes flowType, bool errorInLGData, ApprovalInputData aid)
        {
            base.FullInit(aid);
            FlowType      = flowType;
            ErrorInLGData = errorInLGData;
        }         // FullInit