public double GetCredit(string username, string password) { GetCreditRequest inValue = new GetCreditRequest(); inValue.Body = new GetCreditRequestBody(); inValue.Body.username = username; inValue.Body.password = password; GetCreditResponse retVal = ((IV2Soap)(this)).GetCredit(inValue); return(retVal.Body.GetCreditResult); }
GetCreditResponse IV2Soap.GetCredit(GetCreditRequest request) { return(base.Channel.GetCredit(request)); }
public async Task <GetCreditResponse> GetCredit(GetCreditRequest request) { request.Username = _configuration.Username; request.Password = _configuration.Password; return(await HttpClientManager.Post <GetCreditRequest, GetCreditResponse>("GetCredit", request)); }