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 }); }
//Copy constructor protected PaymentReward(PaymentReward other) : base(other) { PaymentMethod = other.PaymentMethod; }