public PromotionReward[] GetRewards() { var retVal = new ShipmentReward { Amount = Amount, AmountType = RewardAmountType.Absolute, ShippingMethod = ShippingMethod }; return(new PromotionReward[] { retVal }); }
public override PromotionReward[] GetPromotionRewards() { var retVal = new ShipmentReward { Amount = Amount, AmountTypeId = (int)RewardAmountType.Absolute, ShippingMethodId = SelectedShippingMethodId }; return(new PromotionReward[] { retVal }); }
public PromotionReward[] GetRewards() { var retVal = new ShipmentReward { Amount = Amount, AmountType = RewardAmountType.Relative, ShippingMethod = ShippingMethod, MaxLimit = MaxLimit }; return(new PromotionReward[] { retVal }); }
//Copy constructor protected ShipmentReward(ShipmentReward other) : base(other) { ShippingMethod = other.ShippingMethod; ShippingMethodOption = other.ShippingMethodOption; }