public void CreateAndExecuteWithdrawal_Test() { var symbol = "NEO"; var amount = 1M; var withdrawal = _repoAuth.CreateWithdrawal(symbol, amount).Result; Assert.NotNull(withdrawal); var executedWithdrawal = _repoAuth.ExecuteWithdrawal(withdrawal).Result; Assert.NotNull(executedWithdrawal); }
/// <summary> /// Execute a withdrawal /// </summary> /// <param name="withdrawalId">Guid of withdrawal request</param> /// <returns>Withdrawal response</returns> public WithdrawalResponse ExecuteWithdrawal(string withdrawalId) { return(_repository.ExecuteWithdrawal(withdrawalId).Result); }