Example #1
0
        public void Initialize(int customerID)
        {
            var ranks = ExigoDAL.GetCustomerRanks(new GetCustomerRanksRequest
            {
                CustomerID   = customerID,
                PeriodTypeID = PeriodTypes.Weekly
            });

            this.CurrentPeriodRank          = ranks.CurrentPeriodRank;
            this.HighestPaidRankInAnyPeriod = ranks.HighestPaidRankInAnyPeriod;
            this.HighestPaidRankUpToPeriod  = ranks.HighestPaidRankUpToPeriod;
        }