예제 #1
1
 public Task<BankTransaction> UpdateAsync(BankTransaction item)
 {
     return BankTransactions.UpdateAsync(item);
 }
예제 #2
0
        public BankTransaction NewBankTransaction()
        {
            var newBankTransaction = new BankTransaction
            {
                Type = BankTransactionType.Spend,
                Contact = new Contact { Name = "ABC Bank" },
                LineItems = new List<LineItem>
                    {
                        new LineItem
                        {
                            Description = "Yearly Bank Account Fee",
                            Quantity = 1m,
                            UnitAmount = 20.00m,
                            AccountCode = "404"
                        }
                    },
                BankAccount = new Account { Id = FindBankAccountGuid() }
            };

            return newBankTransaction;
        }
예제 #3
0
 public BankTransaction Update(BankTransaction item)
 {
     return BankTransactions.Update(item);
 }
예제 #4
0
 public BankTransaction Create(BankTransaction item)
 {
     return BankTransactions.Create(item);
 }
예제 #5
0
 public Task<BankTransaction> CreateAsync(BankTransaction item)
 {
     return BankTransactions.CreateAsync(item);
 }