public void _40_AddBeneficiaryAccountTest() { var addBeneficiaryBankAccount = new AddBeneficiaryBankAccountType() { version = 3.0M, beneficiaryBankAccount = _beneficiaryBankAccount, merchantBankID = "Mickey Mouse " + Guid.NewGuid(), userID = new UserIDType() { epUserID = _epUserID } }; var addBeneficiaryBankAccountResponse = _serviceProxy.AddBeneficiaryBankAccount(addBeneficiaryBankAccount); Assert.That(addBeneficiaryBankAccountResponse.usersBankID.benBankID.epBankIDSpecified); _epBankID = addBeneficiaryBankAccountResponse.usersBankID.benBankID.epBankID; _usersBankID = addBeneficiaryBankAccountResponse.usersBankID; Assert.That(addBeneficiaryBankAccountResponse.usersBankID.benBankID.merchantBankID != null); _merchantBankID = addBeneficiaryBankAccountResponse.usersBankID.benBankID.merchantBankID; }
public void _40_AddBeneficiaryAccountTest() { AddBeneficiaryBankAccountType addBeneficiaryBankAccount = new AddBeneficiaryBankAccountType(); addBeneficiaryBankAccount.version = 3.0M; addBeneficiaryBankAccount.merchantBankID = "Mickey Mouse" + Guid.NewGuid().ToString(); addBeneficiaryBankAccount.beneficiaryBankAccount = _beneficiaryBankAccount; addBeneficiaryBankAccount.userID = new UserIDType(); addBeneficiaryBankAccount.userID.epUserID = _epUserID; AddBeneficiaryBankAccountResponseType addBeneficiaryBankAccountResponse = _serviceProxy.AddBeneficiaryBankAccount(addBeneficiaryBankAccount); Assert.That(addBeneficiaryBankAccountResponse.usersBankID.benBankID.epBankIDSpecified); _epBankID = addBeneficiaryBankAccountResponse.usersBankID.benBankID.epBankID; _merchantBankID = addBeneficiaryBankAccountResponse.usersBankID.benBankID.merchantBankID; _usersBankID = addBeneficiaryBankAccountResponse.usersBankID; }