public void Test_PayIns_BankWireDirect_Get()
        {
            try
            {
                WalletDTO      wallet = this.GetJohnsWallet();
                UserNaturalDTO user   = this.GetJohn();

                // create pay-in BANKWIRE DIRECT
                PayInBankWireDirectPostDTO payIn = new PayInBankWireDirectPostDTO(user.Id, wallet.Id, new Money {
                    Amount = 10000, Currency = CurrencyIso.EUR
                }, new Money {
                    Amount = 0, Currency = CurrencyIso.EUR
                });
                payIn.CreditedWalletId = wallet.Id;
                payIn.AuthorId         = user.Id;

                PayInBankWireDirectDTO createdPayIn = this.Api.PayIns.CreateBankWireDirect(payIn);

                PayInBankWireDirectDTO getPayIn = this.Api.PayIns.GetBankWireDirect(createdPayIn.Id);

                Assert.AreEqual(getPayIn.Id, createdPayIn.Id);
                Assert.AreEqual(PayInPaymentType.BANK_WIRE, getPayIn.PaymentType);
                Assert.AreEqual(PayInExecutionType.DIRECT, getPayIn.ExecutionType);
                Assert.AreEqual(user.Id, getPayIn.AuthorId);
                Assert.AreEqual(TransactionType.PAYIN, getPayIn.Type);
                Assert.IsNotNull(getPayIn.WireReference);
                Assert.AreEqual(getPayIn.BankAccount.Type, BankAccountType.IBAN);
            }
            catch (Exception ex)
            {
                Assert.Fail(ex.Message);
            }
        }
        public void Test_PayIns_BankWireDirect_Get()
        {
            try
            {
                WalletDTO      wallet = TestHelper.GetJohnsWallet();
                UserNaturalDTO user   = TestHelper.GetJohn();

                // create pay-in BANKWIRE DIRECT
                PayInBankWireDirectPostDTO payIn = new PayInBankWireDirectPostDTO(user.Id, wallet.Id, new Money {
                    Amount = 10000, Currency = CurrencyIso.EUR
                }, new Money {
                    Amount = 0, Currency = CurrencyIso.EUR
                });
                payIn.CreditedWalletId = wallet.Id;
                payIn.AuthorId         = user.Id;

                PayInBankWireDirectDTO createdPayIn = _objectToTest.CreateBankWireDirect(payIn).Result;
                System.Threading.Thread.Sleep(1000);
                PayInBankWireDirectDTO getPayIn = _objectToTest.GetBankWireDirect(createdPayIn.Id).Result;

                Assert.Equal(getPayIn.Id, createdPayIn.Id);
                Assert.Equal(PayInPaymentType.BANK_WIRE, getPayIn.PaymentType);
                Assert.Equal(PayInExecutionType.DIRECT, getPayIn.ExecutionType);
                Assert.Equal(user.Id, getPayIn.AuthorId);
                Assert.Equal(TransactionType.PAYIN, getPayIn.Type);
                Assert.NotNull(getPayIn.WireReference);
                Assert.Equal(BankAccountType.IBAN, getPayIn.BankAccount.Type);
            }
            catch (Exception ex)
            {
                Assert.True(false, ex.Message);
            }
        }