コード例 #1
0
        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);
        }
コード例 #2
0
 public void Add(GiftCardUsageTransaction transaction)
 {
     m_Transactions.Add(transaction);
 }