コード例 #1
0
        public ResultInfoEbayAccount GetAccount()
        {
            var req = new GetAccountRequestType();

            GetAccountResponseType response = base.GetServiceData(Service.GetAccount, req);
            var rez = new ResultInfoEbayAccount(response);

            rez.IncrementRequests("GetAccount");
            return(rez);
        }
コード例 #2
0
        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());
        }
コード例 #3
0
ファイル: GetAccountCall.cs プロジェクト: fireworm71/Gamez
 /// <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;
 }
コード例 #4
0
ファイル: GetAccountCall.cs プロジェクト: fireworm71/Gamez
 /// <summary>
 /// 
 /// </summary>
 public GetAccountCall()
 {
     ApiRequest = new GetAccountRequestType();
 }
コード例 #5
0
 /// <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;
 }
コード例 #6
0
 /// <summary>
 ///
 /// </summary>
 public GetAccountCall()
 {
     ApiRequest = new GetAccountRequestType();
 }