예제 #1
0
        public PromotionReward[] GetRewards()
        {
            var retVal = new PaymentReward
            {
                Amount        = Amount,
                AmountType    = RewardAmountType.Absolute,
                PaymentMethod = PaymentMethod
            };

            return(new PromotionReward[] { retVal });
        }
        public PromotionReward[] GetRewards()
        {
            var retVal = new PaymentReward
            {
                Amount        = Amount,
                AmountType    = RewardAmountType.Relative,
                PaymentMethod = PaymentMethod,
                MaxLimit      = MaxLimit
            };

            return(new PromotionReward[] { retVal });
        }