public ConsumerHistoryLookupData ConsumerHistoryLookup(string agentId, string agentPos, bool existing, SessionType tranType) { var consumerHistoryLookupData = new ConsumerHistoryLookupData(); var request = existing ? ConsumerHistoryLookupRequestFactory.ConsumerHistoryLookupRequestExisting : ConsumerHistoryLookupRequestFactory.ConsumerHistoryLookupRequestNonExisting; request.AgentID = agentId; request.AgentSequence = agentPos; consumerHistoryLookupData.Set(request); consumerHistoryLookupData.ConsumerHistoryLookupReq.MgiSessionType = tranType; consumerHistoryLookupData.Set(_acIntegration.ConsumerHistoryLookup(consumerHistoryLookupData.ConsumerHistoryLookupReq)); return(consumerHistoryLookupData); }
public void Set(ConsumerHistoryLookupData consumerHistoryLookupData) { ConsumerHistoryLookup = consumerHistoryLookupData; SetExecutionOrder(nameof(ConsumerHistoryLookup)); }