Skip to content

Commit 4f1394b

Browse files
committed
add missing field #157
1 parent 144966f commit 4f1394b

File tree

2 files changed

+20
-3
lines changed

2 files changed

+20
-3
lines changed

Source/FikaAmazonAPI/AmazonSpApiSDK/Models/ProductFees/FeesEstimateIdentifier.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
using System.ComponentModel.DataAnnotations;
1515
using System.Runtime.Serialization;
1616
using System.Text;
17+
using static FikaAmazonAPI.Utils.Constants;
1718

1819
namespace FikaAmazonAPI.AmazonSpApiSDK.Models.ProductFees
1920
{
@@ -93,6 +94,13 @@ public partial class FeesEstimateIdentifier : IEquatable<FeesEstimateIdentifier>
9394
[DataMember(Name = "SellerInputIdentifier", EmitDefaultValue = false)]
9495
public string SellerInputIdentifier { get; set; }
9596

97+
98+
/// <summary>
99+
/// An optional enrollment program to return the estimated fees when the offer is fulfilled by Amazon (IsAmazonFulfilled is set to true).
100+
/// </summary>
101+
[DataMember(Name = "OptionalFulfillmentProgram", EmitDefaultValue = false)]
102+
public OptionalFulfillmentProgram? OptionalFulfillmentProgram { get; set; }
103+
96104
/// <summary>
97105
/// Returns the string presentation of the object
98106
/// </summary>

Source/FikaAmazonAPI/Utils/Constants.cs

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,15 @@ public class Constants
1010
public readonly static string DateISO8601Format = "yyyy-MM-ddTHH:mm:ss.fffZ";
1111
public readonly static string TestCase200 = "TEST_CASE_200";
1212
public readonly static string TestCase400 = "TEST_CASE_400";
13-
13+
1414
[JsonConverter(typeof(StringEnumConverter))]
1515
public enum Environments
1616
{
1717
Sandbox, Production
1818
}
1919
[JsonConverter(typeof(StringEnumConverter))]
20-
public enum GranularityEnum {
20+
public enum GranularityEnum
21+
{
2122
Hour,
2223
Day,
2324
Week,
@@ -142,7 +143,7 @@ public enum FirstDayOfWeek
142143
Monday,
143144
Sunday
144145
}
145-
146+
146147
[JsonConverter(typeof(StringEnumConverter))]
147148
/// <summary>
148149
/// A list of NotificationType
@@ -543,6 +544,14 @@ public enum ListingsIncludedData
543544
Procurement
544545
}
545546

547+
[JsonConverter(typeof(StringEnumConverter))]
548+
public enum OptionalFulfillmentProgram
549+
{
550+
FBA_CORE,
551+
FBA_SNL,
552+
FBA_EFN
553+
}
554+
546555

547556
///// <summary>
548557
///// One of a set of predefined ISO 8601 periods that specifies how often a report should be created.

0 commit comments

Comments
 (0)