Esempio n. 1
0
                public RiskManagement(RiskManagementEntry e)
                {
                    AcquirerNumber = e.AcquirerNumber;
                    RecordNumber   = e.RecordNumber;

                    MustRiskManagement = e.MustRiskManagement;
                    FloorLimit         = e.FloorLimit;
                    BiasedRandomSelectionPercentage    = e.BiasedRandomSelectionPercentage;
                    BiasedRandomSelectionThreshold     = e.BiasedRandomSelectionThreshold;
                    BiasedRandomSelectionMaxPercentage = e.BiasedRandomSelectionMaxPercentage;
                }
Esempio n. 2
0
        public void StoreRiskManagementRow(int acquirerNumber, int recordNumber, bool mustRiskManagement, int floorLimit, int brsPercentage, int brsThreshold, int brsMaxPercentage)
        {
            RiskManagementEntry entry = new RiskManagementEntry {
                AcquirerNumber     = acquirerNumber,
                RecordNumber       = recordNumber,
                MustRiskManagement = mustRiskManagement,
                FloorLimit         = floorLimit,
                BiasedRandomSelectionPercentage    = brsPercentage,
                BiasedRandomSelectionThreshold     = brsThreshold,
                BiasedRandomSelectionMaxPercentage = brsMaxPercentage
            };

            db.Insert(entry);
        }