public GetConsumerProfileTransactionHistoryResponse GetConsumerProfileTransactionHistory( GetConsumerProfileTransactionHistoryRequest req) { var agent = AuthIntegration.GetAgent(); var response = _agentConnect.GetConsumerProfileTransactionHistory(agent, req); CheckFlagsForDataChange(response.Payload?.Flags, agent); return(response); }
public virtual async Task <GetConsumerProfileTransactionHistoryResponse> GetConsumerProfileTransactionHistoryAsync(Agent agent, GetConsumerProfileTransactionHistoryRequest getConsumerProfileTransactionHistoryRequest) { return(await AgentConnect.GetConsumerProfileTransactionHistoryAsync(agent, getConsumerProfileTransactionHistoryRequest)); }
public virtual GetConsumerProfileTransactionHistoryResponse GetConsumerProfileTransactionHistory(Agent agent, GetConsumerProfileTransactionHistoryRequest getConsumerProfileTransactionHistoryRequest) { return(AgentConnect.GetConsumerProfileTransactionHistory(agent, getConsumerProfileTransactionHistoryRequest)); }
public AcApiResponse <GetConsumerProfileTransactionHistoryResponse, ApiData> GetConsumerProfileTransactionHistory(GetConsumerProfileTransactionHistoryRequest req) { var resp = _agentConnectIntegration.GetConsumerProfileTransactionHistory(req); var apiResp = new AcApiResponse <GetConsumerProfileTransactionHistoryResponse, ApiData> { BusinessMetadata = MapperHelper.SetResponseProperties(resp.Payload?.Flags, DataSource.AgentConnect), ResponseData = resp }; return(apiResp); }
public IHttpActionResult GetConsumerProfileTransactionHistory(GetConsumerProfileTransactionHistoryRequest req) { var historyVm = _business.GetConsumerProfileTransactionHistory(req); return(Ok(historyVm)); }