예제 #1
0
        public void PrepareNewTransaction()
        {
            Transaction transaction = new Transaction
            {
                CashboxId = _data.Cashbox.IdCashbox,
                CashierId = _data.Cashier.IdCashier,
                Date      = DateTime.Now
            };

            TransactionClient transactionClient = new TransactionClient(_data.Token);

            Transaction newTransaction = transactionClient.CreateNew(transaction);

            _data.Transaction = newTransaction;
        }