Skip to content

Commit 5091f33

Browse files
authored
Merge pull request #468 from qaisarikram/m-sp-api
M sp api
2 parents 1577744 + 9b2664f commit 5091f33

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

Source/FikaAmazonAPI/AmazonSpApiSDK/Models/ProductPricing/BuyBoxPriceType.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public BuyBoxPriceType() { }
5555
/// Indicates the type of quantity discount this price applies to.
5656
/// </summary>
5757
/// <value>Indicates the type of quantity discount this price applies to.</value>
58-
[DataMember(Name = "quantityDiscountType", EmitDefaultValue = false)]
58+
[DataMember(Name = "discountType", EmitDefaultValue = false)]//Amazon Documentation says "quantityDiscountType" but in the API Response Content, it is "discountType"
5959
public QuantityDiscountType QuantityDiscountType { get; set; }
6060

6161
/// <summary>

Source/FikaAmazonAPI/AmazonSpApiSDK/Models/ProductPricing/LowestPriceType.cs

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
using System.IO;
1616
using System.Runtime.Serialization;
1717
using System.Text;
18+
using static FikaAmazonAPI.Utils.Constants;
1819

1920
namespace FikaAmazonAPI.AmazonSpApiSDK.Models.ProductPricing
2021
{
@@ -130,6 +131,27 @@ public LowestPriceType() { }
130131
[DataMember(Name = "Points", EmitDefaultValue = false)]
131132
public Points Points { get; set; }
132133

134+
/// <summary>
135+
/// Indicates the type of customer that the offer is valid for.
136+
/// </summary>
137+
/// <value>Indicates the type of customer that the offer is valid for.</value>
138+
[DataMember(Name = "offerType", EmitDefaultValue = false)]
139+
public OfferTypeEnum? OfferType { get; set; }
140+
141+
/// <summary>
142+
/// Indicates at what quantity this price becomes active.
143+
/// </summary>
144+
/// <value>Indicates at what quantity this price becomes active. .</value>
145+
[DataMember(Name = "quantityTier", EmitDefaultValue = false)]
146+
public int? QuantityTier { get; set; }
147+
148+
/// <summary>
149+
/// Indicates the type of quantity discount this price applies to.
150+
/// </summary>
151+
/// <value>Indicates the type of quantity discount this price applies to.</value>
152+
[DataMember(Name = "discountType", EmitDefaultValue = false)]//Amazon Documentation says "quantityDiscountType" but in the API Response Content, it is "discountType"
153+
public QuantityDiscountType QuantityDiscountType { get; set; }
154+
133155
/// <summary>
134156
/// Returns the string presentation of the object
135157
/// </summary>

0 commit comments

Comments
 (0)