File tree Expand file tree Collapse file tree 5 files changed +12
-7
lines changed
Source/FikaAmazonAPI/NotificationMessages Expand file tree Collapse file tree 5 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -19,13 +19,13 @@ public partial class AnyOfferChangedNotification
19
19
/// Required. The event that caused the notification to be sent.
20
20
/// </summary>
21
21
[ JsonProperty ( "OfferChangeTrigger" ) ]
22
- public OfferChangeTriggerBase OfferChangeTrigger { get ; set ; }
22
+ public OfferChangeTriggerB2C OfferChangeTrigger { get ; set ; }
23
23
24
24
/// <summary>
25
25
/// Required. Information about the product that had the offer change. The information in this summary applies to all conditions of the product.
26
26
/// </summary>
27
27
[ JsonProperty ( "Summary" ) ]
28
- public SummaryBase Summary { get ; set ; }
28
+ public SummaryB2C Summary { get ; set ; }
29
29
30
30
/// <summary>
31
31
/// Required. The top 20 competitive offers for the item and condition that triggered the notification.
Original file line number Diff line number Diff line change @@ -15,13 +15,13 @@ public partial class B2BAnyOfferChangedNotification
15
15
/// Required. The event that caused the notification to be sent.
16
16
/// </summary>
17
17
[ JsonProperty ( "OfferChangeTrigger" ) ]
18
- public OfferChangeTriggerBase OfferChangeTrigger { get ; set ; }
18
+ public OfferChangeTriggerB2B OfferChangeTrigger { get ; set ; }
19
19
20
20
/// <summary>
21
21
/// Required. Information about the product that had the offer change. The information in this summary applies to all conditions of the product.
22
22
/// </summary>
23
23
[ JsonProperty ( "Summary" ) ]
24
- public SummaryBase Summary { get ; set ; }
24
+ public SummaryB2B Summary { get ; set ; }
25
25
26
26
/// <summary>
27
27
/// Required. The top 20 competitive B2B offers for the item and condition that triggered the notification.
Original file line number Diff line number Diff line change 3
3
4
4
namespace FikaAmazonAPI . NotificationMessages
5
5
{
6
- public class SummaryB2B
6
+ public class SummaryB2B : SummaryBase
7
7
{
8
8
/// <summary>
9
9
/// Required. A list that contains the total number of offers that are eligible for the Buy Box for the given conditions and fulfillment channels.
10
10
/// </summary>
11
11
[ JsonProperty ( "BuyBoxEligibleOffers" ) ]
12
- public List < OfferCountElement > BuyBoxEligibleOffers { get ; set ; }
12
+ public override List < OfferCountElement > BuyBoxEligibleOffers { get ; set ; }
13
13
}
14
14
}
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ public class SummaryB2C : SummaryBase
27
27
/// Required. A list that contains the total number of offers that are eligible for the Buy Box for the given conditions and fulfillment channels.
28
28
/// </summary>
29
29
[ JsonProperty ( "NumberOfBuyBoxEligibleOffers" ) ]
30
- public List < OfferCountElement > NumberOfBuyBoxEligibleOffers { get ; set ; }
30
+ public override List < OfferCountElement > BuyBoxEligibleOffers { get ; set ; }
31
31
32
32
/// <summary>
33
33
/// Optional. This price is based on competitive prices from other retailers (excluding other Amazon sellers). Your offer may be ineligible for the Buy Box if your price + shipping is greater than this competitive price.
Original file line number Diff line number Diff line change @@ -25,5 +25,10 @@ public abstract class SummaryBase
25
25
/// </summary>
26
26
[ JsonProperty ( "BuyBoxPrices" ) ]
27
27
public List < BuyBoxPrice > BuyBoxPrices { get ; set ; }
28
+
29
+ /// <summary>
30
+ /// Required. A list that contains the total number of offers that are eligible for the Buy Box for the given conditions and fulfillment channels.
31
+ /// </summary>
32
+ public abstract List < OfferCountElement > BuyBoxEligibleOffers { get ; set ; }
28
33
}
29
34
}
You can’t perform that action at this time.
0 commit comments