public GetProfileConsumerResponse GetProfileConsumer(GetProfileConsumerData getProfileConsumerData) { var agent = _agents.GetAgent(getProfileConsumerData.Request.AgentId, getProfileConsumerData.Request.AgentPos); _agentConnectConfig.DecorateRequest(getProfileConsumerData.GetProfileConsumerRequest); getProfileConsumerData.GetProfileConsumerRequest.ConsumerProfileID = getProfileConsumerData.Request.ConsumerProfileID; getProfileConsumerData.GetProfileConsumerRequest.ConsumerProfileIDType = getProfileConsumerData.Request.ConsumerProfileIDType; return(_testRunner.AgentConnect.GetProfileConsumer(agent, getProfileConsumerData.GetProfileConsumerRequest)); }
private GetProfileConsumerResponse GetProfileConsumer(string profileId, string profileTypeId) { var getProfileRequest = new INTEGRATION.GetProfileConsumerRequest() { ConsumerProfileID = profileId, AgentState = _agentState, ConsumerProfileIDType = profileTypeId }; getProfileRequest.PopulateAgentData(getProfileRequest.AgentState); var getProfileData = new GetProfileConsumerData(getProfileRequest); return(_consumerOperations.GetProfileConsumer(getProfileData)); }
public GetProfileConsumerResponse GetProfileConsumer(GetProfileConsumerData data) { data.GetProfileConsumerRequest = GetProfileConsumerRequestFactory.NewGetProfileConsumerRequest(); return(_acIntegration.GetProfileConsumer(data)); }