public IAsyncResult BeginGetBankAccount(GetBankAccountRequest GetBankAccountRequest, AsyncCallback callback, object asyncState) { return this.BeginInvoke("GetBankAccount", new object[1] { (object) GetBankAccountRequest }, callback, asyncState); }
public bankAccountItem GetBankAccount(sessionType session, string bankAccountId) { GetBankAccountRequest GetBankAccountRequest = new GetBankAccountRequest(); DateTime utcNow = DateTime.UtcNow; GetBankAccountRequest.nonce = Signature.GetNonce(); GetBankAccountRequest.connectId = session.connectId; GetBankAccountRequest.signature = Signature.SoapSignature(utcNow, session.secretKey, "publisherservice", "getbankaccount", GetBankAccountRequest.nonce); GetBankAccountRequest.timestamp = Signature.GetZDateTime(utcNow); GetBankAccountRequest.bankAccountId = bankAccountId; GetBankAccountResponse bankAccount = this.publisherService.GetBankAccount(GetBankAccountRequest); if (bankAccount == null) return (bankAccountItem) null; else return bankAccount.bankAccountItem; }