Esempio n. 1
0
        public PromotionReward[] GetRewards()
        {
            var retVal = new ShipmentReward
            {
                Amount         = Amount,
                AmountType     = RewardAmountType.Absolute,
                ShippingMethod = ShippingMethod
            };

            return(new PromotionReward[] { retVal });
        }
Esempio n. 2
0
        public PromotionReward[] GetRewards()
        {
            var retVal = new ShipmentReward
            {
                Amount         = Amount,
                AmountType     = RewardAmountType.Relative,
                ShippingMethod = ShippingMethod,
                MaxLimit       = MaxLimit
            };

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