Exemplo n.º 1
0
 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
Exemplo n.º 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
Exemplo n.º 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
Exemplo n.º 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
Exemplo n.º 5
0
        }         // constructor

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