peddler 5.2.0 → 5.3.0
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.
- checksums.yaml +4 -4
- data/README.md +2 -3
- data/lib/peddler/apis/fulfillment_inbound_2024_03_20/item.rb +2 -1
- data/lib/peddler/apis/fulfillment_outbound_2020_07_01/drop_off_location.rb +2 -0
- data/lib/peddler/apis/messaging_v1.rb +0 -20
- data/lib/peddler/apis/orders_v0/order_item.rb +0 -3
- data/lib/peddler/apis/orders_v0.rb +0 -12
- data/lib/peddler/apis/product_pricing_v0/get_offers_result.rb +3 -3
- data/lib/peddler/apis/vendor_shipments_v1.rb +0 -12
- data/lib/peddler/data_kiosk/sales_and_traffic20240424/by_asin_sales.rb +21 -0
- data/lib/peddler/data_kiosk/sales_and_traffic20240424/by_date_sales.rb +12 -0
- data/lib/peddler/data_kiosk/sales_and_traffic20240424.json +120 -0
- data/lib/peddler/notifications/b2b_any_offer_changed/b2b_any_offer_changed_notification.rb +6 -6
- data/lib/peddler/notifications/b2b_any_offer_changed/buy_box_price.rb +12 -9
- data/lib/peddler/notifications/b2b_any_offer_changed/lowest_price.rb +11 -8
- data/lib/peddler/notifications/b2b_any_offer_changed/notification.rb +10 -13
- data/lib/peddler/notifications/b2b_any_offer_changed/notification_metadata.rb +8 -8
- data/lib/peddler/notifications/b2b_any_offer_changed/offer.rb +25 -23
- data/lib/peddler/notifications/b2b_any_offer_changed/offer_change_trigger.rb +9 -9
- data/lib/peddler/notifications/b2b_any_offer_changed/offer_count.rb +4 -4
- data/lib/peddler/notifications/b2b_any_offer_changed/payload.rb +2 -2
- data/lib/peddler/notifications/b2b_any_offer_changed/points.rb +16 -0
- data/lib/peddler/notifications/b2b_any_offer_changed/prime_information.rb +4 -4
- data/lib/peddler/notifications/b2b_any_offer_changed/quantity_discount_price_type.rb +3 -3
- data/lib/peddler/notifications/b2b_any_offer_changed/seller_feedback_rating.rb +4 -4
- data/lib/peddler/notifications/b2b_any_offer_changed/shipping_time.rb +9 -9
- data/lib/peddler/notifications/b2b_any_offer_changed/ships_from.rb +4 -1
- data/lib/peddler/notifications/b2b_any_offer_changed/summary.rb +8 -8
- data/lib/peddler/version.rb +1 -1
- data/sig/peddler/apis/messaging_v1.rbs +0 -34
- data/sig/peddler/apis/orders_v0.rbs +7 -151
- data/sig/peddler/apis/product_pricing_v0.rbs +7 -7
- data/sig/peddler/apis/vendor_shipments_v1.rbs +0 -85
- data/sig/peddler/data_kiosk/sales_and_traffic20240424.rbs +23 -14
- data/sig/peddler/notifications/b2b_any_offer_changed.rbs +58 -38
- metadata +2 -16
- data/lib/peddler/apis/messaging_v1/create_amazon_motors_request.rb +0 -19
- data/lib/peddler/apis/messaging_v1/create_amazon_motors_response.rb +0 -17
- data/lib/peddler/apis/orders_v0/export_info.rb +0 -23
- data/lib/peddler/apis/orders_v0/fulfillment_instructions.rb +0 -20
- data/lib/peddler/apis/orders_v0/fulfillment_location.rb +0 -17
- data/lib/peddler/apis/orders_v0/fulfillment_plan.rb +0 -41
- data/lib/peddler/apis/orders_v0/fulfillment_plan_item.rb +0 -20
- data/lib/peddler/apis/orders_v0/fulfillment_plan_shipping_constraints.rb +0 -20
- data/lib/peddler/apis/orders_v0/get_order_fulfillment_instructions_response.rb +0 -21
- data/lib/peddler/apis/orders_v0/shipping_instructions.rb +0 -23
- data/lib/peddler/apis/vendor_shipments_v1/packed_quantity.rb +0 -25
- data/lib/peddler/apis/vendor_shipments_v1/purchase_order_item_details.rb +0 -18
- data/lib/peddler/apis/vendor_shipments_v1/submit_shipment_confirmation_request.rb +0 -17
- data/lib/peddler/apis/vendor_shipments_v1/submit_shipment_confirmation_response.rb +0 -20
- data/lib/peddler/apis/vendor_shipments_v1/submit_shipment_confirmation_result.rb +0 -17
|
@@ -7,19 +7,19 @@ require "structure"
|
|
|
7
7
|
module Peddler
|
|
8
8
|
module Notifications
|
|
9
9
|
module B2BAnyOfferChanged
|
|
10
|
-
# The event that caused the notification to be sent
|
|
10
|
+
# The event that caused the notification to be sent
|
|
11
11
|
OfferChangeTrigger = Structure.new do
|
|
12
|
-
# @return [String] The
|
|
13
|
-
attribute(:asin, String)
|
|
12
|
+
# @return [String] The asin for the item that had an offer change
|
|
13
|
+
attribute(:asin, String, from: "ASIN")
|
|
14
14
|
|
|
15
|
-
# @return [String] The condition of the item that had an offer change
|
|
16
|
-
attribute(:item_condition, String, from: "
|
|
15
|
+
# @return [String] The condition of the item that had an offer change
|
|
16
|
+
attribute(:item_condition, String, from: "ItemCondition")
|
|
17
17
|
|
|
18
|
-
# @return [String] The marketplace identifier of the item that had an offer change
|
|
19
|
-
attribute(:marketplace_id, String, from: "
|
|
18
|
+
# @return [String] The marketplace identifier of the item that had an offer change
|
|
19
|
+
attribute(:marketplace_id, String, from: "MarketplaceId")
|
|
20
20
|
|
|
21
|
-
# @return [String] The update time for the offer that caused this notification
|
|
22
|
-
attribute(:time_of_offer_change, String, from: "
|
|
21
|
+
# @return [String] The update time for the offer that caused this notification
|
|
22
|
+
attribute(:time_of_offer_change, String, from: "TimeOfOfferChange")
|
|
23
23
|
end
|
|
24
24
|
end
|
|
25
25
|
end
|
|
@@ -9,13 +9,13 @@ module Peddler
|
|
|
9
9
|
module B2BAnyOfferChanged
|
|
10
10
|
OfferCount = Structure.new do
|
|
11
11
|
# @return [String]
|
|
12
|
-
attribute(:condition, String)
|
|
12
|
+
attribute(:condition, String, from: "Condition")
|
|
13
13
|
|
|
14
14
|
# @return [String]
|
|
15
|
-
attribute(:fulfillment_channel, String, from: "
|
|
15
|
+
attribute(:fulfillment_channel, String, from: "FulfillmentChannel")
|
|
16
16
|
|
|
17
|
-
# @return [Integer] The total number of offers for the specified condition and fulfillment channel
|
|
18
|
-
attribute?(:offer_count, Integer, from: "
|
|
17
|
+
# @return [Integer] The total number of offers for the specified condition and fulfillment channel
|
|
18
|
+
attribute?(:offer_count, Integer, from: "OfferCount")
|
|
19
19
|
end
|
|
20
20
|
end
|
|
21
21
|
end
|
|
@@ -7,10 +7,10 @@ require "structure"
|
|
|
7
7
|
module Peddler
|
|
8
8
|
module Notifications
|
|
9
9
|
module B2BAnyOfferChanged
|
|
10
|
-
# Notification payload
|
|
10
|
+
# Notification payload data
|
|
11
11
|
Payload = Structure.new do
|
|
12
12
|
# @return [B2BAnyOfferChangedNotification]
|
|
13
|
-
attribute(:b2b_any_offer_changed_notification, B2BAnyOfferChangedNotification, from: "
|
|
13
|
+
attribute(:b2b_any_offer_changed_notification, B2BAnyOfferChangedNotification, from: "B2BAnyOfferChangedNotification")
|
|
14
14
|
end
|
|
15
15
|
end
|
|
16
16
|
end
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# This file is generated. Do not edit.
|
|
4
|
+
|
|
5
|
+
require "structure"
|
|
6
|
+
|
|
7
|
+
module Peddler
|
|
8
|
+
module Notifications
|
|
9
|
+
module B2BAnyOfferChanged
|
|
10
|
+
Points = Structure.new do
|
|
11
|
+
# @return [Integer] The number of Amazon Points offered with the purchase of an item
|
|
12
|
+
attribute(:points_number, Integer, from: "PointsNumber")
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
@@ -9,11 +9,11 @@ module Peddler
|
|
|
9
9
|
module B2BAnyOfferChanged
|
|
10
10
|
PrimeInformation = Structure.new do
|
|
11
11
|
# @return [:boolean] Indicates whether the offer is an Amazon Prime offer throughout the entire marketplace
|
|
12
|
-
# where it is listed
|
|
13
|
-
attribute?(:
|
|
12
|
+
# where it is listed
|
|
13
|
+
attribute?(:national_prime, :boolean, from: "IsNationalPrime")
|
|
14
14
|
|
|
15
|
-
# @return [:boolean] Indicates whether the offer is an Amazon Prime offer
|
|
16
|
-
attribute?(:
|
|
15
|
+
# @return [:boolean] Indicates whether the offer is an Amazon Prime offer
|
|
16
|
+
attribute?(:prime, :boolean, from: "IsPrime")
|
|
17
17
|
end
|
|
18
18
|
end
|
|
19
19
|
end
|
|
@@ -10,13 +10,13 @@ module Peddler
|
|
|
10
10
|
# Contains pricing information that includes special pricing when buying in bulk.
|
|
11
11
|
QuantityDiscountPriceType = Structure.new do
|
|
12
12
|
# @return [Money] The price at this quantity tier.
|
|
13
|
-
attribute(:listing_price, Money, from: "
|
|
13
|
+
attribute(:listing_price, Money, from: "ListingPrice")
|
|
14
14
|
|
|
15
15
|
# @return [String] Indicates the type of quantity discount this price applies to.
|
|
16
|
-
attribute(:quantity_discount_type, String, from: "
|
|
16
|
+
attribute(:quantity_discount_type, String, from: "QuantityDiscountType")
|
|
17
17
|
|
|
18
18
|
# @return [Integer] Indicates at what quantity this price becomes active.
|
|
19
|
-
attribute(:quantity_tier, Integer, from: "
|
|
19
|
+
attribute(:quantity_tier, Integer, from: "QuantityTier")
|
|
20
20
|
end
|
|
21
21
|
end
|
|
22
22
|
end
|
|
@@ -8,11 +8,11 @@ module Peddler
|
|
|
8
8
|
module Notifications
|
|
9
9
|
module B2BAnyOfferChanged
|
|
10
10
|
SellerFeedbackRating = Structure.new do
|
|
11
|
-
# @return [Integer] The count of feedback received about the seller
|
|
12
|
-
attribute(:feedback_count, Integer, from: "
|
|
11
|
+
# @return [Integer] The count of feedback received about the seller
|
|
12
|
+
attribute(:feedback_count, Integer, from: "FeedbackCount")
|
|
13
13
|
|
|
14
|
-
# @return [Float] The percentage of positive feedback for the seller in the past 365 days
|
|
15
|
-
attribute?(:seller_positive_feedback_rating, Float, from: "
|
|
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")
|
|
16
16
|
end
|
|
17
17
|
end
|
|
18
18
|
end
|
|
@@ -8,21 +8,21 @@ module Peddler
|
|
|
8
8
|
module Notifications
|
|
9
9
|
module B2BAnyOfferChanged
|
|
10
10
|
ShippingTime = Structure.new do
|
|
11
|
-
# @return [String] Indicates whether the item is available for shipping now, or on a known or unknown date in
|
|
12
|
-
# the future
|
|
13
|
-
attribute?(:availability_type, String, from: "
|
|
11
|
+
# @return [String] Indicates whether the item is available for shipping now, or on a known or an unknown date in
|
|
12
|
+
# the future
|
|
13
|
+
attribute?(:availability_type, String, from: "AvailabilityType")
|
|
14
14
|
|
|
15
15
|
# @return [String] The date when the item will be available for shipping. Only displayed for items that are not
|
|
16
|
-
# currently available for shipping
|
|
17
|
-
attribute?(:available_date, String, from: "
|
|
16
|
+
# currently available for shipping
|
|
17
|
+
attribute?(:available_date, String, from: "AvailableDate")
|
|
18
18
|
|
|
19
19
|
# @return [Integer] The maximum time, in hours, that the item will likely be shipped after the order has been
|
|
20
|
-
# placed
|
|
21
|
-
attribute?(:maximum_hours, Integer, from: "
|
|
20
|
+
# placed
|
|
21
|
+
attribute?(:maximum_hours, Integer, from: "MaximumHours")
|
|
22
22
|
|
|
23
23
|
# @return [Integer] The minimum time, in hours, that the item will likely be shipped after the order has been
|
|
24
|
-
# placed
|
|
25
|
-
attribute?(:minimum_hours, Integer, from: "
|
|
24
|
+
# placed
|
|
25
|
+
attribute?(:minimum_hours, Integer, from: "MinimumHours")
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -9,7 +9,10 @@ module Peddler
|
|
|
9
9
|
module B2BAnyOfferChanged
|
|
10
10
|
ShipsFrom = Structure.new do
|
|
11
11
|
# @return [String]
|
|
12
|
-
attribute?(:country, String)
|
|
12
|
+
attribute?(:country, String, from: "Country")
|
|
13
|
+
|
|
14
|
+
# @return [String]
|
|
15
|
+
attribute?(:state, String, from: "State")
|
|
13
16
|
end
|
|
14
17
|
end
|
|
15
18
|
end
|
|
@@ -9,20 +9,20 @@ module Peddler
|
|
|
9
9
|
module B2BAnyOfferChanged
|
|
10
10
|
Summary = Structure.new do
|
|
11
11
|
# @return [Array<OfferCount>] A list that contains the total number of B2B offers that are eligible for the Buy
|
|
12
|
-
# Box for the given conditions and fulfillment channels
|
|
13
|
-
attribute(:buy_box_eligible_offers, [OfferCount], from: "
|
|
12
|
+
# Box for the given conditions and fulfillment channels
|
|
13
|
+
attribute(:buy_box_eligible_offers, [OfferCount], from: "BuyBoxEligibleOffers")
|
|
14
14
|
|
|
15
15
|
# @return [Array<LowestPrice>] A list that contains the lowest prices of the item for the given conditions,
|
|
16
|
-
# fulfillment channels, quantity tiers, and discount types
|
|
17
|
-
attribute(:lowest_prices, [LowestPrice], from: "
|
|
16
|
+
# fulfillment channels, quantity tiers, and discount types
|
|
17
|
+
attribute(:lowest_prices, [LowestPrice], from: "LowestPrices")
|
|
18
18
|
|
|
19
19
|
# @return [Array<OfferCount>] A list that contains the total number of B2B offers for the item for the given
|
|
20
|
-
# conditions and fulfillment channels
|
|
21
|
-
attribute(:number_of_offers, [OfferCount], from: "
|
|
20
|
+
# conditions and fulfillment channels
|
|
21
|
+
attribute(:number_of_offers, [OfferCount], from: "NumberOfOffers")
|
|
22
22
|
|
|
23
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: "
|
|
24
|
+
# quantity tiers, and discount types
|
|
25
|
+
attribute?(:buy_box_prices, [BuyBoxPrice], from: "BuyBoxPrices")
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
data/lib/peddler/version.rb
CHANGED
|
@@ -18,38 +18,6 @@ module Peddler
|
|
|
18
18
|
def to_h: () -> { file_name: String?, upload_destination_id: String? }
|
|
19
19
|
end
|
|
20
20
|
|
|
21
|
-
class CreateAmazonMotorsRequest < Data
|
|
22
|
-
def self.new: (?attachments: Array[Peddler::APIs::MessagingV1::Attachment]?) -> Peddler::APIs::MessagingV1::CreateAmazonMotorsRequest
|
|
23
|
-
| (Array[Peddler::APIs::MessagingV1::Attachment]?) -> Peddler::APIs::MessagingV1::CreateAmazonMotorsRequest
|
|
24
|
-
def self.[]: (?attachments: Array[Peddler::APIs::MessagingV1::Attachment]?) -> Peddler::APIs::MessagingV1::CreateAmazonMotorsRequest
|
|
25
|
-
| (Array[Peddler::APIs::MessagingV1::Attachment]?) -> Peddler::APIs::MessagingV1::CreateAmazonMotorsRequest
|
|
26
|
-
|
|
27
|
-
def self.members: () -> [ :attachments ]
|
|
28
|
-
|
|
29
|
-
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::MessagingV1::CreateAmazonMotorsRequest
|
|
30
|
-
|
|
31
|
-
attr_reader attachments: Array[Peddler::APIs::MessagingV1::Attachment]?
|
|
32
|
-
|
|
33
|
-
def members: () -> [ :attachments ]
|
|
34
|
-
def to_h: () -> { attachments: Array[Peddler::APIs::MessagingV1::Attachment]? }
|
|
35
|
-
end
|
|
36
|
-
|
|
37
|
-
class CreateAmazonMotorsResponse < Data
|
|
38
|
-
def self.new: (?errors: Array[Peddler::APIs::MessagingV1::Error]?) -> Peddler::APIs::MessagingV1::CreateAmazonMotorsResponse
|
|
39
|
-
| (Array[Peddler::APIs::MessagingV1::Error]?) -> Peddler::APIs::MessagingV1::CreateAmazonMotorsResponse
|
|
40
|
-
def self.[]: (?errors: Array[Peddler::APIs::MessagingV1::Error]?) -> Peddler::APIs::MessagingV1::CreateAmazonMotorsResponse
|
|
41
|
-
| (Array[Peddler::APIs::MessagingV1::Error]?) -> Peddler::APIs::MessagingV1::CreateAmazonMotorsResponse
|
|
42
|
-
|
|
43
|
-
def self.members: () -> [ :errors ]
|
|
44
|
-
|
|
45
|
-
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::MessagingV1::CreateAmazonMotorsResponse
|
|
46
|
-
|
|
47
|
-
attr_reader errors: Array[Peddler::APIs::MessagingV1::Error]?
|
|
48
|
-
|
|
49
|
-
def members: () -> [ :errors ]
|
|
50
|
-
def to_h: () -> { errors: Array[Peddler::APIs::MessagingV1::Error]? }
|
|
51
|
-
end
|
|
52
|
-
|
|
53
21
|
class CreateConfirmCustomizationDetailsRequest < Data
|
|
54
22
|
def self.new: (?attachments: Array[Peddler::APIs::MessagingV1::Attachment]?, ?text: String?) -> Peddler::APIs::MessagingV1::CreateConfirmCustomizationDetailsRequest
|
|
55
23
|
| (Array[Peddler::APIs::MessagingV1::Attachment]?, String?) -> Peddler::APIs::MessagingV1::CreateConfirmCustomizationDetailsRequest
|
|
@@ -470,8 +438,6 @@ module Peddler
|
|
|
470
438
|
end
|
|
471
439
|
|
|
472
440
|
def confirm_customization_details: (String, Array[String], Hash[untyped, untyped], ?rate_limit: Float) -> Peddler::Response
|
|
473
|
-
|
|
474
|
-
def create_amazon_motors: (String, Array[String], Hash[untyped, untyped], ?rate_limit: Float) -> Peddler::Response
|
|
475
441
|
def create_confirm_delivery_details: (String, Array[String], Hash[untyped, untyped], ?rate_limit: Float) -> Peddler::Response
|
|
476
442
|
|
|
477
443
|
def create_confirm_order_details: (String, Array[String], Hash[untyped, untyped], ?rate_limit: Float) -> Peddler::Response
|
|
@@ -325,23 +325,6 @@ module Peddler
|
|
|
325
325
|
def to_h: () -> { exception_date: String?, open: bool?, open_intervals: Array[Peddler::APIs::OrdersV0::OpenInterval]? }
|
|
326
326
|
end
|
|
327
327
|
|
|
328
|
-
class ExportInfo < Data
|
|
329
|
-
def self.new: (?export_charge: Peddler::Money?, ?export_charge_model: String?) -> Peddler::APIs::OrdersV0::ExportInfo
|
|
330
|
-
| (Peddler::Money?, String?) -> Peddler::APIs::OrdersV0::ExportInfo
|
|
331
|
-
def self.[]: (?export_charge: Peddler::Money?, ?export_charge_model: String?) -> Peddler::APIs::OrdersV0::ExportInfo
|
|
332
|
-
| (Peddler::Money?, String?) -> Peddler::APIs::OrdersV0::ExportInfo
|
|
333
|
-
|
|
334
|
-
def self.members: () -> [ :export_charge, :export_charge_model ]
|
|
335
|
-
|
|
336
|
-
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::OrdersV0::ExportInfo
|
|
337
|
-
|
|
338
|
-
attr_reader export_charge: Peddler::Money?
|
|
339
|
-
attr_reader export_charge_model: String?
|
|
340
|
-
|
|
341
|
-
def members: () -> [ :export_charge, :export_charge_model ]
|
|
342
|
-
def to_h: () -> { export_charge: Peddler::Money?, export_charge_model: String? }
|
|
343
|
-
end
|
|
344
|
-
|
|
345
328
|
class FulfillmentInstruction < Data
|
|
346
329
|
def self.new: (?fulfillment_supply_source_id: String?) -> Peddler::APIs::OrdersV0::FulfillmentInstruction
|
|
347
330
|
| (String?) -> Peddler::APIs::OrdersV0::FulfillmentInstruction
|
|
@@ -358,96 +341,6 @@ module Peddler
|
|
|
358
341
|
def to_h: () -> { fulfillment_supply_source_id: String? }
|
|
359
342
|
end
|
|
360
343
|
|
|
361
|
-
class FulfillmentInstructions < Data
|
|
362
|
-
def self.new: (amazon_order_id: String?, ?fulfillment_plans: Array[Peddler::APIs::OrdersV0::FulfillmentPlan]?) -> Peddler::APIs::OrdersV0::FulfillmentInstructions
|
|
363
|
-
| (String?, Array[Peddler::APIs::OrdersV0::FulfillmentPlan]?) -> Peddler::APIs::OrdersV0::FulfillmentInstructions
|
|
364
|
-
def self.[]: (amazon_order_id: String?, ?fulfillment_plans: Array[Peddler::APIs::OrdersV0::FulfillmentPlan]?) -> Peddler::APIs::OrdersV0::FulfillmentInstructions
|
|
365
|
-
| (String?, Array[Peddler::APIs::OrdersV0::FulfillmentPlan]?) -> Peddler::APIs::OrdersV0::FulfillmentInstructions
|
|
366
|
-
|
|
367
|
-
def self.members: () -> [ :amazon_order_id, :fulfillment_plans ]
|
|
368
|
-
|
|
369
|
-
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::OrdersV0::FulfillmentInstructions
|
|
370
|
-
|
|
371
|
-
attr_reader amazon_order_id: String?
|
|
372
|
-
attr_reader fulfillment_plans: Array[Peddler::APIs::OrdersV0::FulfillmentPlan]?
|
|
373
|
-
|
|
374
|
-
def members: () -> [ :amazon_order_id, :fulfillment_plans ]
|
|
375
|
-
def to_h: () -> { amazon_order_id: String?, fulfillment_plans: Array[Peddler::APIs::OrdersV0::FulfillmentPlan]? }
|
|
376
|
-
end
|
|
377
|
-
|
|
378
|
-
class FulfillmentLocation < Data
|
|
379
|
-
def self.new: (?supply_source_id: String?) -> Peddler::APIs::OrdersV0::FulfillmentLocation
|
|
380
|
-
| (String?) -> Peddler::APIs::OrdersV0::FulfillmentLocation
|
|
381
|
-
def self.[]: (?supply_source_id: String?) -> Peddler::APIs::OrdersV0::FulfillmentLocation
|
|
382
|
-
| (String?) -> Peddler::APIs::OrdersV0::FulfillmentLocation
|
|
383
|
-
|
|
384
|
-
def self.members: () -> [ :supply_source_id ]
|
|
385
|
-
|
|
386
|
-
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::OrdersV0::FulfillmentLocation
|
|
387
|
-
|
|
388
|
-
attr_reader supply_source_id: String?
|
|
389
|
-
|
|
390
|
-
def members: () -> [ :supply_source_id ]
|
|
391
|
-
def to_h: () -> { supply_source_id: String? }
|
|
392
|
-
end
|
|
393
|
-
|
|
394
|
-
class FulfillmentPlan < Data
|
|
395
|
-
def self.new: (creation_date: String?, fulfillment_plan_id: String?, fulfillment_plan_items: Array[Peddler::APIs::OrdersV0::FulfillmentPlanItem]?, fulfillment_plan_status: String?, fulfillment_type: String?, last_status_update_date: String?, ?fulfillment_location: Peddler::APIs::OrdersV0::FulfillmentLocation?, ?shipping_instructions: Peddler::APIs::OrdersV0::ShippingInstructions?) -> Peddler::APIs::OrdersV0::FulfillmentPlan
|
|
396
|
-
| (String?, String?, Array[Peddler::APIs::OrdersV0::FulfillmentPlanItem]?, String?, String?, String?, Peddler::APIs::OrdersV0::FulfillmentLocation?, Peddler::APIs::OrdersV0::ShippingInstructions?) -> Peddler::APIs::OrdersV0::FulfillmentPlan
|
|
397
|
-
def self.[]: (creation_date: String?, fulfillment_plan_id: String?, fulfillment_plan_items: Array[Peddler::APIs::OrdersV0::FulfillmentPlanItem]?, fulfillment_plan_status: String?, fulfillment_type: String?, last_status_update_date: String?, ?fulfillment_location: Peddler::APIs::OrdersV0::FulfillmentLocation?, ?shipping_instructions: Peddler::APIs::OrdersV0::ShippingInstructions?) -> Peddler::APIs::OrdersV0::FulfillmentPlan
|
|
398
|
-
| (String?, String?, Array[Peddler::APIs::OrdersV0::FulfillmentPlanItem]?, String?, String?, String?, Peddler::APIs::OrdersV0::FulfillmentLocation?, Peddler::APIs::OrdersV0::ShippingInstructions?) -> Peddler::APIs::OrdersV0::FulfillmentPlan
|
|
399
|
-
|
|
400
|
-
def self.members: () -> [ :creation_date, :fulfillment_plan_id, :fulfillment_plan_items, :fulfillment_plan_status, :fulfillment_type, :last_status_update_date, :fulfillment_location, :shipping_instructions ]
|
|
401
|
-
|
|
402
|
-
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::OrdersV0::FulfillmentPlan
|
|
403
|
-
|
|
404
|
-
attr_reader creation_date: String?
|
|
405
|
-
attr_reader fulfillment_location: Peddler::APIs::OrdersV0::FulfillmentLocation?
|
|
406
|
-
attr_reader fulfillment_plan_id: String?
|
|
407
|
-
attr_reader fulfillment_plan_items: Array[Peddler::APIs::OrdersV0::FulfillmentPlanItem]?
|
|
408
|
-
attr_reader fulfillment_plan_status: String?
|
|
409
|
-
attr_reader fulfillment_type: String?
|
|
410
|
-
attr_reader last_status_update_date: String?
|
|
411
|
-
attr_reader shipping_instructions: Peddler::APIs::OrdersV0::ShippingInstructions?
|
|
412
|
-
|
|
413
|
-
def members: () -> [ :creation_date, :fulfillment_plan_id, :fulfillment_plan_items, :fulfillment_plan_status, :fulfillment_type, :last_status_update_date, :fulfillment_location, :shipping_instructions ]
|
|
414
|
-
def to_h: () -> { creation_date: String?, fulfillment_plan_id: String?, fulfillment_plan_items: Array[Peddler::APIs::OrdersV0::FulfillmentPlanItem]?, fulfillment_plan_status: String?, fulfillment_type: String?, last_status_update_date: String?, fulfillment_location: Peddler::APIs::OrdersV0::FulfillmentLocation?, shipping_instructions: Peddler::APIs::OrdersV0::ShippingInstructions? }
|
|
415
|
-
end
|
|
416
|
-
|
|
417
|
-
class FulfillmentPlanItem < Data
|
|
418
|
-
def self.new: (measurement: Peddler::APIs::OrdersV0::Measurement?, order_item_id: String?) -> Peddler::APIs::OrdersV0::FulfillmentPlanItem
|
|
419
|
-
| (Peddler::APIs::OrdersV0::Measurement?, String?) -> Peddler::APIs::OrdersV0::FulfillmentPlanItem
|
|
420
|
-
def self.[]: (measurement: Peddler::APIs::OrdersV0::Measurement?, order_item_id: String?) -> Peddler::APIs::OrdersV0::FulfillmentPlanItem
|
|
421
|
-
| (Peddler::APIs::OrdersV0::Measurement?, String?) -> Peddler::APIs::OrdersV0::FulfillmentPlanItem
|
|
422
|
-
|
|
423
|
-
def self.members: () -> [ :measurement, :order_item_id ]
|
|
424
|
-
|
|
425
|
-
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::OrdersV0::FulfillmentPlanItem
|
|
426
|
-
|
|
427
|
-
attr_reader measurement: Peddler::APIs::OrdersV0::Measurement?
|
|
428
|
-
attr_reader order_item_id: String?
|
|
429
|
-
|
|
430
|
-
def members: () -> [ :measurement, :order_item_id ]
|
|
431
|
-
def to_h: () -> { measurement: Peddler::APIs::OrdersV0::Measurement?, order_item_id: String? }
|
|
432
|
-
end
|
|
433
|
-
|
|
434
|
-
class FulfillmentPlanShippingConstraints < Data
|
|
435
|
-
def self.new: (?pallet_delivery: String?, ?signature_confirmation: String?) -> Peddler::APIs::OrdersV0::FulfillmentPlanShippingConstraints
|
|
436
|
-
| (String?, String?) -> Peddler::APIs::OrdersV0::FulfillmentPlanShippingConstraints
|
|
437
|
-
def self.[]: (?pallet_delivery: String?, ?signature_confirmation: String?) -> Peddler::APIs::OrdersV0::FulfillmentPlanShippingConstraints
|
|
438
|
-
| (String?, String?) -> Peddler::APIs::OrdersV0::FulfillmentPlanShippingConstraints
|
|
439
|
-
|
|
440
|
-
def self.members: () -> [ :pallet_delivery, :signature_confirmation ]
|
|
441
|
-
|
|
442
|
-
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::OrdersV0::FulfillmentPlanShippingConstraints
|
|
443
|
-
|
|
444
|
-
attr_reader pallet_delivery: String?
|
|
445
|
-
attr_reader signature_confirmation: String?
|
|
446
|
-
|
|
447
|
-
def members: () -> [ :pallet_delivery, :signature_confirmation ]
|
|
448
|
-
def to_h: () -> { pallet_delivery: String?, signature_confirmation: String? }
|
|
449
|
-
end
|
|
450
|
-
|
|
451
344
|
class GetOrderAddressResponse < Data
|
|
452
345
|
def self.new: (?errors: Array[Peddler::APIs::OrdersV0::Error]?, ?payload: Peddler::APIs::OrdersV0::OrderAddress?) -> Peddler::APIs::OrdersV0::GetOrderAddressResponse
|
|
453
346
|
| (Array[Peddler::APIs::OrdersV0::Error]?, Peddler::APIs::OrdersV0::OrderAddress?) -> Peddler::APIs::OrdersV0::GetOrderAddressResponse
|
|
@@ -482,23 +375,6 @@ module Peddler
|
|
|
482
375
|
def to_h: () -> { errors: Array[Peddler::APIs::OrdersV0::Error]?, payload: Peddler::APIs::OrdersV0::OrderBuyerInfo? }
|
|
483
376
|
end
|
|
484
377
|
|
|
485
|
-
class GetOrderFulfillmentInstructionsResponse < Data
|
|
486
|
-
def self.new: (?errors: Array[Peddler::APIs::OrdersV0::Error]?, ?payload: Peddler::APIs::OrdersV0::FulfillmentInstructions?) -> Peddler::APIs::OrdersV0::GetOrderFulfillmentInstructionsResponse
|
|
487
|
-
| (Array[Peddler::APIs::OrdersV0::Error]?, Peddler::APIs::OrdersV0::FulfillmentInstructions?) -> Peddler::APIs::OrdersV0::GetOrderFulfillmentInstructionsResponse
|
|
488
|
-
def self.[]: (?errors: Array[Peddler::APIs::OrdersV0::Error]?, ?payload: Peddler::APIs::OrdersV0::FulfillmentInstructions?) -> Peddler::APIs::OrdersV0::GetOrderFulfillmentInstructionsResponse
|
|
489
|
-
| (Array[Peddler::APIs::OrdersV0::Error]?, Peddler::APIs::OrdersV0::FulfillmentInstructions?) -> Peddler::APIs::OrdersV0::GetOrderFulfillmentInstructionsResponse
|
|
490
|
-
|
|
491
|
-
def self.members: () -> [ :errors, :payload ]
|
|
492
|
-
|
|
493
|
-
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::OrdersV0::GetOrderFulfillmentInstructionsResponse
|
|
494
|
-
|
|
495
|
-
attr_reader errors: Array[Peddler::APIs::OrdersV0::Error]?
|
|
496
|
-
attr_reader payload: Peddler::APIs::OrdersV0::FulfillmentInstructions?
|
|
497
|
-
|
|
498
|
-
def members: () -> [ :errors, :payload ]
|
|
499
|
-
def to_h: () -> { errors: Array[Peddler::APIs::OrdersV0::Error]?, payload: Peddler::APIs::OrdersV0::FulfillmentInstructions? }
|
|
500
|
-
end
|
|
501
|
-
|
|
502
378
|
class GetOrderItemsBuyerInfoResponse < Data
|
|
503
379
|
def self.new: (?errors: Array[Peddler::APIs::OrdersV0::Error]?, ?payload: Peddler::APIs::OrdersV0::OrderItemsBuyerInfoList?) -> Peddler::APIs::OrdersV0::GetOrderItemsBuyerInfoResponse
|
|
504
380
|
| (Array[Peddler::APIs::OrdersV0::Error]?, Peddler::APIs::OrdersV0::OrderItemsBuyerInfoList?) -> Peddler::APIs::OrdersV0::GetOrderItemsBuyerInfoResponse
|
|
@@ -784,12 +660,12 @@ module Peddler
|
|
|
784
660
|
end
|
|
785
661
|
|
|
786
662
|
class OrderItem < Data
|
|
787
|
-
def self.new: (asin: String?, order_item_id: String?, quantity_ordered: Integer?, ?amazon_programs: Peddler::APIs::OrdersV0::AmazonPrograms?, ?associated_items: Array[Peddler::APIs::OrdersV0::AssociatedItem]?, ?buyer_info: Peddler::APIs::OrdersV0::ItemBuyerInfo?, ?buyer_requested_cancel: Peddler::APIs::OrdersV0::BuyerRequestedCancel?, ?cod_fee: Peddler::Money?, ?cod_fee_discount: Peddler::Money?, ?condition_id: String?, ?condition_note: String?, ?condition_subtype_id: String?, ?deemed_reseller_category: String?, ?
|
|
788
|
-
| (String?, String?, Integer?, Peddler::APIs::OrdersV0::AmazonPrograms?, Array[Peddler::APIs::OrdersV0::AssociatedItem]?, Peddler::APIs::OrdersV0::ItemBuyerInfo?, Peddler::APIs::OrdersV0::BuyerRequestedCancel?, Peddler::Money?, Peddler::Money?, String?, String?, String?, String?,
|
|
789
|
-
def self.[]: (asin: String?, order_item_id: String?, quantity_ordered: Integer?, ?amazon_programs: Peddler::APIs::OrdersV0::AmazonPrograms?, ?associated_items: Array[Peddler::APIs::OrdersV0::AssociatedItem]?, ?buyer_info: Peddler::APIs::OrdersV0::ItemBuyerInfo?, ?buyer_requested_cancel: Peddler::APIs::OrdersV0::BuyerRequestedCancel?, ?cod_fee: Peddler::Money?, ?cod_fee_discount: Peddler::Money?, ?condition_id: String?, ?condition_note: String?, ?condition_subtype_id: String?, ?deemed_reseller_category: String?, ?
|
|
790
|
-
| (String?, String?, Integer?, Peddler::APIs::OrdersV0::AmazonPrograms?, Array[Peddler::APIs::OrdersV0::AssociatedItem]?, Peddler::APIs::OrdersV0::ItemBuyerInfo?, Peddler::APIs::OrdersV0::BuyerRequestedCancel?, Peddler::Money?, Peddler::Money?, String?, String?, String?, String?,
|
|
663
|
+
def self.new: (asin: String?, order_item_id: String?, quantity_ordered: Integer?, ?amazon_programs: Peddler::APIs::OrdersV0::AmazonPrograms?, ?associated_items: Array[Peddler::APIs::OrdersV0::AssociatedItem]?, ?buyer_info: Peddler::APIs::OrdersV0::ItemBuyerInfo?, ?buyer_requested_cancel: Peddler::APIs::OrdersV0::BuyerRequestedCancel?, ?cod_fee: Peddler::Money?, ?cod_fee_discount: Peddler::Money?, ?condition_id: String?, ?condition_note: String?, ?condition_subtype_id: String?, ?deemed_reseller_category: String?, ?ioss_number: String?, ?is_gift: String?, ?transparency: bool?, ?item_price: Peddler::Money?, ?item_tax: Peddler::Money?, ?measurement: Peddler::APIs::OrdersV0::Measurement?, ?points_granted: Peddler::APIs::OrdersV0::PointsGrantedDetail?, ?price_designation: String?, ?product_info: Peddler::APIs::OrdersV0::ProductInfoDetail?, ?promotion_discount: Peddler::Money?, ?promotion_discount_tax: Peddler::Money?, ?promotion_ids: Array[String]?, ?quantity_shipped: Integer?, ?scheduled_delivery_end_date: String?, ?scheduled_delivery_start_date: String?, ?seller_sku: String?, ?serial_number_required: bool?, ?serial_numbers: Array[String]?, ?shipping_constraints: Peddler::APIs::OrdersV0::ShippingConstraints?, ?shipping_discount: Peddler::Money?, ?shipping_discount_tax: Peddler::Money?, ?shipping_price: Peddler::Money?, ?shipping_tax: Peddler::Money?, ?store_chain_store_id: String?, ?substitution_preferences: Peddler::APIs::OrdersV0::SubstitutionPreferences?, ?tax_collection: Peddler::APIs::OrdersV0::TaxCollection?, ?title: String?) -> Peddler::APIs::OrdersV0::OrderItem
|
|
664
|
+
| (String?, String?, Integer?, Peddler::APIs::OrdersV0::AmazonPrograms?, Array[Peddler::APIs::OrdersV0::AssociatedItem]?, Peddler::APIs::OrdersV0::ItemBuyerInfo?, Peddler::APIs::OrdersV0::BuyerRequestedCancel?, Peddler::Money?, Peddler::Money?, String?, String?, String?, String?, String?, String?, bool?, Peddler::Money?, Peddler::Money?, Peddler::APIs::OrdersV0::Measurement?, Peddler::APIs::OrdersV0::PointsGrantedDetail?, String?, Peddler::APIs::OrdersV0::ProductInfoDetail?, Peddler::Money?, Peddler::Money?, Array[String]?, Integer?, String?, String?, String?, bool?, Array[String]?, Peddler::APIs::OrdersV0::ShippingConstraints?, Peddler::Money?, Peddler::Money?, Peddler::Money?, Peddler::Money?, String?, Peddler::APIs::OrdersV0::SubstitutionPreferences?, Peddler::APIs::OrdersV0::TaxCollection?, String?) -> Peddler::APIs::OrdersV0::OrderItem
|
|
665
|
+
def self.[]: (asin: String?, order_item_id: String?, quantity_ordered: Integer?, ?amazon_programs: Peddler::APIs::OrdersV0::AmazonPrograms?, ?associated_items: Array[Peddler::APIs::OrdersV0::AssociatedItem]?, ?buyer_info: Peddler::APIs::OrdersV0::ItemBuyerInfo?, ?buyer_requested_cancel: Peddler::APIs::OrdersV0::BuyerRequestedCancel?, ?cod_fee: Peddler::Money?, ?cod_fee_discount: Peddler::Money?, ?condition_id: String?, ?condition_note: String?, ?condition_subtype_id: String?, ?deemed_reseller_category: String?, ?ioss_number: String?, ?is_gift: String?, ?transparency: bool?, ?item_price: Peddler::Money?, ?item_tax: Peddler::Money?, ?measurement: Peddler::APIs::OrdersV0::Measurement?, ?points_granted: Peddler::APIs::OrdersV0::PointsGrantedDetail?, ?price_designation: String?, ?product_info: Peddler::APIs::OrdersV0::ProductInfoDetail?, ?promotion_discount: Peddler::Money?, ?promotion_discount_tax: Peddler::Money?, ?promotion_ids: Array[String]?, ?quantity_shipped: Integer?, ?scheduled_delivery_end_date: String?, ?scheduled_delivery_start_date: String?, ?seller_sku: String?, ?serial_number_required: bool?, ?serial_numbers: Array[String]?, ?shipping_constraints: Peddler::APIs::OrdersV0::ShippingConstraints?, ?shipping_discount: Peddler::Money?, ?shipping_discount_tax: Peddler::Money?, ?shipping_price: Peddler::Money?, ?shipping_tax: Peddler::Money?, ?store_chain_store_id: String?, ?substitution_preferences: Peddler::APIs::OrdersV0::SubstitutionPreferences?, ?tax_collection: Peddler::APIs::OrdersV0::TaxCollection?, ?title: String?) -> Peddler::APIs::OrdersV0::OrderItem
|
|
666
|
+
| (String?, String?, Integer?, Peddler::APIs::OrdersV0::AmazonPrograms?, Array[Peddler::APIs::OrdersV0::AssociatedItem]?, Peddler::APIs::OrdersV0::ItemBuyerInfo?, Peddler::APIs::OrdersV0::BuyerRequestedCancel?, Peddler::Money?, Peddler::Money?, String?, String?, String?, String?, String?, String?, bool?, Peddler::Money?, Peddler::Money?, Peddler::APIs::OrdersV0::Measurement?, Peddler::APIs::OrdersV0::PointsGrantedDetail?, String?, Peddler::APIs::OrdersV0::ProductInfoDetail?, Peddler::Money?, Peddler::Money?, Array[String]?, Integer?, String?, String?, String?, bool?, Array[String]?, Peddler::APIs::OrdersV0::ShippingConstraints?, Peddler::Money?, Peddler::Money?, Peddler::Money?, Peddler::Money?, String?, Peddler::APIs::OrdersV0::SubstitutionPreferences?, Peddler::APIs::OrdersV0::TaxCollection?, String?) -> Peddler::APIs::OrdersV0::OrderItem
|
|
791
667
|
|
|
792
|
-
def self.members: () -> [ :asin, :order_item_id, :quantity_ordered, :amazon_programs, :associated_items, :buyer_info, :buyer_requested_cancel, :cod_fee, :cod_fee_discount, :condition_id, :condition_note, :condition_subtype_id, :deemed_reseller_category, :
|
|
668
|
+
def self.members: () -> [ :asin, :order_item_id, :quantity_ordered, :amazon_programs, :associated_items, :buyer_info, :buyer_requested_cancel, :cod_fee, :cod_fee_discount, :condition_id, :condition_note, :condition_subtype_id, :deemed_reseller_category, :ioss_number, :is_gift, :transparency, :item_price, :item_tax, :measurement, :points_granted, :price_designation, :product_info, :promotion_discount, :promotion_discount_tax, :promotion_ids, :quantity_shipped, :scheduled_delivery_end_date, :scheduled_delivery_start_date, :seller_sku, :serial_number_required, :serial_numbers, :shipping_constraints, :shipping_discount, :shipping_discount_tax, :shipping_price, :shipping_tax, :store_chain_store_id, :substitution_preferences, :tax_collection, :title ]
|
|
793
669
|
|
|
794
670
|
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::OrdersV0::OrderItem
|
|
795
671
|
|
|
@@ -804,7 +680,6 @@ module Peddler
|
|
|
804
680
|
attr_reader condition_note: String?
|
|
805
681
|
attr_reader condition_subtype_id: String?
|
|
806
682
|
attr_reader deemed_reseller_category: String?
|
|
807
|
-
attr_reader export_info: Peddler::APIs::OrdersV0::ExportInfo?
|
|
808
683
|
attr_reader ioss_number: String?
|
|
809
684
|
attr_reader is_gift: String?
|
|
810
685
|
attr_reader item_price: Peddler::Money?
|
|
@@ -835,9 +710,9 @@ module Peddler
|
|
|
835
710
|
attr_reader title: String?
|
|
836
711
|
attr_reader transparency: bool?
|
|
837
712
|
|
|
838
|
-
def members: () -> [ :asin, :order_item_id, :quantity_ordered, :amazon_programs, :associated_items, :buyer_info, :buyer_requested_cancel, :cod_fee, :cod_fee_discount, :condition_id, :condition_note, :condition_subtype_id, :deemed_reseller_category, :
|
|
713
|
+
def members: () -> [ :asin, :order_item_id, :quantity_ordered, :amazon_programs, :associated_items, :buyer_info, :buyer_requested_cancel, :cod_fee, :cod_fee_discount, :condition_id, :condition_note, :condition_subtype_id, :deemed_reseller_category, :ioss_number, :is_gift, :transparency, :item_price, :item_tax, :measurement, :points_granted, :price_designation, :product_info, :promotion_discount, :promotion_discount_tax, :promotion_ids, :quantity_shipped, :scheduled_delivery_end_date, :scheduled_delivery_start_date, :seller_sku, :serial_number_required, :serial_numbers, :shipping_constraints, :shipping_discount, :shipping_discount_tax, :shipping_price, :shipping_tax, :store_chain_store_id, :substitution_preferences, :tax_collection, :title ]
|
|
839
714
|
def serial_number_required?: () -> bool
|
|
840
|
-
def to_h: () -> { asin: String?, order_item_id: String?, quantity_ordered: Integer?, amazon_programs: Peddler::APIs::OrdersV0::AmazonPrograms?, associated_items: Array[Peddler::APIs::OrdersV0::AssociatedItem]?, buyer_info: Peddler::APIs::OrdersV0::ItemBuyerInfo?, buyer_requested_cancel: Peddler::APIs::OrdersV0::BuyerRequestedCancel?, cod_fee: Peddler::Money?, cod_fee_discount: Peddler::Money?, condition_id: String?, condition_note: String?, condition_subtype_id: String?, deemed_reseller_category: String?,
|
|
715
|
+
def to_h: () -> { asin: String?, order_item_id: String?, quantity_ordered: Integer?, amazon_programs: Peddler::APIs::OrdersV0::AmazonPrograms?, associated_items: Array[Peddler::APIs::OrdersV0::AssociatedItem]?, buyer_info: Peddler::APIs::OrdersV0::ItemBuyerInfo?, buyer_requested_cancel: Peddler::APIs::OrdersV0::BuyerRequestedCancel?, cod_fee: Peddler::Money?, cod_fee_discount: Peddler::Money?, condition_id: String?, condition_note: String?, condition_subtype_id: String?, deemed_reseller_category: String?, ioss_number: String?, is_gift: String?, transparency: bool?, item_price: Peddler::Money?, item_tax: Peddler::Money?, measurement: Peddler::APIs::OrdersV0::Measurement?, points_granted: Peddler::APIs::OrdersV0::PointsGrantedDetail?, price_designation: String?, product_info: Peddler::APIs::OrdersV0::ProductInfoDetail?, promotion_discount: Peddler::Money?, promotion_discount_tax: Peddler::Money?, promotion_ids: Array[String]?, quantity_shipped: Integer?, scheduled_delivery_end_date: String?, scheduled_delivery_start_date: String?, seller_sku: String?, serial_number_required: bool?, serial_numbers: Array[String]?, shipping_constraints: Peddler::APIs::OrdersV0::ShippingConstraints?, shipping_discount: Peddler::Money?, shipping_discount_tax: Peddler::Money?, shipping_price: Peddler::Money?, shipping_tax: Peddler::Money?, store_chain_store_id: String?, substitution_preferences: Peddler::APIs::OrdersV0::SubstitutionPreferences?, tax_collection: Peddler::APIs::OrdersV0::TaxCollection?, title: String? }
|
|
841
716
|
def transparency?: () -> bool
|
|
842
717
|
end
|
|
843
718
|
|
|
@@ -1174,24 +1049,6 @@ module Peddler
|
|
|
1174
1049
|
def to_h: () -> { pallet_delivery: String?, recipient_age_verification: String?, recipient_identity_verification: String?, signature_confirmation: String? }
|
|
1175
1050
|
end
|
|
1176
1051
|
|
|
1177
|
-
class ShippingInstructions < Data
|
|
1178
|
-
def self.new: (?carrier_code: String?, ?shipping_constraints: Peddler::APIs::OrdersV0::FulfillmentPlanShippingConstraints?, ?shipping_method: String?) -> Peddler::APIs::OrdersV0::ShippingInstructions
|
|
1179
|
-
| (String?, Peddler::APIs::OrdersV0::FulfillmentPlanShippingConstraints?, String?) -> Peddler::APIs::OrdersV0::ShippingInstructions
|
|
1180
|
-
def self.[]: (?carrier_code: String?, ?shipping_constraints: Peddler::APIs::OrdersV0::FulfillmentPlanShippingConstraints?, ?shipping_method: String?) -> Peddler::APIs::OrdersV0::ShippingInstructions
|
|
1181
|
-
| (String?, Peddler::APIs::OrdersV0::FulfillmentPlanShippingConstraints?, String?) -> Peddler::APIs::OrdersV0::ShippingInstructions
|
|
1182
|
-
|
|
1183
|
-
def self.members: () -> [ :carrier_code, :shipping_constraints, :shipping_method ]
|
|
1184
|
-
|
|
1185
|
-
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::OrdersV0::ShippingInstructions
|
|
1186
|
-
|
|
1187
|
-
attr_reader carrier_code: String?
|
|
1188
|
-
attr_reader shipping_constraints: Peddler::APIs::OrdersV0::FulfillmentPlanShippingConstraints?
|
|
1189
|
-
attr_reader shipping_method: String?
|
|
1190
|
-
|
|
1191
|
-
def members: () -> [ :carrier_code, :shipping_constraints, :shipping_method ]
|
|
1192
|
-
def to_h: () -> { carrier_code: String?, shipping_constraints: Peddler::APIs::OrdersV0::FulfillmentPlanShippingConstraints?, shipping_method: String? }
|
|
1193
|
-
end
|
|
1194
|
-
|
|
1195
1052
|
class SubstitutionOption < Data
|
|
1196
1053
|
def self.new: (?asin: String?, ?measurement: Peddler::APIs::OrdersV0::Measurement?, ?quantity_ordered: Integer?, ?seller_sku: String?, ?title: String?) -> Peddler::APIs::OrdersV0::SubstitutionOption
|
|
1197
1054
|
| (String?, Peddler::APIs::OrdersV0::Measurement?, Integer?, String?, String?) -> Peddler::APIs::OrdersV0::SubstitutionOption
|
|
@@ -1395,7 +1252,6 @@ module Peddler
|
|
|
1395
1252
|
def get_order_address: (String, ?rate_limit: Float) -> Peddler::Response
|
|
1396
1253
|
def get_order_buyer_info: (String, ?rate_limit: Float) -> Peddler::Response
|
|
1397
1254
|
|
|
1398
|
-
def get_order_fulfillment_instructions: (String, ?rate_limit: Float) -> Peddler::Response
|
|
1399
1255
|
def get_order_items: (String, ?next_token: String?, ?rate_limit: Float) -> Peddler::Response
|
|
1400
1256
|
def get_order_items_buyer_info: (String, ?next_token: String?, ?rate_limit: Float) -> Peddler::Response
|
|
1401
1257
|
|
|
@@ -311,12 +311,12 @@ module Peddler
|
|
|
311
311
|
end
|
|
312
312
|
|
|
313
313
|
class GetOffersResult < Data
|
|
314
|
-
def self.new: (identifier: Peddler::APIs::ProductPricingV0::ItemIdentifier?, item_condition: String?,
|
|
315
|
-
| (Peddler::APIs::ProductPricingV0::ItemIdentifier?, String?,
|
|
316
|
-
def self.[]: (identifier: Peddler::APIs::ProductPricingV0::ItemIdentifier?, item_condition: String?,
|
|
317
|
-
| (Peddler::APIs::ProductPricingV0::ItemIdentifier?, String?,
|
|
314
|
+
def self.new: (identifier: Peddler::APIs::ProductPricingV0::ItemIdentifier?, item_condition: String?, offers: Array[Peddler::APIs::ProductPricingV0::OfferDetail]?, summary: Peddler::APIs::ProductPricingV0::Summary?, marketplace_id: String?, status: String?, ?asin: String?, ?sku: String?) -> Peddler::APIs::ProductPricingV0::GetOffersResult
|
|
315
|
+
| (Peddler::APIs::ProductPricingV0::ItemIdentifier?, String?, Array[Peddler::APIs::ProductPricingV0::OfferDetail]?, Peddler::APIs::ProductPricingV0::Summary?, String?, String?, String?, String?) -> Peddler::APIs::ProductPricingV0::GetOffersResult
|
|
316
|
+
def self.[]: (identifier: Peddler::APIs::ProductPricingV0::ItemIdentifier?, item_condition: String?, offers: Array[Peddler::APIs::ProductPricingV0::OfferDetail]?, summary: Peddler::APIs::ProductPricingV0::Summary?, marketplace_id: String?, status: String?, ?asin: String?, ?sku: String?) -> Peddler::APIs::ProductPricingV0::GetOffersResult
|
|
317
|
+
| (Peddler::APIs::ProductPricingV0::ItemIdentifier?, String?, Array[Peddler::APIs::ProductPricingV0::OfferDetail]?, Peddler::APIs::ProductPricingV0::Summary?, String?, String?, String?, String?) -> Peddler::APIs::ProductPricingV0::GetOffersResult
|
|
318
318
|
|
|
319
|
-
def self.members: () -> [ :identifier, :item_condition, :
|
|
319
|
+
def self.members: () -> [ :identifier, :item_condition, :offers, :summary, :marketplace_id, :status, :asin, :sku ]
|
|
320
320
|
|
|
321
321
|
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ProductPricingV0::GetOffersResult
|
|
322
322
|
|
|
@@ -329,8 +329,8 @@ module Peddler
|
|
|
329
329
|
attr_reader status: String?
|
|
330
330
|
attr_reader summary: Peddler::APIs::ProductPricingV0::Summary?
|
|
331
331
|
|
|
332
|
-
def members: () -> [ :identifier, :item_condition, :
|
|
333
|
-
def to_h: () -> { identifier: Peddler::APIs::ProductPricingV0::ItemIdentifier?, item_condition: String?,
|
|
332
|
+
def members: () -> [ :identifier, :item_condition, :offers, :summary, :marketplace_id, :status, :asin, :sku ]
|
|
333
|
+
def to_h: () -> { identifier: Peddler::APIs::ProductPricingV0::ItemIdentifier?, item_condition: String?, offers: Array[Peddler::APIs::ProductPricingV0::OfferDetail]?, summary: Peddler::APIs::ProductPricingV0::Summary?, marketplace_id: String?, status: String?, asin: String?, sku: String? }
|
|
334
334
|
end
|
|
335
335
|
|
|
336
336
|
class GetPricingResponse < Data
|