Skip to content

Commit 21a01e6

Browse files
committed
change to v1.7.17
1 parent 22b6715 commit 21a01e6

File tree

2 files changed

+30
-4
lines changed

2 files changed

+30
-4
lines changed

Source/FikaAmazonAPI.SampleCode/Program.cs

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
using FikaAmazonAPI.Utils;
1+
using FikaAmazonAPI.ReportGeneration;
2+
using FikaAmazonAPI.Utils;
23
using Microsoft.Extensions.Configuration;
34
using static FikaAmazonAPI.Utils.Constants;
45

@@ -28,6 +29,31 @@ static async Task Main(string[] args)
2829
IsDebugMode = true
2930
});
3031

32+
33+
ReportManager reportManager = new ReportManager(amazonConnection);
34+
//var datadddd = reportManager.GetFbaEstimateFeeData(DateTime.UtcNow.AddDays(-30), DateTime.UtcNow);
35+
var dataddd222d = reportManager.GetReferralFeeReportData(DateTime.UtcNow.AddDays(-30), DateTime.UtcNow);
36+
37+
38+
39+
var file22227 = amazonConnection.Reports.CreateReportAndDownloadFile(ReportTypes.GET_REFERRAL_FEE_PREVIEW_REPORT, DateTime.UtcNow.AddDays(-3), DateTime.UtcNow);
40+
41+
42+
var file3337 = amazonConnection.Reports.GetReports(new Parameter.Report.ParameterReportList()
43+
{
44+
reportTypes = new ReportTypes[] { ReportTypes.GET_REFERRAL_FEE_PREVIEW_REPORT },
45+
});
46+
47+
var sss = amazonConnection.Reports.GetReport("784871019793");
48+
49+
50+
var file = amazonConnection.Reports.CreateReportAndDownloadFile(ReportTypes.GET_FBA_ESTIMATED_FBA_FEES_TXT_DATA, DateTime.UtcNow.AddDays(-30), DateTime.UtcNow);
51+
52+
53+
54+
55+
56+
3157
//var feedTypes = new ParameterGetFeed { feedTypes = { FeedType.POST_PRODUCT_PRICING_DATA }, processingStatuses = ProcessingStatuses.IN_PROGRESS };
3258

3359
//var feeds = amazonConnection.Feed.GetFeeds(feedTypes);

Source/FikaAmazonAPI/FikaAmazonAPI.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
<Product>CSharp Amazon Sp API</Product>
88
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
99
<LangVersion>8.0</LangVersion>
10-
<Version>1.7.16</Version>
11-
<AssemblyVersion>1.7.16</AssemblyVersion>
12-
<FileVersion>1.7.16</FileVersion>
10+
<Version>1.7.17</Version>
11+
<AssemblyVersion>1.7.17</AssemblyVersion>
12+
<FileVersion>1.7.17</FileVersion>
1313
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
1414
<PackageProjectUrl>https://github.com/abuzuhri/Amazon-SP-API-CSharp</PackageProjectUrl>
1515
<PackageLicenseExpression>MIT</PackageLicenseExpression>

0 commit comments

Comments
 (0)