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

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

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