private ProfileResponse GetAgentProfile(string agentId, string posNumber, string password, string language) { var agent = new Agent { AgentId = agentId, AgentPassword = password, AgentSequence = posNumber, Language = language }; var profileRequest = new ProfileRequest(); agentConnectConfig.DecorateRequest(profileRequest); return(agentConnect.Profile(agent, profileRequest)); }
public GetCountryInfoResponse GetCountryInfo(string location, GetCountryInfoRequest req) { var agent = _agents.GetAgent(location); _agentConnectConfig.DecorateRequest(req); return(_testRunner.AgentConnect.GetCountryInfo(agent, req)); }