public ResultInfoEbayAccount GetAccount() { var req = new GetAccountRequestType(); GetAccountResponseType response = base.GetServiceData(Service.GetAccount, req); var rez = new ResultInfoEbayAccount(response); rez.IncrementRequests("GetAccount"); return(rez); }
public GlobalBank.Commercial.EBanking.Modules.EFT.BusinessEntities.Account[] GetAccounts(string userName) { GetAccountRequestType request = new GetAccountRequestType(); request.userName = userName; GetAccountResponseType response = _proxy.GetAccounts(request); List <Account> userAccounts = new List <Account>(); foreach (AccountTableEntityType account in response.userAccounts) { userAccounts.Add(_translator.Translate <Account>(account)); } return(userAccounts.ToArray()); }
/// <summary> /// /// </summary> /// <param name="ApiContext">The <see cref="ApiCall.ApiContext"/> for this API Call of type <see cref="ApiContext"/>.</param> public GetAccountCall(ApiContext ApiContext) { ApiRequest = new GetAccountRequestType(); this.ApiContext = ApiContext; }
/// <summary> /// /// </summary> public GetAccountCall() { ApiRequest = new GetAccountRequestType(); }