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