Skip to content

Commit c5e1cbe

Browse files
author
dev_chenjaiwen
committed
delete duplicate reports(GetSellerFeedBackDataFromDays)
1 parent 34ca22c commit c5e1cbe

File tree

2 files changed

+0
-455
lines changed

2 files changed

+0
-455
lines changed

Source/FikaAmazonAPI/ReportGeneration/ReportManager.cs

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -38,23 +38,6 @@ private string GetFeedbackFromDate(AmazonConnection amazonConnection, DateTime f
3838
#endregion
3939

4040
#region Performance
41-
public SellerFeedBackDataResult GetSellerFeedBackDataFromDays(int days)
42-
{
43-
DateTime fromDate = DateTime.UtcNow.AddDays(-1 * days);
44-
DateTime toDate = DateTime.UtcNow;
45-
return GetSellerPerformance(fromDate, toDate);
46-
}
47-
public SellerFeedBackDataResult GetSellerPerformance(DateTime fromDate, DateTime toDate)
48-
{
49-
var path = GetSellerPerformance(_amazonConnection, fromDate, toDate);
50-
SellerFeedBackData sellerPerformanceReport = new SellerFeedBackData(path);
51-
return sellerPerformanceReport.Data;
52-
}
53-
54-
private string GetSellerPerformance(AmazonConnection amazonConnection, DateTime fromDate, DateTime toDate)
55-
{
56-
return amazonConnection.Reports.CreateReportAndDownloadFile(ReportTypes.GET_SELLER_FEEDBACK_DATA, fromDate);
57-
}
5841
#endregion
5942

6043
#region Reimbursement

0 commit comments

Comments
 (0)