public bool AddTransaction(decimal amount, int UsedByCustomerID, int OrderNumber) { GiftCardUsageTransaction ut = GiftCardUsageTransaction.CreateTransaction(this.GiftCardID, GiftCardUsageReasons.UsedByCustomer, UsedByCustomerID, OrderNumber, amount, ""); RefreshCard(); m_giftcardransactions = null; return(ut != null); }
public void Add(GiftCardUsageTransaction transaction) { m_Transactions.Add(transaction); }