//송금완료자료 조회 public async Task <GetCompletedRemittanceListResponse> SyncSettlementAsync(DateTime StartDate, DateTime EndDate, int PageIndex) { GetCompletedRemittanceListRequestT req = new GetCompletedRemittanceListRequestT(); req = Generate_SyncSettlement(StartDate, EndDate, PageIndex); GetCompletedRemittanceListResponse res = await AuctionClient.GetCompletedRemittanceListAsync(req); return(res); }
private GetCompletedRemittanceListRequestT Generate_SyncSettlement(DateTime StartDate, DateTime EndDate, int PageIndex = 1) { GetCompletedRemittanceListRequestT Req = new GetCompletedRemittanceListRequestT(); Req.CategoryID = string.Empty; //필수항목. Req.DurationType = CompletedRemittanceListDurationCode.RemittanceDate; //송금일기준 Req.DurationTypeSpecified = true; Req.SearchDuration = new AuctionAuctionServiceSoap.DurationT(); Req.SearchDuration.StartDate = StartDate; Req.SearchDuration.StartDateSpecified = true; Req.SearchDuration.EndDate = EndDate; Req.SearchDuration.EndDateSpecified = true; Req.SearchType = CompletedRemittanceListSearchCode.Nothing; Req.SearchTypeSpecified = true; Req.PageIndex = PageIndex; Req.PageIndexSpecified = true; return(Req); }