peddler 5.0.0.pre.5 → 5.0.0.pre.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (23) hide show
  1. checksums.yaml +4 -4
  2. data/lib/peddler/feeds/listings_feed_processing_report_schema/issue.rb +4 -0
  3. data/lib/peddler/notifications/any_offer_changed/offer.rb +21 -21
  4. data/lib/peddler/notifications/any_offer_changed/summary.rb +14 -14
  5. data/lib/peddler/notifications/b2b_any_offer_changed/offer_count.rb +1 -1
  6. data/lib/peddler/notifications/b2b_any_offer_changed/seller_feedback_rating.rb +1 -1
  7. data/lib/peddler/notifications/b2b_any_offer_changed/ships_from.rb +1 -1
  8. data/lib/peddler/notifications/b2b_any_offer_changed/summary.rb +4 -4
  9. data/lib/peddler/notifications/fee_promotion/fee_detail.rb +5 -5
  10. data/lib/peddler/notifications/fee_promotion/identifier_value.rb +2 -2
  11. data/lib/peddler/notifications/fee_promotion/promotion_information.rb +8 -8
  12. data/lib/peddler/notifications/fulfillment_order_status/fulfillment_order_status_notification.rb +8 -8
  13. data/lib/peddler/notifications/order_status_change/order_status_change_notification.rb +7 -7
  14. data/lib/peddler/notifications/pricing_health/offer_change_trigger.rb +1 -1
  15. data/lib/peddler/version.rb +1 -1
  16. data/sig/peddler/feeds/listings_feed_processing_report_schema.rbs +8 -7
  17. data/sig/peddler/notifications/any_offer_changed.rbs +14 -14
  18. data/sig/peddler/notifications/b2b_any_offer_changed.rbs +13 -13
  19. data/sig/peddler/notifications/fee_promotion.rbs +19 -19
  20. data/sig/peddler/notifications/fulfillment_order_status.rbs +7 -7
  21. data/sig/peddler/notifications/order_status_change.rbs +7 -7
  22. data/sig/peddler/notifications/pricing_health.rbs +2 -2
  23. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3d1837d301edb091b7fd706a20e3cb3920007ba4977922656f2963bb6aacdcb1
4
- data.tar.gz: 1f39a61eccbe0563e8e366df4950ce090cedaee1efdb1893429d7897251619b8
3
+ metadata.gz: 8a4ba345830f628a204734b0032d61b921183ef4bec9067cbda505679978d031
4
+ data.tar.gz: 530a8cd8952373c1232b8b76e7ba6009dae8d5686eee0e77441a926264831b48
5
5
  SHA512:
6
- metadata.gz: 434a7ffd5b7c9d7816d98f0b25a6fa915c35b6e77105a95a575dfecf7cf124521823237d837f2c23804bf023e61aa370a191d3ef6d6d6c8e72549254ad8e4206
7
- data.tar.gz: c244f0a40d0bcb33efd35cc537db376b90f013362f623db571b85c7e7d9d6194fa659deb5fd3faaac695f55efd3e993d71cba354708b67aa468cf63cb673db3d
6
+ metadata.gz: d5cefc76721fa838f1c658fa564cb14112445506290e86043b1431b9344632579020b5046133692a6cbb1a64d340b546729393c55f6664e63a536b2d98b0af9b
7
+ data.tar.gz: b5beea6eeb93f917b08640b68231307ebb8e024f56608ffb4b3fb0f8c303aacb0e3f4405f71c78dfd113be3330f3edfafaf426a3230bc890fb23e0ce6efa69c0
@@ -25,6 +25,10 @@ module Peddler
25
25
  # Identifiers provided in the submitted feed. Not provided if the error is not related to a message (e.g. feed
26
26
  # formatting issue).
27
27
  attribute?(:message_id, Integer, from: "messageId")
28
+
29
+ # @return [String] Selling Partner SKU (stock keeping unit) identifier for the listing. SKU uniquely identifies
30
+ # a listing for a Selling Partner.
31
+ attribute?(:sku, String)
28
32
  end
29
33
  end
30
34
  end
@@ -9,27 +9,12 @@ module Peddler
9
9
  module Notifications
10
10
  module AnyOfferChanged
11
11
  Offer = Structure.new do
12
- # @return [:boolean]
13
- attribute(:expedited_shipping_available, :boolean, from: "IsExpeditedShippingAvailable")
14
-
15
- # @return [:boolean]
16
- attribute(:featured_merchant, :boolean, from: "IsFeaturedMerchant")
17
-
18
12
  # @return [:boolean]
19
13
  attribute(:fulfilled_by_amazon, :boolean, from: "IsFulfilledByAmazon")
20
14
 
21
15
  # @return [Money]
22
16
  attribute(:listing_price, Money, from: "ListingPrice")
23
17
 
24
- # @return [Points]
25
- attribute(:points, Points, from: "Points")
26
-
27
- # @return [PrimeInformation]
28
- attribute(:prime_information, PrimeInformation, from: "PrimeInformation")
29
-
30
- # @return [SellerFeedbackRating]
31
- attribute(:seller_feedback_rating, SellerFeedbackRating, from: "SellerFeedbackRating")
32
-
33
18
  # @return [String]
34
19
  attribute(:seller_id, String, from: "SellerId")
35
20
 
@@ -39,17 +24,32 @@ module Peddler
39
24
  # @return [ShippingTime]
40
25
  attribute(:shipping_time, ShippingTime, from: "ShippingTime")
41
26
 
27
+ # @return [String]
28
+ attribute(:sub_condition, String, from: "SubCondition")
29
+
42
30
  # @return [:boolean]
43
- attribute(:ships_domestically, :boolean, from: "ShipsDomestically")
31
+ attribute?(:expedited_shipping_available, :boolean, from: "IsExpeditedShippingAvailable")
44
32
 
45
- # @return [ShipsFrom]
46
- attribute(:ships_from, ShipsFrom, from: "ShipsFrom")
33
+ # @return [:boolean]
34
+ attribute?(:featured_merchant, :boolean, from: "IsFeaturedMerchant")
35
+
36
+ # @return [Points]
37
+ attribute?(:points, Points, from: "Points")
38
+
39
+ # @return [PrimeInformation]
40
+ attribute?(:prime_information, PrimeInformation, from: "PrimeInformation")
41
+
42
+ # @return [SellerFeedbackRating]
43
+ attribute?(:seller_feedback_rating, SellerFeedbackRating, from: "SellerFeedbackRating")
47
44
 
48
45
  # @return [:boolean]
49
- attribute(:ships_internationally, :boolean, from: "ShipsInternationally")
46
+ attribute?(:ships_domestically, :boolean, from: "ShipsDomestically")
50
47
 
51
- # @return [String]
52
- attribute(:sub_condition, String, from: "SubCondition")
48
+ # @return [ShipsFrom]
49
+ attribute?(:ships_from, ShipsFrom, from: "ShipsFrom")
50
+
51
+ # @return [:boolean]
52
+ attribute?(:ships_internationally, :boolean, from: "ShipsInternationally")
53
53
  end
54
54
  end
55
55
  end
@@ -9,34 +9,34 @@ module Peddler
9
9
  module AnyOfferChanged
10
10
  Summary = Structure.new do
11
11
  # @return [Array]
12
- attribute(:buy_box_prices, Array, from: "BuyBoxPrices")
12
+ attribute(:lowest_prices, Array, from: "LowestPrices")
13
13
 
14
- # @return [Money]
15
- attribute(:competitive_price_threshold, Money, from: "CompetitivePriceThreshold")
14
+ # @return [Array]
15
+ attribute(:number_of_buy_box_eligible_offers, Array, from: "NumberOfBuyBoxEligibleOffers")
16
16
 
17
- # @return [Money]
18
- attribute(:list_price, Money, from: "ListPrice")
17
+ # @return [Array]
18
+ attribute(:number_of_offers, Array, from: "NumberOfOffers")
19
19
 
20
20
  # @return [Array]
21
- attribute(:lowest_prices, Array, from: "LowestPrices")
21
+ attribute?(:buy_box_prices, Array, from: "BuyBoxPrices")
22
22
 
23
23
  # @return [Money]
24
- attribute(:minimum_advertised_price, Money, from: "MinimumAdvertisedPrice")
24
+ attribute?(:competitive_price_threshold, Money, from: "CompetitivePriceThreshold")
25
25
 
26
- # @return [Array]
27
- attribute(:number_of_buy_box_eligible_offers, Array, from: "NumberOfBuyBoxEligibleOffers")
26
+ # @return [Money]
27
+ attribute?(:list_price, Money, from: "ListPrice")
28
28
 
29
- # @return [Array]
30
- attribute(:number_of_offers, Array, from: "NumberOfOffers")
29
+ # @return [Money]
30
+ attribute?(:minimum_advertised_price, Money, from: "MinimumAdvertisedPrice")
31
31
 
32
32
  # @return [Array]
33
- attribute(:sales_rankings, Array, from: "SalesRankings")
33
+ attribute?(:sales_rankings, Array, from: "SalesRankings")
34
34
 
35
35
  # @return [Money]
36
- attribute(:suggested_lower_price_plus_shipping, Money, from: "SuggestedLowerPricePlusShipping")
36
+ attribute?(:suggested_lower_price_plus_shipping, Money, from: "SuggestedLowerPricePlusShipping")
37
37
 
38
38
  # @return [Integer]
39
- attribute(:total_buy_box_eligible_offers, Integer, from: "TotalBuyBoxEligibleOffers")
39
+ attribute?(:total_buy_box_eligible_offers, Integer, from: "TotalBuyBoxEligibleOffers")
40
40
  end
41
41
  end
42
42
  end
@@ -15,7 +15,7 @@ module Peddler
15
15
  attribute(:fulfillment_channel, String, from: "fulfillmentChannel")
16
16
 
17
17
  # @return [Integer] The total number of offers for the specified condition and fulfillment channel.
18
- attribute(:offer_count, Integer, from: "offerCount")
18
+ attribute?(:offer_count, Integer, from: "offerCount")
19
19
  end
20
20
  end
21
21
  end
@@ -12,7 +12,7 @@ module Peddler
12
12
  attribute(:feedback_count, Integer, from: "feedbackCount")
13
13
 
14
14
  # @return [Float] The percentage of positive feedback for the seller in the past 365 days.
15
- attribute(:seller_positive_feedback_rating, Float, from: "sellerPositiveFeedbackRating")
15
+ attribute?(:seller_positive_feedback_rating, Float, from: "sellerPositiveFeedbackRating")
16
16
  end
17
17
  end
18
18
  end
@@ -9,7 +9,7 @@ module Peddler
9
9
  module B2BAnyOfferChanged
10
10
  ShipsFrom = Structure.new do
11
11
  # @return [String]
12
- attribute(:country, String)
12
+ attribute?(:country, String)
13
13
  end
14
14
  end
15
15
  end
@@ -12,10 +12,6 @@ module Peddler
12
12
  # Box for the given conditions and fulfillment channels.
13
13
  attribute(:buy_box_eligible_offers, [OfferCount], from: "buyBoxEligibleOffers")
14
14
 
15
- # @return [Array<BuyBoxPrice>] A list that contains the Buy Box price of the item for the given conditions,
16
- # quantity tiers, and discount types.
17
- attribute(:buy_box_prices, [BuyBoxPrice], from: "buyBoxPrices")
18
-
19
15
  # @return [Array<LowestPrice>] A list that contains the lowest prices of the item for the given conditions,
20
16
  # fulfillment channels, quantity tiers, and discount types.
21
17
  attribute(:lowest_prices, [LowestPrice], from: "lowestPrices")
@@ -23,6 +19,10 @@ module Peddler
23
19
  # @return [Array<OfferCount>] A list that contains the total number of B2B offers for the item for the given
24
20
  # conditions and fulfillment channels.
25
21
  attribute(:number_of_offers, [OfferCount], from: "numberOfOffers")
22
+
23
+ # @return [Array<BuyBoxPrice>] A list that contains the Buy Box price of the item for the given conditions,
24
+ # quantity tiers, and discount types.
25
+ attribute?(:buy_box_prices, [BuyBoxPrice], from: "buyBoxPrices")
26
26
  end
27
27
  end
28
28
  end
@@ -11,20 +11,20 @@ module Peddler
11
11
  # @return [FeeAmount]
12
12
  attribute(:fee_amount, FeeAmount, from: "FeeAmount")
13
13
 
14
- # @return [FeePromotion]
15
- attribute(:fee_promotion, FeePromotion, from: "FeePromotion")
16
-
17
14
  # @return [String]
18
15
  attribute(:fee_type, String, from: "FeeType")
19
16
 
20
17
  # @return [FinalFee]
21
18
  attribute(:final_fee, FinalFee, from: "FinalFee")
22
19
 
20
+ # @return [FeePromotion]
21
+ attribute?(:fee_promotion, FeePromotion, from: "FeePromotion")
22
+
23
23
  # @return [Array]
24
- attribute(:included_fees, Array, from: "IncludedFees")
24
+ attribute?(:included_fees, Array, from: "IncludedFees")
25
25
 
26
26
  # @return [TaxAmount]
27
- attribute(:tax_amount, TaxAmount, from: "TaxAmount")
27
+ attribute?(:tax_amount, TaxAmount, from: "TaxAmount")
28
28
  end
29
29
  end
30
30
  end
@@ -9,10 +9,10 @@ module Peddler
9
9
  module FeePromotion
10
10
  IdentifierValue = Structure.new do
11
11
  # @return [String]
12
- attribute(:identifier_value_friendly_name, String, from: "IdentifierValueFriendlyName")
12
+ attribute(:identifier_value_id, String, from: "IdentifierValueId")
13
13
 
14
14
  # @return [String]
15
- attribute(:identifier_value_id, String, from: "IdentifierValueId")
15
+ attribute?(:identifier_value_friendly_name, String, from: "IdentifierValueFriendlyName")
16
16
  end
17
17
  end
18
18
  end
@@ -8,23 +8,23 @@ module Peddler
8
8
  module Notifications
9
9
  module FeePromotion
10
10
  PromotionInformation = Structure.new do
11
- # @return [FeeDiscountMonetaryAmount]
12
- attribute(:fee_discount_monetary_amount, FeeDiscountMonetaryAmount, from: "FeeDiscountMonetaryAmount")
13
-
14
11
  # @return [String]
15
12
  attribute(:fee_discount_type, String, from: "FeeDiscountType")
16
13
 
17
- # @return [Float]
18
- attribute(:fee_discount_value, Float, from: "FeeDiscountValue")
19
-
20
14
  # @return [String]
21
15
  attribute(:fee_type, String, from: "FeeType")
22
16
 
17
+ # @return [FeeDiscountMonetaryAmount]
18
+ attribute?(:fee_discount_monetary_amount, FeeDiscountMonetaryAmount, from: "FeeDiscountMonetaryAmount")
19
+
20
+ # @return [Float]
21
+ attribute?(:fee_discount_value, Float, from: "FeeDiscountValue")
22
+
23
23
  # @return [FeesEstimate]
24
- attribute(:fees_estimate, FeesEstimate, from: "FeesEstimate")
24
+ attribute?(:fees_estimate, FeesEstimate, from: "FeesEstimate")
25
25
 
26
26
  # @return [PriceThreshold]
27
- attribute(:price_threshold, PriceThreshold, from: "PriceThreshold")
27
+ attribute?(:price_threshold, PriceThreshold, from: "PriceThreshold")
28
28
  end
29
29
  end
30
30
  end
@@ -15,20 +15,20 @@ module Peddler
15
15
  # @return [String]
16
16
  attribute(:fulfillment_order_status, String, from: "FulfillmentOrderStatus")
17
17
 
18
- # @return [FulfillmentReturnItem]
19
- attribute(:fulfillment_return_item, FulfillmentReturnItem, from: "FulfillmentReturnItem")
20
-
21
- # @return [FulfillmentShipment]
22
- attribute(:fulfillment_shipment, FulfillmentShipment, from: "FulfillmentShipment")
23
-
24
18
  # @return [String]
25
19
  attribute(:seller_fulfillment_order_id, String, from: "SellerFulfillmentOrderId")
26
20
 
27
21
  # @return [String]
28
- attribute(:seller_id, String, from: "SellerId")
22
+ attribute(:status_updated_date_time, String, from: "StatusUpdatedDateTime")
23
+
24
+ # @return [FulfillmentReturnItem]
25
+ attribute?(:fulfillment_return_item, FulfillmentReturnItem, from: "FulfillmentReturnItem")
26
+
27
+ # @return [FulfillmentShipment]
28
+ attribute?(:fulfillment_shipment, FulfillmentShipment, from: "FulfillmentShipment")
29
29
 
30
30
  # @return [String]
31
- attribute(:status_updated_date_time, String, from: "StatusUpdatedDateTime")
31
+ attribute?(:seller_id, String, from: "SellerId")
32
32
  end
33
33
  end
34
34
  end
@@ -12,9 +12,6 @@ module Peddler
12
12
  # @return [String] An Amazon-defined order identifier in 3-7-7 format.
13
13
  attribute(:amazon_order_id, String, from: "AmazonOrderId")
14
14
 
15
- # @return [String] The destination postal code.
16
- attribute(:destination_postal_code, String, from: "DestinationPostalCode")
17
-
18
15
  # @return [String] Fulfillment channel of the affected order, MFN or AFN.
19
16
  attribute(:fulfillment_channel, String, from: "FulfillmentChannel")
20
17
 
@@ -28,9 +25,6 @@ module Peddler
28
25
  # PartiallyShipped, PendingAvailability, Canceled, InvoiceUnconfirmed, Shipped, and Unfulfillable.
29
26
  attribute(:order_status, String, from: "OrderStatus")
30
27
 
31
- # @return [String] The purchase date of the order in Epoch time.
32
- attribute(:purchase_date, String, from: "PurchaseDate")
33
-
34
28
  # @return [Integer] The number of items in the order.
35
29
  attribute(:quantity, Integer, from: "Quantity")
36
30
 
@@ -40,8 +34,14 @@ module Peddler
40
34
  # @return [String] The seller-specific SKU identifier for an item.
41
35
  attribute(:seller_sku, String, from: "SellerSKU")
42
36
 
37
+ # @return [String] The destination postal code.
38
+ attribute?(:destination_postal_code, String, from: "DestinationPostalCode")
39
+
40
+ # @return [String] The purchase date of the order in Epoch time.
41
+ attribute?(:purchase_date, String, from: "PurchaseDate")
42
+
43
43
  # @return [String] The unique identifier of the supply source.
44
- attribute(:supply_source_id, String, from: "SupplySourceId")
44
+ attribute?(:supply_source_id, String, from: "SupplySourceId")
45
45
  end
46
46
  end
47
47
  end
@@ -19,7 +19,7 @@ module Peddler
19
19
  attribute(:marketplace_id, String, from: "marketplaceId")
20
20
 
21
21
  # @return [String] The update time for the offer that caused this notification
22
- attribute(:time_of_offer_change, String, from: "timeOfOfferChange")
22
+ attribute?(:time_of_offer_change, String, from: "timeOfOfferChange")
23
23
  end
24
24
  end
25
25
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Peddler
4
- VERSION = "5.0.0.pre.5"
4
+ VERSION = "5.0.0.pre.7"
5
5
  end
@@ -40,12 +40,12 @@ module Peddler
40
40
  end
41
41
 
42
42
  class Issue < Data
43
- def self.new: (message: String?, severity: String?, ?attribute_name: String?, ?code: String?, ?message_id: Integer?) -> Peddler::Feeds::ListingsFeedProcessingReportSchema::Issue
44
- | (String?, String?, String?, String?, Integer?) -> Peddler::Feeds::ListingsFeedProcessingReportSchema::Issue
45
- def self.[]: (message: String?, severity: String?, ?attribute_name: String?, ?code: String?, ?message_id: Integer?) -> Peddler::Feeds::ListingsFeedProcessingReportSchema::Issue
46
- | (String?, String?, String?, String?, Integer?) -> Peddler::Feeds::ListingsFeedProcessingReportSchema::Issue
43
+ def self.new: (message: String?, severity: String?, ?attribute_name: String?, ?code: String?, ?message_id: Integer?, ?sku: String?) -> Peddler::Feeds::ListingsFeedProcessingReportSchema::Issue
44
+ | (String?, String?, String?, String?, Integer?, String?) -> Peddler::Feeds::ListingsFeedProcessingReportSchema::Issue
45
+ def self.[]: (message: String?, severity: String?, ?attribute_name: String?, ?code: String?, ?message_id: Integer?, ?sku: String?) -> Peddler::Feeds::ListingsFeedProcessingReportSchema::Issue
46
+ | (String?, String?, String?, String?, Integer?, String?) -> Peddler::Feeds::ListingsFeedProcessingReportSchema::Issue
47
47
 
48
- def self.members: () -> [ :message, :severity, :attribute_name, :code, :message_id ]
48
+ def self.members: () -> [ :message, :severity, :attribute_name, :code, :message_id, :sku ]
49
49
 
50
50
  def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Feeds::ListingsFeedProcessingReportSchema::Issue
51
51
 
@@ -54,9 +54,10 @@ module Peddler
54
54
  attr_reader message: String?
55
55
  attr_reader message_id: Integer?
56
56
  attr_reader severity: String?
57
+ attr_reader sku: String?
57
58
 
58
- def members: () -> [ :message, :severity, :attribute_name, :code, :message_id ]
59
- def to_h: () -> { message: String?, severity: String?, attribute_name: String?, code: String?, message_id: Integer? }
59
+ def members: () -> [ :message, :severity, :attribute_name, :code, :message_id, :sku ]
60
+ def to_h: () -> { message: String?, severity: String?, attribute_name: String?, code: String?, message_id: Integer?, sku: String? }
60
61
  end
61
62
 
62
63
  class ItemSummary < Data
@@ -119,12 +119,12 @@ module Peddler
119
119
  end
120
120
 
121
121
  class Offer < Data
122
- def self.new: (expedited_shipping_available: bool?, featured_merchant: bool?, fulfilled_by_amazon: bool?, listing_price: Peddler::Money?, points: Peddler::Notifications::AnyOfferChanged::Points?, prime_information: Peddler::Notifications::AnyOfferChanged::PrimeInformation?, seller_feedback_rating: Peddler::Notifications::AnyOfferChanged::SellerFeedbackRating?, seller_id: String?, shipping: Peddler::Money?, shipping_time: Peddler::Notifications::AnyOfferChanged::ShippingTime?, ships_domestically: bool?, ships_from: Peddler::Notifications::AnyOfferChanged::ShipsFrom?, ships_internationally: bool?, sub_condition: String?) -> Peddler::Notifications::AnyOfferChanged::Offer
123
- | (bool?, bool?, bool?, Peddler::Money?, Peddler::Notifications::AnyOfferChanged::Points?, Peddler::Notifications::AnyOfferChanged::PrimeInformation?, Peddler::Notifications::AnyOfferChanged::SellerFeedbackRating?, String?, Peddler::Money?, Peddler::Notifications::AnyOfferChanged::ShippingTime?, bool?, Peddler::Notifications::AnyOfferChanged::ShipsFrom?, bool?, String?) -> Peddler::Notifications::AnyOfferChanged::Offer
124
- def self.[]: (expedited_shipping_available: bool?, featured_merchant: bool?, fulfilled_by_amazon: bool?, listing_price: Peddler::Money?, points: Peddler::Notifications::AnyOfferChanged::Points?, prime_information: Peddler::Notifications::AnyOfferChanged::PrimeInformation?, seller_feedback_rating: Peddler::Notifications::AnyOfferChanged::SellerFeedbackRating?, seller_id: String?, shipping: Peddler::Money?, shipping_time: Peddler::Notifications::AnyOfferChanged::ShippingTime?, ships_domestically: bool?, ships_from: Peddler::Notifications::AnyOfferChanged::ShipsFrom?, ships_internationally: bool?, sub_condition: String?) -> Peddler::Notifications::AnyOfferChanged::Offer
125
- | (bool?, bool?, bool?, Peddler::Money?, Peddler::Notifications::AnyOfferChanged::Points?, Peddler::Notifications::AnyOfferChanged::PrimeInformation?, Peddler::Notifications::AnyOfferChanged::SellerFeedbackRating?, String?, Peddler::Money?, Peddler::Notifications::AnyOfferChanged::ShippingTime?, bool?, Peddler::Notifications::AnyOfferChanged::ShipsFrom?, bool?, String?) -> Peddler::Notifications::AnyOfferChanged::Offer
122
+ def self.new: (fulfilled_by_amazon: bool?, listing_price: Peddler::Money?, seller_id: String?, shipping: Peddler::Money?, shipping_time: Peddler::Notifications::AnyOfferChanged::ShippingTime?, sub_condition: String?, ?expedited_shipping_available: bool?, ?featured_merchant: bool?, ?points: Peddler::Notifications::AnyOfferChanged::Points?, ?prime_information: Peddler::Notifications::AnyOfferChanged::PrimeInformation?, ?seller_feedback_rating: Peddler::Notifications::AnyOfferChanged::SellerFeedbackRating?, ?ships_domestically: bool?, ?ships_from: Peddler::Notifications::AnyOfferChanged::ShipsFrom?, ?ships_internationally: bool?) -> Peddler::Notifications::AnyOfferChanged::Offer
123
+ | (bool?, Peddler::Money?, String?, Peddler::Money?, Peddler::Notifications::AnyOfferChanged::ShippingTime?, String?, bool?, bool?, Peddler::Notifications::AnyOfferChanged::Points?, Peddler::Notifications::AnyOfferChanged::PrimeInformation?, Peddler::Notifications::AnyOfferChanged::SellerFeedbackRating?, bool?, Peddler::Notifications::AnyOfferChanged::ShipsFrom?, bool?) -> Peddler::Notifications::AnyOfferChanged::Offer
124
+ def self.[]: (fulfilled_by_amazon: bool?, listing_price: Peddler::Money?, seller_id: String?, shipping: Peddler::Money?, shipping_time: Peddler::Notifications::AnyOfferChanged::ShippingTime?, sub_condition: String?, ?expedited_shipping_available: bool?, ?featured_merchant: bool?, ?points: Peddler::Notifications::AnyOfferChanged::Points?, ?prime_information: Peddler::Notifications::AnyOfferChanged::PrimeInformation?, ?seller_feedback_rating: Peddler::Notifications::AnyOfferChanged::SellerFeedbackRating?, ?ships_domestically: bool?, ?ships_from: Peddler::Notifications::AnyOfferChanged::ShipsFrom?, ?ships_internationally: bool?) -> Peddler::Notifications::AnyOfferChanged::Offer
125
+ | (bool?, Peddler::Money?, String?, Peddler::Money?, Peddler::Notifications::AnyOfferChanged::ShippingTime?, String?, bool?, bool?, Peddler::Notifications::AnyOfferChanged::Points?, Peddler::Notifications::AnyOfferChanged::PrimeInformation?, Peddler::Notifications::AnyOfferChanged::SellerFeedbackRating?, bool?, Peddler::Notifications::AnyOfferChanged::ShipsFrom?, bool?) -> Peddler::Notifications::AnyOfferChanged::Offer
126
126
 
127
- def self.members: () -> [ :expedited_shipping_available, :featured_merchant, :fulfilled_by_amazon, :listing_price, :points, :prime_information, :seller_feedback_rating, :seller_id, :shipping, :shipping_time, :ships_domestically, :ships_from, :ships_internationally, :sub_condition ]
127
+ def self.members: () -> [ :fulfilled_by_amazon, :listing_price, :seller_id, :shipping, :shipping_time, :sub_condition, :expedited_shipping_available, :featured_merchant, :points, :prime_information, :seller_feedback_rating, :ships_domestically, :ships_from, :ships_internationally ]
128
128
 
129
129
  def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Notifications::AnyOfferChanged::Offer
130
130
 
@@ -146,10 +146,10 @@ module Peddler
146
146
  def expedited_shipping_available?: () -> bool
147
147
  def featured_merchant?: () -> bool
148
148
  def fulfilled_by_amazon?: () -> bool
149
- def members: () -> [ :expedited_shipping_available, :featured_merchant, :fulfilled_by_amazon, :listing_price, :points, :prime_information, :seller_feedback_rating, :seller_id, :shipping, :shipping_time, :ships_domestically, :ships_from, :ships_internationally, :sub_condition ]
149
+ def members: () -> [ :fulfilled_by_amazon, :listing_price, :seller_id, :shipping, :shipping_time, :sub_condition, :expedited_shipping_available, :featured_merchant, :points, :prime_information, :seller_feedback_rating, :ships_domestically, :ships_from, :ships_internationally ]
150
150
  def ships_domestically?: () -> bool
151
151
  def ships_internationally?: () -> bool
152
- def to_h: () -> { expedited_shipping_available: bool?, featured_merchant: bool?, fulfilled_by_amazon: bool?, listing_price: Peddler::Money?, points: Peddler::Notifications::AnyOfferChanged::Points?, prime_information: Peddler::Notifications::AnyOfferChanged::PrimeInformation?, seller_feedback_rating: Peddler::Notifications::AnyOfferChanged::SellerFeedbackRating?, seller_id: String?, shipping: Peddler::Money?, shipping_time: Peddler::Notifications::AnyOfferChanged::ShippingTime?, ships_domestically: bool?, ships_from: Peddler::Notifications::AnyOfferChanged::ShipsFrom?, ships_internationally: bool?, sub_condition: String? }
152
+ def to_h: () -> { fulfilled_by_amazon: bool?, listing_price: Peddler::Money?, seller_id: String?, shipping: Peddler::Money?, shipping_time: Peddler::Notifications::AnyOfferChanged::ShippingTime?, sub_condition: String?, expedited_shipping_available: bool?, featured_merchant: bool?, points: Peddler::Notifications::AnyOfferChanged::Points?, prime_information: Peddler::Notifications::AnyOfferChanged::PrimeInformation?, seller_feedback_rating: Peddler::Notifications::AnyOfferChanged::SellerFeedbackRating?, ships_domestically: bool?, ships_from: Peddler::Notifications::AnyOfferChanged::ShipsFrom?, ships_internationally: bool? }
153
153
  end
154
154
 
155
155
  class OfferChangeTrigger < Data
@@ -294,12 +294,12 @@ module Peddler
294
294
  end
295
295
 
296
296
  class Summary < Data
297
- def self.new: (buy_box_prices: Array[untyped]?, competitive_price_threshold: Peddler::Money?, list_price: Peddler::Money?, lowest_prices: Array[untyped]?, minimum_advertised_price: Peddler::Money?, number_of_buy_box_eligible_offers: Array[untyped]?, number_of_offers: Array[untyped]?, sales_rankings: Array[untyped]?, suggested_lower_price_plus_shipping: Peddler::Money?, total_buy_box_eligible_offers: Integer?) -> Peddler::Notifications::AnyOfferChanged::Summary
298
- | (Array[untyped]?, Peddler::Money?, Peddler::Money?, Array[untyped]?, Peddler::Money?, Array[untyped]?, Array[untyped]?, Array[untyped]?, Peddler::Money?, Integer?) -> Peddler::Notifications::AnyOfferChanged::Summary
299
- def self.[]: (buy_box_prices: Array[untyped]?, competitive_price_threshold: Peddler::Money?, list_price: Peddler::Money?, lowest_prices: Array[untyped]?, minimum_advertised_price: Peddler::Money?, number_of_buy_box_eligible_offers: Array[untyped]?, number_of_offers: Array[untyped]?, sales_rankings: Array[untyped]?, suggested_lower_price_plus_shipping: Peddler::Money?, total_buy_box_eligible_offers: Integer?) -> Peddler::Notifications::AnyOfferChanged::Summary
300
- | (Array[untyped]?, Peddler::Money?, Peddler::Money?, Array[untyped]?, Peddler::Money?, Array[untyped]?, Array[untyped]?, Array[untyped]?, Peddler::Money?, Integer?) -> Peddler::Notifications::AnyOfferChanged::Summary
297
+ def self.new: (lowest_prices: Array[untyped]?, number_of_buy_box_eligible_offers: Array[untyped]?, number_of_offers: Array[untyped]?, ?buy_box_prices: Array[untyped]?, ?competitive_price_threshold: Peddler::Money?, ?list_price: Peddler::Money?, ?minimum_advertised_price: Peddler::Money?, ?sales_rankings: Array[untyped]?, ?suggested_lower_price_plus_shipping: Peddler::Money?, ?total_buy_box_eligible_offers: Integer?) -> Peddler::Notifications::AnyOfferChanged::Summary
298
+ | (Array[untyped]?, Array[untyped]?, Array[untyped]?, Array[untyped]?, Peddler::Money?, Peddler::Money?, Peddler::Money?, Array[untyped]?, Peddler::Money?, Integer?) -> Peddler::Notifications::AnyOfferChanged::Summary
299
+ def self.[]: (lowest_prices: Array[untyped]?, number_of_buy_box_eligible_offers: Array[untyped]?, number_of_offers: Array[untyped]?, ?buy_box_prices: Array[untyped]?, ?competitive_price_threshold: Peddler::Money?, ?list_price: Peddler::Money?, ?minimum_advertised_price: Peddler::Money?, ?sales_rankings: Array[untyped]?, ?suggested_lower_price_plus_shipping: Peddler::Money?, ?total_buy_box_eligible_offers: Integer?) -> Peddler::Notifications::AnyOfferChanged::Summary
300
+ | (Array[untyped]?, Array[untyped]?, Array[untyped]?, Array[untyped]?, Peddler::Money?, Peddler::Money?, Peddler::Money?, Array[untyped]?, Peddler::Money?, Integer?) -> Peddler::Notifications::AnyOfferChanged::Summary
301
301
 
302
- def self.members: () -> [ :buy_box_prices, :competitive_price_threshold, :list_price, :lowest_prices, :minimum_advertised_price, :number_of_buy_box_eligible_offers, :number_of_offers, :sales_rankings, :suggested_lower_price_plus_shipping, :total_buy_box_eligible_offers ]
302
+ def self.members: () -> [ :lowest_prices, :number_of_buy_box_eligible_offers, :number_of_offers, :buy_box_prices, :competitive_price_threshold, :list_price, :minimum_advertised_price, :sales_rankings, :suggested_lower_price_plus_shipping, :total_buy_box_eligible_offers ]
303
303
 
304
304
  def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Notifications::AnyOfferChanged::Summary
305
305
 
@@ -314,8 +314,8 @@ module Peddler
314
314
  attr_reader suggested_lower_price_plus_shipping: Peddler::Money?
315
315
  attr_reader total_buy_box_eligible_offers: Integer?
316
316
 
317
- def members: () -> [ :buy_box_prices, :competitive_price_threshold, :list_price, :lowest_prices, :minimum_advertised_price, :number_of_buy_box_eligible_offers, :number_of_offers, :sales_rankings, :suggested_lower_price_plus_shipping, :total_buy_box_eligible_offers ]
318
- def to_h: () -> { buy_box_prices: Array[untyped]?, competitive_price_threshold: Peddler::Money?, list_price: Peddler::Money?, lowest_prices: Array[untyped]?, minimum_advertised_price: Peddler::Money?, number_of_buy_box_eligible_offers: Array[untyped]?, number_of_offers: Array[untyped]?, sales_rankings: Array[untyped]?, suggested_lower_price_plus_shipping: Peddler::Money?, total_buy_box_eligible_offers: Integer? }
317
+ def members: () -> [ :lowest_prices, :number_of_buy_box_eligible_offers, :number_of_offers, :buy_box_prices, :competitive_price_threshold, :list_price, :minimum_advertised_price, :sales_rankings, :suggested_lower_price_plus_shipping, :total_buy_box_eligible_offers ]
318
+ def to_h: () -> { lowest_prices: Array[untyped]?, number_of_buy_box_eligible_offers: Array[untyped]?, number_of_offers: Array[untyped]?, buy_box_prices: Array[untyped]?, competitive_price_threshold: Peddler::Money?, list_price: Peddler::Money?, minimum_advertised_price: Peddler::Money?, sales_rankings: Array[untyped]?, suggested_lower_price_plus_shipping: Peddler::Money?, total_buy_box_eligible_offers: Integer? }
319
319
  end
320
320
 
321
321
  def self.parse: (Hash[String | Symbol, untyped]) -> Peddler::Notifications::AnyOfferChanged::Notification
@@ -156,9 +156,9 @@ module Peddler
156
156
  end
157
157
 
158
158
  class OfferCount < Data
159
- def self.new: (condition: String?, fulfillment_channel: String?, offer_count: Integer?) -> Peddler::Notifications::B2BAnyOfferChanged::OfferCount
159
+ def self.new: (condition: String?, fulfillment_channel: String?, ?offer_count: Integer?) -> Peddler::Notifications::B2BAnyOfferChanged::OfferCount
160
160
  | (String?, String?, Integer?) -> Peddler::Notifications::B2BAnyOfferChanged::OfferCount
161
- def self.[]: (condition: String?, fulfillment_channel: String?, offer_count: Integer?) -> Peddler::Notifications::B2BAnyOfferChanged::OfferCount
161
+ def self.[]: (condition: String?, fulfillment_channel: String?, ?offer_count: Integer?) -> Peddler::Notifications::B2BAnyOfferChanged::OfferCount
162
162
  | (String?, String?, Integer?) -> Peddler::Notifications::B2BAnyOfferChanged::OfferCount
163
163
 
164
164
  def self.members: () -> [ :condition, :fulfillment_channel, :offer_count ]
@@ -227,9 +227,9 @@ module Peddler
227
227
  end
228
228
 
229
229
  class SellerFeedbackRating < Data
230
- def self.new: (feedback_count: Integer?, seller_positive_feedback_rating: Float?) -> Peddler::Notifications::B2BAnyOfferChanged::SellerFeedbackRating
230
+ def self.new: (feedback_count: Integer?, ?seller_positive_feedback_rating: Float?) -> Peddler::Notifications::B2BAnyOfferChanged::SellerFeedbackRating
231
231
  | (Integer?, Float?) -> Peddler::Notifications::B2BAnyOfferChanged::SellerFeedbackRating
232
- def self.[]: (feedback_count: Integer?, seller_positive_feedback_rating: Float?) -> Peddler::Notifications::B2BAnyOfferChanged::SellerFeedbackRating
232
+ def self.[]: (feedback_count: Integer?, ?seller_positive_feedback_rating: Float?) -> Peddler::Notifications::B2BAnyOfferChanged::SellerFeedbackRating
233
233
  | (Integer?, Float?) -> Peddler::Notifications::B2BAnyOfferChanged::SellerFeedbackRating
234
234
 
235
235
  def self.members: () -> [ :feedback_count, :seller_positive_feedback_rating ]
@@ -263,9 +263,9 @@ module Peddler
263
263
  end
264
264
 
265
265
  class ShipsFrom < Data
266
- def self.new: (country: String?) -> Peddler::Notifications::B2BAnyOfferChanged::ShipsFrom
266
+ def self.new: (?country: String?) -> Peddler::Notifications::B2BAnyOfferChanged::ShipsFrom
267
267
  | (String?) -> Peddler::Notifications::B2BAnyOfferChanged::ShipsFrom
268
- def self.[]: (country: String?) -> Peddler::Notifications::B2BAnyOfferChanged::ShipsFrom
268
+ def self.[]: (?country: String?) -> Peddler::Notifications::B2BAnyOfferChanged::ShipsFrom
269
269
  | (String?) -> Peddler::Notifications::B2BAnyOfferChanged::ShipsFrom
270
270
 
271
271
  def self.members: () -> [ :country ]
@@ -279,12 +279,12 @@ module Peddler
279
279
  end
280
280
 
281
281
  class Summary < Data
282
- def self.new: (buy_box_eligible_offers: Array[Peddler::Notifications::B2BAnyOfferChanged::OfferCount]?, buy_box_prices: Array[Peddler::Notifications::B2BAnyOfferChanged::BuyBoxPrice]?, lowest_prices: Array[Peddler::Notifications::B2BAnyOfferChanged::LowestPrice]?, number_of_offers: Array[Peddler::Notifications::B2BAnyOfferChanged::OfferCount]?) -> Peddler::Notifications::B2BAnyOfferChanged::Summary
283
- | (Array[Peddler::Notifications::B2BAnyOfferChanged::OfferCount]?, Array[Peddler::Notifications::B2BAnyOfferChanged::BuyBoxPrice]?, Array[Peddler::Notifications::B2BAnyOfferChanged::LowestPrice]?, Array[Peddler::Notifications::B2BAnyOfferChanged::OfferCount]?) -> Peddler::Notifications::B2BAnyOfferChanged::Summary
284
- def self.[]: (buy_box_eligible_offers: Array[Peddler::Notifications::B2BAnyOfferChanged::OfferCount]?, buy_box_prices: Array[Peddler::Notifications::B2BAnyOfferChanged::BuyBoxPrice]?, lowest_prices: Array[Peddler::Notifications::B2BAnyOfferChanged::LowestPrice]?, number_of_offers: Array[Peddler::Notifications::B2BAnyOfferChanged::OfferCount]?) -> Peddler::Notifications::B2BAnyOfferChanged::Summary
285
- | (Array[Peddler::Notifications::B2BAnyOfferChanged::OfferCount]?, Array[Peddler::Notifications::B2BAnyOfferChanged::BuyBoxPrice]?, Array[Peddler::Notifications::B2BAnyOfferChanged::LowestPrice]?, Array[Peddler::Notifications::B2BAnyOfferChanged::OfferCount]?) -> Peddler::Notifications::B2BAnyOfferChanged::Summary
282
+ def self.new: (buy_box_eligible_offers: Array[Peddler::Notifications::B2BAnyOfferChanged::OfferCount]?, lowest_prices: Array[Peddler::Notifications::B2BAnyOfferChanged::LowestPrice]?, number_of_offers: Array[Peddler::Notifications::B2BAnyOfferChanged::OfferCount]?, ?buy_box_prices: Array[Peddler::Notifications::B2BAnyOfferChanged::BuyBoxPrice]?) -> Peddler::Notifications::B2BAnyOfferChanged::Summary
283
+ | (Array[Peddler::Notifications::B2BAnyOfferChanged::OfferCount]?, Array[Peddler::Notifications::B2BAnyOfferChanged::LowestPrice]?, Array[Peddler::Notifications::B2BAnyOfferChanged::OfferCount]?, Array[Peddler::Notifications::B2BAnyOfferChanged::BuyBoxPrice]?) -> Peddler::Notifications::B2BAnyOfferChanged::Summary
284
+ def self.[]: (buy_box_eligible_offers: Array[Peddler::Notifications::B2BAnyOfferChanged::OfferCount]?, lowest_prices: Array[Peddler::Notifications::B2BAnyOfferChanged::LowestPrice]?, number_of_offers: Array[Peddler::Notifications::B2BAnyOfferChanged::OfferCount]?, ?buy_box_prices: Array[Peddler::Notifications::B2BAnyOfferChanged::BuyBoxPrice]?) -> Peddler::Notifications::B2BAnyOfferChanged::Summary
285
+ | (Array[Peddler::Notifications::B2BAnyOfferChanged::OfferCount]?, Array[Peddler::Notifications::B2BAnyOfferChanged::LowestPrice]?, Array[Peddler::Notifications::B2BAnyOfferChanged::OfferCount]?, Array[Peddler::Notifications::B2BAnyOfferChanged::BuyBoxPrice]?) -> Peddler::Notifications::B2BAnyOfferChanged::Summary
286
286
 
287
- def self.members: () -> [ :buy_box_eligible_offers, :buy_box_prices, :lowest_prices, :number_of_offers ]
287
+ def self.members: () -> [ :buy_box_eligible_offers, :lowest_prices, :number_of_offers, :buy_box_prices ]
288
288
 
289
289
  def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Notifications::B2BAnyOfferChanged::Summary
290
290
 
@@ -293,8 +293,8 @@ module Peddler
293
293
  attr_reader lowest_prices: Array[Peddler::Notifications::B2BAnyOfferChanged::LowestPrice]?
294
294
  attr_reader number_of_offers: Array[Peddler::Notifications::B2BAnyOfferChanged::OfferCount]?
295
295
 
296
- def members: () -> [ :buy_box_eligible_offers, :buy_box_prices, :lowest_prices, :number_of_offers ]
297
- def to_h: () -> { buy_box_eligible_offers: Array[Peddler::Notifications::B2BAnyOfferChanged::OfferCount]?, buy_box_prices: Array[Peddler::Notifications::B2BAnyOfferChanged::BuyBoxPrice]?, lowest_prices: Array[Peddler::Notifications::B2BAnyOfferChanged::LowestPrice]?, number_of_offers: Array[Peddler::Notifications::B2BAnyOfferChanged::OfferCount]? }
296
+ def members: () -> [ :buy_box_eligible_offers, :lowest_prices, :number_of_offers, :buy_box_prices ]
297
+ def to_h: () -> { buy_box_eligible_offers: Array[Peddler::Notifications::B2BAnyOfferChanged::OfferCount]?, lowest_prices: Array[Peddler::Notifications::B2BAnyOfferChanged::LowestPrice]?, number_of_offers: Array[Peddler::Notifications::B2BAnyOfferChanged::OfferCount]?, buy_box_prices: Array[Peddler::Notifications::B2BAnyOfferChanged::BuyBoxPrice]? }
298
298
  end
299
299
 
300
300
  def self.parse: (Hash[String | Symbol, untyped]) -> Peddler::Notifications::B2BAnyOfferChanged::Notification
@@ -19,12 +19,12 @@ module Peddler
19
19
  end
20
20
 
21
21
  class FeeDetail < Data
22
- def self.new: (fee_amount: Peddler::Notifications::FeePromotion::FeeAmount?, fee_promotion: Peddler::Notifications::FeePromotion::FeePromotion?, fee_type: String?, final_fee: Peddler::Notifications::FeePromotion::FinalFee?, included_fees: Array[untyped]?, tax_amount: Peddler::Notifications::FeePromotion::TaxAmount?) -> Peddler::Notifications::FeePromotion::FeeDetail
23
- | (Peddler::Notifications::FeePromotion::FeeAmount?, Peddler::Notifications::FeePromotion::FeePromotion?, String?, Peddler::Notifications::FeePromotion::FinalFee?, Array[untyped]?, Peddler::Notifications::FeePromotion::TaxAmount?) -> Peddler::Notifications::FeePromotion::FeeDetail
24
- def self.[]: (fee_amount: Peddler::Notifications::FeePromotion::FeeAmount?, fee_promotion: Peddler::Notifications::FeePromotion::FeePromotion?, fee_type: String?, final_fee: Peddler::Notifications::FeePromotion::FinalFee?, included_fees: Array[untyped]?, tax_amount: Peddler::Notifications::FeePromotion::TaxAmount?) -> Peddler::Notifications::FeePromotion::FeeDetail
25
- | (Peddler::Notifications::FeePromotion::FeeAmount?, Peddler::Notifications::FeePromotion::FeePromotion?, String?, Peddler::Notifications::FeePromotion::FinalFee?, Array[untyped]?, Peddler::Notifications::FeePromotion::TaxAmount?) -> Peddler::Notifications::FeePromotion::FeeDetail
22
+ def self.new: (fee_amount: Peddler::Notifications::FeePromotion::FeeAmount?, fee_type: String?, final_fee: Peddler::Notifications::FeePromotion::FinalFee?, ?fee_promotion: Peddler::Notifications::FeePromotion::FeePromotion?, ?included_fees: Array[untyped]?, ?tax_amount: Peddler::Notifications::FeePromotion::TaxAmount?) -> Peddler::Notifications::FeePromotion::FeeDetail
23
+ | (Peddler::Notifications::FeePromotion::FeeAmount?, String?, Peddler::Notifications::FeePromotion::FinalFee?, Peddler::Notifications::FeePromotion::FeePromotion?, Array[untyped]?, Peddler::Notifications::FeePromotion::TaxAmount?) -> Peddler::Notifications::FeePromotion::FeeDetail
24
+ def self.[]: (fee_amount: Peddler::Notifications::FeePromotion::FeeAmount?, fee_type: String?, final_fee: Peddler::Notifications::FeePromotion::FinalFee?, ?fee_promotion: Peddler::Notifications::FeePromotion::FeePromotion?, ?included_fees: Array[untyped]?, ?tax_amount: Peddler::Notifications::FeePromotion::TaxAmount?) -> Peddler::Notifications::FeePromotion::FeeDetail
25
+ | (Peddler::Notifications::FeePromotion::FeeAmount?, String?, Peddler::Notifications::FeePromotion::FinalFee?, Peddler::Notifications::FeePromotion::FeePromotion?, Array[untyped]?, Peddler::Notifications::FeePromotion::TaxAmount?) -> Peddler::Notifications::FeePromotion::FeeDetail
26
26
 
27
- def self.members: () -> [ :fee_amount, :fee_promotion, :fee_type, :final_fee, :included_fees, :tax_amount ]
27
+ def self.members: () -> [ :fee_amount, :fee_type, :final_fee, :fee_promotion, :included_fees, :tax_amount ]
28
28
 
29
29
  def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Notifications::FeePromotion::FeeDetail
30
30
 
@@ -35,8 +35,8 @@ module Peddler
35
35
  attr_reader included_fees: Array[untyped]?
36
36
  attr_reader tax_amount: Peddler::Notifications::FeePromotion::TaxAmount?
37
37
 
38
- def members: () -> [ :fee_amount, :fee_promotion, :fee_type, :final_fee, :included_fees, :tax_amount ]
39
- def to_h: () -> { fee_amount: Peddler::Notifications::FeePromotion::FeeAmount?, fee_promotion: Peddler::Notifications::FeePromotion::FeePromotion?, fee_type: String?, final_fee: Peddler::Notifications::FeePromotion::FinalFee?, included_fees: Array[untyped]?, tax_amount: Peddler::Notifications::FeePromotion::TaxAmount? }
38
+ def members: () -> [ :fee_amount, :fee_type, :final_fee, :fee_promotion, :included_fees, :tax_amount ]
39
+ def to_h: () -> { fee_amount: Peddler::Notifications::FeePromotion::FeeAmount?, fee_type: String?, final_fee: Peddler::Notifications::FeePromotion::FinalFee?, fee_promotion: Peddler::Notifications::FeePromotion::FeePromotion?, included_fees: Array[untyped]?, tax_amount: Peddler::Notifications::FeePromotion::TaxAmount? }
40
40
  end
41
41
 
42
42
  class FeeDiscountMonetaryAmount < Data
@@ -165,20 +165,20 @@ module Peddler
165
165
  end
166
166
 
167
167
  class IdentifierValue < Data
168
- def self.new: (identifier_value_friendly_name: String?, identifier_value_id: String?) -> Peddler::Notifications::FeePromotion::IdentifierValue
168
+ def self.new: (identifier_value_id: String?, ?identifier_value_friendly_name: String?) -> Peddler::Notifications::FeePromotion::IdentifierValue
169
169
  | (String?, String?) -> Peddler::Notifications::FeePromotion::IdentifierValue
170
- def self.[]: (identifier_value_friendly_name: String?, identifier_value_id: String?) -> Peddler::Notifications::FeePromotion::IdentifierValue
170
+ def self.[]: (identifier_value_id: String?, ?identifier_value_friendly_name: String?) -> Peddler::Notifications::FeePromotion::IdentifierValue
171
171
  | (String?, String?) -> Peddler::Notifications::FeePromotion::IdentifierValue
172
172
 
173
- def self.members: () -> [ :identifier_value_friendly_name, :identifier_value_id ]
173
+ def self.members: () -> [ :identifier_value_id, :identifier_value_friendly_name ]
174
174
 
175
175
  def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Notifications::FeePromotion::IdentifierValue
176
176
 
177
177
  attr_reader identifier_value_friendly_name: String?
178
178
  attr_reader identifier_value_id: String?
179
179
 
180
- def members: () -> [ :identifier_value_friendly_name, :identifier_value_id ]
181
- def to_h: () -> { identifier_value_friendly_name: String?, identifier_value_id: String? }
180
+ def members: () -> [ :identifier_value_id, :identifier_value_friendly_name ]
181
+ def to_h: () -> { identifier_value_id: String?, identifier_value_friendly_name: String? }
182
182
  end
183
183
 
184
184
  class IncludedFee < Data
@@ -273,12 +273,12 @@ module Peddler
273
273
  end
274
274
 
275
275
  class PromotionInformation < Data
276
- def self.new: (fee_discount_monetary_amount: Peddler::Notifications::FeePromotion::FeeDiscountMonetaryAmount?, fee_discount_type: String?, fee_discount_value: Float?, fee_type: String?, fees_estimate: Peddler::Notifications::FeePromotion::FeesEstimate?, price_threshold: Peddler::Notifications::FeePromotion::PriceThreshold?) -> Peddler::Notifications::FeePromotion::PromotionInformation
277
- | (Peddler::Notifications::FeePromotion::FeeDiscountMonetaryAmount?, String?, Float?, String?, Peddler::Notifications::FeePromotion::FeesEstimate?, Peddler::Notifications::FeePromotion::PriceThreshold?) -> Peddler::Notifications::FeePromotion::PromotionInformation
278
- def self.[]: (fee_discount_monetary_amount: Peddler::Notifications::FeePromotion::FeeDiscountMonetaryAmount?, fee_discount_type: String?, fee_discount_value: Float?, fee_type: String?, fees_estimate: Peddler::Notifications::FeePromotion::FeesEstimate?, price_threshold: Peddler::Notifications::FeePromotion::PriceThreshold?) -> Peddler::Notifications::FeePromotion::PromotionInformation
279
- | (Peddler::Notifications::FeePromotion::FeeDiscountMonetaryAmount?, String?, Float?, String?, Peddler::Notifications::FeePromotion::FeesEstimate?, Peddler::Notifications::FeePromotion::PriceThreshold?) -> Peddler::Notifications::FeePromotion::PromotionInformation
276
+ def self.new: (fee_discount_type: String?, fee_type: String?, ?fee_discount_monetary_amount: Peddler::Notifications::FeePromotion::FeeDiscountMonetaryAmount?, ?fee_discount_value: Float?, ?fees_estimate: Peddler::Notifications::FeePromotion::FeesEstimate?, ?price_threshold: Peddler::Notifications::FeePromotion::PriceThreshold?) -> Peddler::Notifications::FeePromotion::PromotionInformation
277
+ | (String?, String?, Peddler::Notifications::FeePromotion::FeeDiscountMonetaryAmount?, Float?, Peddler::Notifications::FeePromotion::FeesEstimate?, Peddler::Notifications::FeePromotion::PriceThreshold?) -> Peddler::Notifications::FeePromotion::PromotionInformation
278
+ def self.[]: (fee_discount_type: String?, fee_type: String?, ?fee_discount_monetary_amount: Peddler::Notifications::FeePromotion::FeeDiscountMonetaryAmount?, ?fee_discount_value: Float?, ?fees_estimate: Peddler::Notifications::FeePromotion::FeesEstimate?, ?price_threshold: Peddler::Notifications::FeePromotion::PriceThreshold?) -> Peddler::Notifications::FeePromotion::PromotionInformation
279
+ | (String?, String?, Peddler::Notifications::FeePromotion::FeeDiscountMonetaryAmount?, Float?, Peddler::Notifications::FeePromotion::FeesEstimate?, Peddler::Notifications::FeePromotion::PriceThreshold?) -> Peddler::Notifications::FeePromotion::PromotionInformation
280
280
 
281
- def self.members: () -> [ :fee_discount_monetary_amount, :fee_discount_type, :fee_discount_value, :fee_type, :fees_estimate, :price_threshold ]
281
+ def self.members: () -> [ :fee_discount_type, :fee_type, :fee_discount_monetary_amount, :fee_discount_value, :fees_estimate, :price_threshold ]
282
282
 
283
283
  def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Notifications::FeePromotion::PromotionInformation
284
284
 
@@ -289,8 +289,8 @@ module Peddler
289
289
  attr_reader fees_estimate: Peddler::Notifications::FeePromotion::FeesEstimate?
290
290
  attr_reader price_threshold: Peddler::Notifications::FeePromotion::PriceThreshold?
291
291
 
292
- def members: () -> [ :fee_discount_monetary_amount, :fee_discount_type, :fee_discount_value, :fee_type, :fees_estimate, :price_threshold ]
293
- def to_h: () -> { fee_discount_monetary_amount: Peddler::Notifications::FeePromotion::FeeDiscountMonetaryAmount?, fee_discount_type: String?, fee_discount_value: Float?, fee_type: String?, fees_estimate: Peddler::Notifications::FeePromotion::FeesEstimate?, price_threshold: Peddler::Notifications::FeePromotion::PriceThreshold? }
292
+ def members: () -> [ :fee_discount_type, :fee_type, :fee_discount_monetary_amount, :fee_discount_value, :fees_estimate, :price_threshold ]
293
+ def to_h: () -> { fee_discount_type: String?, fee_type: String?, fee_discount_monetary_amount: Peddler::Notifications::FeePromotion::FeeDiscountMonetaryAmount?, fee_discount_value: Float?, fees_estimate: Peddler::Notifications::FeePromotion::FeesEstimate?, price_threshold: Peddler::Notifications::FeePromotion::PriceThreshold? }
294
294
  end
295
295
 
296
296
  class TaxAmount < Data
@@ -2,12 +2,12 @@ module Peddler
2
2
  module Notifications
3
3
  module FulfillmentOrderStatus
4
4
  class FulfillmentOrderStatusNotification < Data
5
- def self.new: (event_type: String?, fulfillment_order_status: String?, fulfillment_return_item: Peddler::Notifications::FulfillmentOrderStatus::FulfillmentReturnItem?, fulfillment_shipment: Peddler::Notifications::FulfillmentOrderStatus::FulfillmentShipment?, seller_fulfillment_order_id: String?, seller_id: String?, status_updated_date_time: String?) -> Peddler::Notifications::FulfillmentOrderStatus::FulfillmentOrderStatusNotification
6
- | (String?, String?, Peddler::Notifications::FulfillmentOrderStatus::FulfillmentReturnItem?, Peddler::Notifications::FulfillmentOrderStatus::FulfillmentShipment?, String?, String?, String?) -> Peddler::Notifications::FulfillmentOrderStatus::FulfillmentOrderStatusNotification
7
- def self.[]: (event_type: String?, fulfillment_order_status: String?, fulfillment_return_item: Peddler::Notifications::FulfillmentOrderStatus::FulfillmentReturnItem?, fulfillment_shipment: Peddler::Notifications::FulfillmentOrderStatus::FulfillmentShipment?, seller_fulfillment_order_id: String?, seller_id: String?, status_updated_date_time: String?) -> Peddler::Notifications::FulfillmentOrderStatus::FulfillmentOrderStatusNotification
8
- | (String?, String?, Peddler::Notifications::FulfillmentOrderStatus::FulfillmentReturnItem?, Peddler::Notifications::FulfillmentOrderStatus::FulfillmentShipment?, String?, String?, String?) -> Peddler::Notifications::FulfillmentOrderStatus::FulfillmentOrderStatusNotification
5
+ def self.new: (event_type: String?, fulfillment_order_status: String?, seller_fulfillment_order_id: String?, status_updated_date_time: String?, ?fulfillment_return_item: Peddler::Notifications::FulfillmentOrderStatus::FulfillmentReturnItem?, ?fulfillment_shipment: Peddler::Notifications::FulfillmentOrderStatus::FulfillmentShipment?, ?seller_id: String?) -> Peddler::Notifications::FulfillmentOrderStatus::FulfillmentOrderStatusNotification
6
+ | (String?, String?, String?, String?, Peddler::Notifications::FulfillmentOrderStatus::FulfillmentReturnItem?, Peddler::Notifications::FulfillmentOrderStatus::FulfillmentShipment?, String?) -> Peddler::Notifications::FulfillmentOrderStatus::FulfillmentOrderStatusNotification
7
+ def self.[]: (event_type: String?, fulfillment_order_status: String?, seller_fulfillment_order_id: String?, status_updated_date_time: String?, ?fulfillment_return_item: Peddler::Notifications::FulfillmentOrderStatus::FulfillmentReturnItem?, ?fulfillment_shipment: Peddler::Notifications::FulfillmentOrderStatus::FulfillmentShipment?, ?seller_id: String?) -> Peddler::Notifications::FulfillmentOrderStatus::FulfillmentOrderStatusNotification
8
+ | (String?, String?, String?, String?, Peddler::Notifications::FulfillmentOrderStatus::FulfillmentReturnItem?, Peddler::Notifications::FulfillmentOrderStatus::FulfillmentShipment?, String?) -> Peddler::Notifications::FulfillmentOrderStatus::FulfillmentOrderStatusNotification
9
9
 
10
- def self.members: () -> [ :event_type, :fulfillment_order_status, :fulfillment_return_item, :fulfillment_shipment, :seller_fulfillment_order_id, :seller_id, :status_updated_date_time ]
10
+ def self.members: () -> [ :event_type, :fulfillment_order_status, :seller_fulfillment_order_id, :status_updated_date_time, :fulfillment_return_item, :fulfillment_shipment, :seller_id ]
11
11
 
12
12
  def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Notifications::FulfillmentOrderStatus::FulfillmentOrderStatusNotification
13
13
 
@@ -19,8 +19,8 @@ module Peddler
19
19
  attr_reader seller_id: String?
20
20
  attr_reader status_updated_date_time: String?
21
21
 
22
- def members: () -> [ :event_type, :fulfillment_order_status, :fulfillment_return_item, :fulfillment_shipment, :seller_fulfillment_order_id, :seller_id, :status_updated_date_time ]
23
- def to_h: () -> { event_type: String?, fulfillment_order_status: String?, fulfillment_return_item: Peddler::Notifications::FulfillmentOrderStatus::FulfillmentReturnItem?, fulfillment_shipment: Peddler::Notifications::FulfillmentOrderStatus::FulfillmentShipment?, seller_fulfillment_order_id: String?, seller_id: String?, status_updated_date_time: String? }
22
+ def members: () -> [ :event_type, :fulfillment_order_status, :seller_fulfillment_order_id, :status_updated_date_time, :fulfillment_return_item, :fulfillment_shipment, :seller_id ]
23
+ def to_h: () -> { event_type: String?, fulfillment_order_status: String?, seller_fulfillment_order_id: String?, status_updated_date_time: String?, fulfillment_return_item: Peddler::Notifications::FulfillmentOrderStatus::FulfillmentReturnItem?, fulfillment_shipment: Peddler::Notifications::FulfillmentOrderStatus::FulfillmentShipment?, seller_id: String? }
24
24
  end
25
25
 
26
26
  class FulfillmentReturnItem < Data
@@ -23,12 +23,12 @@ module Peddler
23
23
  end
24
24
 
25
25
  class OrderStatusChangeNotification < Data
26
- def self.new: (amazon_order_id: String?, destination_postal_code: String?, fulfillment_channel: String?, marketplace_id: String?, order_item_id: String?, order_status: String?, purchase_date: String?, quantity: Integer?, seller_id: String?, seller_sku: String?, supply_source_id: String?) -> Peddler::Notifications::OrderStatusChange::OrderStatusChangeNotification
27
- | (String?, String?, String?, String?, String?, String?, String?, Integer?, String?, String?, String?) -> Peddler::Notifications::OrderStatusChange::OrderStatusChangeNotification
28
- def self.[]: (amazon_order_id: String?, destination_postal_code: String?, fulfillment_channel: String?, marketplace_id: String?, order_item_id: String?, order_status: String?, purchase_date: String?, quantity: Integer?, seller_id: String?, seller_sku: String?, supply_source_id: String?) -> Peddler::Notifications::OrderStatusChange::OrderStatusChangeNotification
29
- | (String?, String?, String?, String?, String?, String?, String?, Integer?, String?, String?, String?) -> Peddler::Notifications::OrderStatusChange::OrderStatusChangeNotification
26
+ def self.new: (amazon_order_id: String?, fulfillment_channel: String?, marketplace_id: String?, order_item_id: String?, order_status: String?, quantity: Integer?, seller_id: String?, seller_sku: String?, ?destination_postal_code: String?, ?purchase_date: String?, ?supply_source_id: String?) -> Peddler::Notifications::OrderStatusChange::OrderStatusChangeNotification
27
+ | (String?, String?, String?, String?, String?, Integer?, String?, String?, String?, String?, String?) -> Peddler::Notifications::OrderStatusChange::OrderStatusChangeNotification
28
+ def self.[]: (amazon_order_id: String?, fulfillment_channel: String?, marketplace_id: String?, order_item_id: String?, order_status: String?, quantity: Integer?, seller_id: String?, seller_sku: String?, ?destination_postal_code: String?, ?purchase_date: String?, ?supply_source_id: String?) -> Peddler::Notifications::OrderStatusChange::OrderStatusChangeNotification
29
+ | (String?, String?, String?, String?, String?, Integer?, String?, String?, String?, String?, String?) -> Peddler::Notifications::OrderStatusChange::OrderStatusChangeNotification
30
30
 
31
- def self.members: () -> [ :amazon_order_id, :destination_postal_code, :fulfillment_channel, :marketplace_id, :order_item_id, :order_status, :purchase_date, :quantity, :seller_id, :seller_sku, :supply_source_id ]
31
+ def self.members: () -> [ :amazon_order_id, :fulfillment_channel, :marketplace_id, :order_item_id, :order_status, :quantity, :seller_id, :seller_sku, :destination_postal_code, :purchase_date, :supply_source_id ]
32
32
 
33
33
  def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Notifications::OrderStatusChange::OrderStatusChangeNotification
34
34
 
@@ -44,8 +44,8 @@ module Peddler
44
44
  attr_reader seller_sku: String?
45
45
  attr_reader supply_source_id: String?
46
46
 
47
- def members: () -> [ :amazon_order_id, :destination_postal_code, :fulfillment_channel, :marketplace_id, :order_item_id, :order_status, :purchase_date, :quantity, :seller_id, :seller_sku, :supply_source_id ]
48
- def to_h: () -> { amazon_order_id: String?, destination_postal_code: String?, fulfillment_channel: String?, marketplace_id: String?, order_item_id: String?, order_status: String?, purchase_date: String?, quantity: Integer?, seller_id: String?, seller_sku: String?, supply_source_id: String? }
47
+ def members: () -> [ :amazon_order_id, :fulfillment_channel, :marketplace_id, :order_item_id, :order_status, :quantity, :seller_id, :seller_sku, :destination_postal_code, :purchase_date, :supply_source_id ]
48
+ def to_h: () -> { amazon_order_id: String?, fulfillment_channel: String?, marketplace_id: String?, order_item_id: String?, order_status: String?, quantity: Integer?, seller_id: String?, seller_sku: String?, destination_postal_code: String?, purchase_date: String?, supply_source_id: String? }
49
49
  end
50
50
 
51
51
  class Payload < Data
@@ -83,9 +83,9 @@ module Peddler
83
83
  end
84
84
 
85
85
  class OfferChangeTrigger < Data
86
- def self.new: (asin: String?, item_condition: String?, marketplace_id: String?, time_of_offer_change: String?) -> Peddler::Notifications::PricingHealth::OfferChangeTrigger
86
+ def self.new: (asin: String?, item_condition: String?, marketplace_id: String?, ?time_of_offer_change: String?) -> Peddler::Notifications::PricingHealth::OfferChangeTrigger
87
87
  | (String?, String?, String?, String?) -> Peddler::Notifications::PricingHealth::OfferChangeTrigger
88
- def self.[]: (asin: String?, item_condition: String?, marketplace_id: String?, time_of_offer_change: String?) -> Peddler::Notifications::PricingHealth::OfferChangeTrigger
88
+ def self.[]: (asin: String?, item_condition: String?, marketplace_id: String?, ?time_of_offer_change: String?) -> Peddler::Notifications::PricingHealth::OfferChangeTrigger
89
89
  | (String?, String?, String?, String?) -> Peddler::Notifications::PricingHealth::OfferChangeTrigger
90
90
 
91
91
  def self.members: () -> [ :asin, :item_condition, :marketplace_id, :time_of_offer_change ]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: peddler
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.0.pre.5
4
+ version: 5.0.0.pre.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hakan Ensari