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

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