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
|
@@ -467,24 +467,6 @@ module Peddler
|
|
|
467
467
|
def to_h: () -> { buyer_product_identifier: String?, item_details: Peddler::APIs::VendorShipmentsV1::PackageItemDetails?, item_sequence_number: String?, packed_quantity: Peddler::APIs::VendorShipmentsV1::ItemQuantity?, vendor_product_identifier: String? }
|
|
468
468
|
end
|
|
469
469
|
|
|
470
|
-
class PackedQuantity < Data
|
|
471
|
-
def self.new: (amount: Integer?, unit_of_measure: String?, ?unit_size: Integer?) -> Peddler::APIs::VendorShipmentsV1::PackedQuantity
|
|
472
|
-
| (Integer?, String?, Integer?) -> Peddler::APIs::VendorShipmentsV1::PackedQuantity
|
|
473
|
-
def self.[]: (amount: Integer?, unit_of_measure: String?, ?unit_size: Integer?) -> Peddler::APIs::VendorShipmentsV1::PackedQuantity
|
|
474
|
-
| (Integer?, String?, Integer?) -> Peddler::APIs::VendorShipmentsV1::PackedQuantity
|
|
475
|
-
|
|
476
|
-
def self.members: () -> [ :amount, :unit_of_measure, :unit_size ]
|
|
477
|
-
|
|
478
|
-
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::VendorShipmentsV1::PackedQuantity
|
|
479
|
-
|
|
480
|
-
attr_reader amount: Integer?
|
|
481
|
-
attr_reader unit_of_measure: String?
|
|
482
|
-
attr_reader unit_size: Integer?
|
|
483
|
-
|
|
484
|
-
def members: () -> [ :amount, :unit_of_measure, :unit_size ]
|
|
485
|
-
def to_h: () -> { amount: Integer?, unit_of_measure: String?, unit_size: Integer? }
|
|
486
|
-
end
|
|
487
|
-
|
|
488
470
|
class Pagination < Data
|
|
489
471
|
def self.new: (?next_token: String?) -> Peddler::APIs::VendorShipmentsV1::Pagination
|
|
490
472
|
| (String?) -> Peddler::APIs::VendorShipmentsV1::Pagination
|
|
@@ -541,22 +523,6 @@ module Peddler
|
|
|
541
523
|
def to_h: () -> { party_id: String?, address: Peddler::APIs::VendorShipmentsV1::Address?, tax_registration_details: Array[Peddler::APIs::VendorShipmentsV1::TaxRegistrationDetails]? }
|
|
542
524
|
end
|
|
543
525
|
|
|
544
|
-
class PurchaseOrderItemDetails < Data
|
|
545
|
-
def self.new: (?maximum_retail_price: Peddler::Money?) -> Peddler::APIs::VendorShipmentsV1::PurchaseOrderItemDetails
|
|
546
|
-
| (Peddler::Money?) -> Peddler::APIs::VendorShipmentsV1::PurchaseOrderItemDetails
|
|
547
|
-
def self.[]: (?maximum_retail_price: Peddler::Money?) -> Peddler::APIs::VendorShipmentsV1::PurchaseOrderItemDetails
|
|
548
|
-
| (Peddler::Money?) -> Peddler::APIs::VendorShipmentsV1::PurchaseOrderItemDetails
|
|
549
|
-
|
|
550
|
-
def self.members: () -> [ :maximum_retail_price ]
|
|
551
|
-
|
|
552
|
-
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::VendorShipmentsV1::PurchaseOrderItemDetails
|
|
553
|
-
|
|
554
|
-
attr_reader maximum_retail_price: Peddler::Money?
|
|
555
|
-
|
|
556
|
-
def members: () -> [ :maximum_retail_price ]
|
|
557
|
-
def to_h: () -> { maximum_retail_price: Peddler::Money? }
|
|
558
|
-
end
|
|
559
|
-
|
|
560
526
|
class PurchaseOrderItems < Data
|
|
561
527
|
def self.new: (item_sequence_number: String?, shipped_quantity: Peddler::APIs::VendorShipmentsV1::ItemQuantity?, ?buyer_product_identifier: String?, ?maximum_retail_price: Peddler::Money?, ?vendor_product_identifier: String?) -> Peddler::APIs::VendorShipmentsV1::PurchaseOrderItems
|
|
562
528
|
| (String?, Peddler::APIs::VendorShipmentsV1::ItemQuantity?, String?, Peddler::Money?, String?) -> Peddler::APIs::VendorShipmentsV1::PurchaseOrderItems
|
|
@@ -793,55 +759,6 @@ module Peddler
|
|
|
793
759
|
def to_h: () -> { function_code: String?, arrival_time: Time?, departure_time: Time?, location_identification: Peddler::APIs::VendorShipmentsV1::Location? }
|
|
794
760
|
end
|
|
795
761
|
|
|
796
|
-
class SubmitShipmentConfirmationRequest < Data
|
|
797
|
-
def self.new: (shipment_confirmation: Peddler::APIs::VendorShipmentsV1::ShipmentConfirmation?) -> Peddler::APIs::VendorShipmentsV1::SubmitShipmentConfirmationRequest
|
|
798
|
-
| (Peddler::APIs::VendorShipmentsV1::ShipmentConfirmation?) -> Peddler::APIs::VendorShipmentsV1::SubmitShipmentConfirmationRequest
|
|
799
|
-
def self.[]: (shipment_confirmation: Peddler::APIs::VendorShipmentsV1::ShipmentConfirmation?) -> Peddler::APIs::VendorShipmentsV1::SubmitShipmentConfirmationRequest
|
|
800
|
-
| (Peddler::APIs::VendorShipmentsV1::ShipmentConfirmation?) -> Peddler::APIs::VendorShipmentsV1::SubmitShipmentConfirmationRequest
|
|
801
|
-
|
|
802
|
-
def self.members: () -> [ :shipment_confirmation ]
|
|
803
|
-
|
|
804
|
-
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::VendorShipmentsV1::SubmitShipmentConfirmationRequest
|
|
805
|
-
|
|
806
|
-
attr_reader shipment_confirmation: Peddler::APIs::VendorShipmentsV1::ShipmentConfirmation?
|
|
807
|
-
|
|
808
|
-
def members: () -> [ :shipment_confirmation ]
|
|
809
|
-
def to_h: () -> { shipment_confirmation: Peddler::APIs::VendorShipmentsV1::ShipmentConfirmation? }
|
|
810
|
-
end
|
|
811
|
-
|
|
812
|
-
class SubmitShipmentConfirmationResponse < Data
|
|
813
|
-
def self.new: (?errors: Array[Peddler::APIs::VendorShipmentsV1::Error]?, ?payload: Peddler::APIs::VendorShipmentsV1::SubmitShipmentConfirmationResult?) -> Peddler::APIs::VendorShipmentsV1::SubmitShipmentConfirmationResponse
|
|
814
|
-
| (Array[Peddler::APIs::VendorShipmentsV1::Error]?, Peddler::APIs::VendorShipmentsV1::SubmitShipmentConfirmationResult?) -> Peddler::APIs::VendorShipmentsV1::SubmitShipmentConfirmationResponse
|
|
815
|
-
def self.[]: (?errors: Array[Peddler::APIs::VendorShipmentsV1::Error]?, ?payload: Peddler::APIs::VendorShipmentsV1::SubmitShipmentConfirmationResult?) -> Peddler::APIs::VendorShipmentsV1::SubmitShipmentConfirmationResponse
|
|
816
|
-
| (Array[Peddler::APIs::VendorShipmentsV1::Error]?, Peddler::APIs::VendorShipmentsV1::SubmitShipmentConfirmationResult?) -> Peddler::APIs::VendorShipmentsV1::SubmitShipmentConfirmationResponse
|
|
817
|
-
|
|
818
|
-
def self.members: () -> [ :errors, :payload ]
|
|
819
|
-
|
|
820
|
-
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::VendorShipmentsV1::SubmitShipmentConfirmationResponse
|
|
821
|
-
|
|
822
|
-
attr_reader errors: Array[Peddler::APIs::VendorShipmentsV1::Error]?
|
|
823
|
-
attr_reader payload: Peddler::APIs::VendorShipmentsV1::SubmitShipmentConfirmationResult?
|
|
824
|
-
|
|
825
|
-
def members: () -> [ :errors, :payload ]
|
|
826
|
-
def to_h: () -> { errors: Array[Peddler::APIs::VendorShipmentsV1::Error]?, payload: Peddler::APIs::VendorShipmentsV1::SubmitShipmentConfirmationResult? }
|
|
827
|
-
end
|
|
828
|
-
|
|
829
|
-
class SubmitShipmentConfirmationResult < Data
|
|
830
|
-
def self.new: (?message: String?) -> Peddler::APIs::VendorShipmentsV1::SubmitShipmentConfirmationResult
|
|
831
|
-
| (String?) -> Peddler::APIs::VendorShipmentsV1::SubmitShipmentConfirmationResult
|
|
832
|
-
def self.[]: (?message: String?) -> Peddler::APIs::VendorShipmentsV1::SubmitShipmentConfirmationResult
|
|
833
|
-
| (String?) -> Peddler::APIs::VendorShipmentsV1::SubmitShipmentConfirmationResult
|
|
834
|
-
|
|
835
|
-
def self.members: () -> [ :message ]
|
|
836
|
-
|
|
837
|
-
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::VendorShipmentsV1::SubmitShipmentConfirmationResult
|
|
838
|
-
|
|
839
|
-
attr_reader message: String?
|
|
840
|
-
|
|
841
|
-
def members: () -> [ :message ]
|
|
842
|
-
def to_h: () -> { message: String? }
|
|
843
|
-
end
|
|
844
|
-
|
|
845
762
|
class SubmitShipmentConfirmationsRequest < Data
|
|
846
763
|
def self.new: (?shipment_confirmations: Array[Peddler::APIs::VendorShipmentsV1::ShipmentConfirmation]?) -> Peddler::APIs::VendorShipmentsV1::SubmitShipmentConfirmationsRequest
|
|
847
764
|
| (Array[Peddler::APIs::VendorShipmentsV1::ShipmentConfirmation]?) -> Peddler::APIs::VendorShipmentsV1::SubmitShipmentConfirmationsRequest
|
|
@@ -1090,9 +1007,7 @@ module Peddler
|
|
|
1090
1007
|
|
|
1091
1008
|
def get_shipment_details: (?limit: Integer?, ?sort_order: String?, ?next_token: String?, ?created_after: String?, ?created_before: String?, ?shipment_confirmed_before: String?, ?shipment_confirmed_after: String?, ?package_label_created_before: String?, ?package_label_created_after: String?, ?shipped_before: String?, ?shipped_after: String?, ?estimated_delivery_before: String?, ?estimated_delivery_after: String?, ?shipment_delivery_before: String?, ?shipment_delivery_after: String?, ?requested_pick_up_before: String?, ?requested_pick_up_after: String?, ?scheduled_pick_up_before: String?, ?scheduled_pick_up_after: String?, ?current_shipment_status: String?, ?vendor_shipment_identifier: String?, ?buyer_reference_number: String?, ?buyer_warehouse_code: String?, ?seller_warehouse_code: String?, ?rate_limit: Float) -> Peddler::Response
|
|
1092
1009
|
def get_shipment_labels: (?limit: Integer?, ?sort_order: String?, ?next_token: String?, ?label_created_after: String?, ?label_created_before: String?, ?buyer_reference_number: String?, ?vendor_shipment_identifier: String?, ?seller_warehouse_code: String?, ?rate_limit: Float) -> Peddler::Response
|
|
1093
|
-
def submit_shipment_confirmation: (Hash[untyped, untyped], ?rate_limit: Float) -> Peddler::Response
|
|
1094
1010
|
def submit_shipment_confirmations: (Hash[untyped, untyped], ?rate_limit: Float) -> Peddler::Response
|
|
1095
|
-
|
|
1096
1011
|
def submit_shipments: (Hash[untyped, untyped], ?rate_limit: Float) -> Peddler::Response
|
|
1097
1012
|
end
|
|
1098
1013
|
end
|
|
@@ -37,28 +37,34 @@ module Peddler
|
|
|
37
37
|
end
|
|
38
38
|
|
|
39
39
|
class ByASINSales < Data
|
|
40
|
-
def self.new: (?ordered_product_sales: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ?ordered_product_sales_b2b: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ?refund_rate: Float?, ?refund_rate_b2b: Float?, ?total_order_items: String?, ?total_order_items_b2b: String?, ?units_ordered: String?, ?units_ordered_b2b: String?, ?units_refunded: String?, ?units_refunded_b2b: String?) -> Peddler::DataKiosk::SalesAndTraffic20240424::ByASINSales
|
|
41
|
-
| (Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, Float?, Float?, String?, String?, String?, String?, String?, String?) -> Peddler::DataKiosk::SalesAndTraffic20240424::ByASINSales
|
|
42
|
-
def self.[]: (?ordered_product_sales: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ?ordered_product_sales_b2b: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ?refund_rate: Float?, ?refund_rate_b2b: Float?, ?total_order_items: String?, ?total_order_items_b2b: String?, ?units_ordered: String?, ?units_ordered_b2b: String?, ?units_refunded: String?, ?units_refunded_b2b: String?) -> Peddler::DataKiosk::SalesAndTraffic20240424::ByASINSales
|
|
43
|
-
| (Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, Float?, Float?, String?, String?, String?, String?, String?, String?) -> Peddler::DataKiosk::SalesAndTraffic20240424::ByASINSales
|
|
40
|
+
def self.new: (?ordered_product_sales: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ?ordered_product_sales_b2b: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ?orders_shipped: String?, ?orders_shipped_b2b: String?, ?refund_rate: Float?, ?refund_rate_b2b: Float?, ?shipped_product_sales: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ?shipped_product_sales_b2b: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ?total_order_items: String?, ?total_order_items_b2b: String?, ?units_ordered: String?, ?units_ordered_b2b: String?, ?units_refunded: String?, ?units_refunded_b2b: String?, ?units_shipped: String?, ?units_shipped_b2b: String?) -> Peddler::DataKiosk::SalesAndTraffic20240424::ByASINSales
|
|
41
|
+
| (Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, String?, String?, Float?, Float?, Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, String?, String?, String?, String?, String?, String?, String?, String?) -> Peddler::DataKiosk::SalesAndTraffic20240424::ByASINSales
|
|
42
|
+
def self.[]: (?ordered_product_sales: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ?ordered_product_sales_b2b: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ?orders_shipped: String?, ?orders_shipped_b2b: String?, ?refund_rate: Float?, ?refund_rate_b2b: Float?, ?shipped_product_sales: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ?shipped_product_sales_b2b: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ?total_order_items: String?, ?total_order_items_b2b: String?, ?units_ordered: String?, ?units_ordered_b2b: String?, ?units_refunded: String?, ?units_refunded_b2b: String?, ?units_shipped: String?, ?units_shipped_b2b: String?) -> Peddler::DataKiosk::SalesAndTraffic20240424::ByASINSales
|
|
43
|
+
| (Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, String?, String?, Float?, Float?, Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, String?, String?, String?, String?, String?, String?, String?, String?) -> Peddler::DataKiosk::SalesAndTraffic20240424::ByASINSales
|
|
44
44
|
|
|
45
|
-
def self.members: () -> [ :ordered_product_sales, :ordered_product_sales_b2b, :refund_rate, :refund_rate_b2b, :total_order_items, :total_order_items_b2b, :units_ordered, :units_ordered_b2b, :units_refunded, :units_refunded_b2b ]
|
|
45
|
+
def self.members: () -> [ :ordered_product_sales, :ordered_product_sales_b2b, :orders_shipped, :orders_shipped_b2b, :refund_rate, :refund_rate_b2b, :shipped_product_sales, :shipped_product_sales_b2b, :total_order_items, :total_order_items_b2b, :units_ordered, :units_ordered_b2b, :units_refunded, :units_refunded_b2b, :units_shipped, :units_shipped_b2b ]
|
|
46
46
|
|
|
47
47
|
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::DataKiosk::SalesAndTraffic20240424::ByASINSales
|
|
48
48
|
|
|
49
49
|
attr_reader ordered_product_sales: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?
|
|
50
50
|
attr_reader ordered_product_sales_b2b: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?
|
|
51
|
+
attr_reader orders_shipped: String?
|
|
52
|
+
attr_reader orders_shipped_b2b: String?
|
|
51
53
|
attr_reader refund_rate: Float?
|
|
52
54
|
attr_reader refund_rate_b2b: Float?
|
|
55
|
+
attr_reader shipped_product_sales: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?
|
|
56
|
+
attr_reader shipped_product_sales_b2b: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?
|
|
53
57
|
attr_reader total_order_items: String?
|
|
54
58
|
attr_reader total_order_items_b2b: String?
|
|
55
59
|
attr_reader units_ordered: String?
|
|
56
60
|
attr_reader units_ordered_b2b: String?
|
|
57
61
|
attr_reader units_refunded: String?
|
|
58
62
|
attr_reader units_refunded_b2b: String?
|
|
63
|
+
attr_reader units_shipped: String?
|
|
64
|
+
attr_reader units_shipped_b2b: String?
|
|
59
65
|
|
|
60
|
-
def members: () -> [ :ordered_product_sales, :ordered_product_sales_b2b, :refund_rate, :refund_rate_b2b, :total_order_items, :total_order_items_b2b, :units_ordered, :units_ordered_b2b, :units_refunded, :units_refunded_b2b ]
|
|
61
|
-
def to_h: () -> { ordered_product_sales: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ordered_product_sales_b2b: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, refund_rate: Float?, refund_rate_b2b: Float?, total_order_items: String?, total_order_items_b2b: String?, units_ordered: String?, units_ordered_b2b: String?, units_refunded: String?, units_refunded_b2b: String? }
|
|
66
|
+
def members: () -> [ :ordered_product_sales, :ordered_product_sales_b2b, :orders_shipped, :orders_shipped_b2b, :refund_rate, :refund_rate_b2b, :shipped_product_sales, :shipped_product_sales_b2b, :total_order_items, :total_order_items_b2b, :units_ordered, :units_ordered_b2b, :units_refunded, :units_refunded_b2b, :units_shipped, :units_shipped_b2b ]
|
|
67
|
+
def to_h: () -> { ordered_product_sales: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ordered_product_sales_b2b: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, orders_shipped: String?, orders_shipped_b2b: String?, refund_rate: Float?, refund_rate_b2b: Float?, shipped_product_sales: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, shipped_product_sales_b2b: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, total_order_items: String?, total_order_items_b2b: String?, units_ordered: String?, units_ordered_b2b: String?, units_refunded: String?, units_refunded_b2b: String?, units_shipped: String?, units_shipped_b2b: String? }
|
|
62
68
|
end
|
|
63
69
|
|
|
64
70
|
class ByASINTraffic < Data
|
|
@@ -105,12 +111,12 @@ module Peddler
|
|
|
105
111
|
end
|
|
106
112
|
|
|
107
113
|
class ByDateSales < Data
|
|
108
|
-
def self.new: (?average_sales_per_order_item: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ?average_sales_per_order_item_b2b: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ?average_selling_price: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ?average_selling_price_b2b: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ?average_units_per_order_item: Float?, ?average_units_per_order_item_b2b: Float?, ?claims_amount: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ?claims_amount_b2b: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ?claims_granted: String?, ?claims_granted_b2b: String?, ?ordered_product_sales: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ?ordered_product_sales_b2b: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ?orders_shipped: String?, ?refund_rate: Float?, ?refund_rate_b2b: Float?, ?shipped_product_sales: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ?total_order_items: String?, ?total_order_items_b2b: String?, ?units_ordered: String?, ?units_ordered_b2b: String?, ?units_refunded: String?, ?units_refunded_b2b: String?, ?units_shipped: String?) -> Peddler::DataKiosk::SalesAndTraffic20240424::ByDateSales
|
|
109
|
-
| (Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, Float?, Float?, Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, String?, String?, Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, String?, Float?, Float?, Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, String?, String?, String?, String?, String?, String?, String?) -> Peddler::DataKiosk::SalesAndTraffic20240424::ByDateSales
|
|
110
|
-
def self.[]: (?average_sales_per_order_item: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ?average_sales_per_order_item_b2b: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ?average_selling_price: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ?average_selling_price_b2b: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ?average_units_per_order_item: Float?, ?average_units_per_order_item_b2b: Float?, ?claims_amount: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ?claims_amount_b2b: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ?claims_granted: String?, ?claims_granted_b2b: String?, ?ordered_product_sales: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ?ordered_product_sales_b2b: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ?orders_shipped: String?, ?refund_rate: Float?, ?refund_rate_b2b: Float?, ?shipped_product_sales: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ?total_order_items: String?, ?total_order_items_b2b: String?, ?units_ordered: String?, ?units_ordered_b2b: String?, ?units_refunded: String?, ?units_refunded_b2b: String?, ?units_shipped: String?) -> Peddler::DataKiosk::SalesAndTraffic20240424::ByDateSales
|
|
111
|
-
| (Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, Float?, Float?, Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, String?, String?, Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, String?, Float?, Float?, Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, String?, String?, String?, String?, String?, String?, String?) -> Peddler::DataKiosk::SalesAndTraffic20240424::ByDateSales
|
|
114
|
+
def self.new: (?average_sales_per_order_item: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ?average_sales_per_order_item_b2b: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ?average_selling_price: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ?average_selling_price_b2b: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ?average_units_per_order_item: Float?, ?average_units_per_order_item_b2b: Float?, ?claims_amount: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ?claims_amount_b2b: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ?claims_granted: String?, ?claims_granted_b2b: String?, ?ordered_product_sales: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ?ordered_product_sales_b2b: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ?orders_shipped: String?, ?orders_shipped_b2b: String?, ?refund_rate: Float?, ?refund_rate_b2b: Float?, ?shipped_product_sales: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ?shipped_product_sales_b2b: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ?total_order_items: String?, ?total_order_items_b2b: String?, ?units_ordered: String?, ?units_ordered_b2b: String?, ?units_refunded: String?, ?units_refunded_b2b: String?, ?units_shipped: String?, ?units_shipped_b2b: String?) -> Peddler::DataKiosk::SalesAndTraffic20240424::ByDateSales
|
|
115
|
+
| (Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, Float?, Float?, Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, String?, String?, Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, String?, String?, Float?, Float?, Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, String?, String?, String?, String?, String?, String?, String?, String?) -> Peddler::DataKiosk::SalesAndTraffic20240424::ByDateSales
|
|
116
|
+
def self.[]: (?average_sales_per_order_item: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ?average_sales_per_order_item_b2b: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ?average_selling_price: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ?average_selling_price_b2b: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ?average_units_per_order_item: Float?, ?average_units_per_order_item_b2b: Float?, ?claims_amount: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ?claims_amount_b2b: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ?claims_granted: String?, ?claims_granted_b2b: String?, ?ordered_product_sales: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ?ordered_product_sales_b2b: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ?orders_shipped: String?, ?orders_shipped_b2b: String?, ?refund_rate: Float?, ?refund_rate_b2b: Float?, ?shipped_product_sales: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ?shipped_product_sales_b2b: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ?total_order_items: String?, ?total_order_items_b2b: String?, ?units_ordered: String?, ?units_ordered_b2b: String?, ?units_refunded: String?, ?units_refunded_b2b: String?, ?units_shipped: String?, ?units_shipped_b2b: String?) -> Peddler::DataKiosk::SalesAndTraffic20240424::ByDateSales
|
|
117
|
+
| (Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, Float?, Float?, Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, String?, String?, Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, String?, String?, Float?, Float?, Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, String?, String?, String?, String?, String?, String?, String?, String?) -> Peddler::DataKiosk::SalesAndTraffic20240424::ByDateSales
|
|
112
118
|
|
|
113
|
-
def self.members: () -> [ :average_sales_per_order_item, :average_sales_per_order_item_b2b, :average_selling_price, :average_selling_price_b2b, :average_units_per_order_item, :average_units_per_order_item_b2b, :claims_amount, :claims_amount_b2b, :claims_granted, :claims_granted_b2b, :ordered_product_sales, :ordered_product_sales_b2b, :orders_shipped, :refund_rate, :refund_rate_b2b, :shipped_product_sales, :total_order_items, :total_order_items_b2b, :units_ordered, :units_ordered_b2b, :units_refunded, :units_refunded_b2b, :units_shipped ]
|
|
119
|
+
def self.members: () -> [ :average_sales_per_order_item, :average_sales_per_order_item_b2b, :average_selling_price, :average_selling_price_b2b, :average_units_per_order_item, :average_units_per_order_item_b2b, :claims_amount, :claims_amount_b2b, :claims_granted, :claims_granted_b2b, :ordered_product_sales, :ordered_product_sales_b2b, :orders_shipped, :orders_shipped_b2b, :refund_rate, :refund_rate_b2b, :shipped_product_sales, :shipped_product_sales_b2b, :total_order_items, :total_order_items_b2b, :units_ordered, :units_ordered_b2b, :units_refunded, :units_refunded_b2b, :units_shipped, :units_shipped_b2b ]
|
|
114
120
|
|
|
115
121
|
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::DataKiosk::SalesAndTraffic20240424::ByDateSales
|
|
116
122
|
|
|
@@ -127,9 +133,11 @@ module Peddler
|
|
|
127
133
|
attr_reader ordered_product_sales: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?
|
|
128
134
|
attr_reader ordered_product_sales_b2b: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?
|
|
129
135
|
attr_reader orders_shipped: String?
|
|
136
|
+
attr_reader orders_shipped_b2b: String?
|
|
130
137
|
attr_reader refund_rate: Float?
|
|
131
138
|
attr_reader refund_rate_b2b: Float?
|
|
132
139
|
attr_reader shipped_product_sales: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?
|
|
140
|
+
attr_reader shipped_product_sales_b2b: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?
|
|
133
141
|
attr_reader total_order_items: String?
|
|
134
142
|
attr_reader total_order_items_b2b: String?
|
|
135
143
|
attr_reader units_ordered: String?
|
|
@@ -137,9 +145,10 @@ module Peddler
|
|
|
137
145
|
attr_reader units_refunded: String?
|
|
138
146
|
attr_reader units_refunded_b2b: String?
|
|
139
147
|
attr_reader units_shipped: String?
|
|
148
|
+
attr_reader units_shipped_b2b: String?
|
|
140
149
|
|
|
141
|
-
def members: () -> [ :average_sales_per_order_item, :average_sales_per_order_item_b2b, :average_selling_price, :average_selling_price_b2b, :average_units_per_order_item, :average_units_per_order_item_b2b, :claims_amount, :claims_amount_b2b, :claims_granted, :claims_granted_b2b, :ordered_product_sales, :ordered_product_sales_b2b, :orders_shipped, :refund_rate, :refund_rate_b2b, :shipped_product_sales, :total_order_items, :total_order_items_b2b, :units_ordered, :units_ordered_b2b, :units_refunded, :units_refunded_b2b, :units_shipped ]
|
|
142
|
-
def to_h: () -> { average_sales_per_order_item: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, average_sales_per_order_item_b2b: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, average_selling_price: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, average_selling_price_b2b: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, average_units_per_order_item: Float?, average_units_per_order_item_b2b: Float?, claims_amount: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, claims_amount_b2b: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, claims_granted: String?, claims_granted_b2b: String?, ordered_product_sales: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ordered_product_sales_b2b: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, orders_shipped: String?, refund_rate: Float?, refund_rate_b2b: Float?, shipped_product_sales: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, total_order_items: String?, total_order_items_b2b: String?, units_ordered: String?, units_ordered_b2b: String?, units_refunded: String?, units_refunded_b2b: String?, units_shipped: String? }
|
|
150
|
+
def members: () -> [ :average_sales_per_order_item, :average_sales_per_order_item_b2b, :average_selling_price, :average_selling_price_b2b, :average_units_per_order_item, :average_units_per_order_item_b2b, :claims_amount, :claims_amount_b2b, :claims_granted, :claims_granted_b2b, :ordered_product_sales, :ordered_product_sales_b2b, :orders_shipped, :orders_shipped_b2b, :refund_rate, :refund_rate_b2b, :shipped_product_sales, :shipped_product_sales_b2b, :total_order_items, :total_order_items_b2b, :units_ordered, :units_ordered_b2b, :units_refunded, :units_refunded_b2b, :units_shipped, :units_shipped_b2b ]
|
|
151
|
+
def to_h: () -> { average_sales_per_order_item: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, average_sales_per_order_item_b2b: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, average_selling_price: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, average_selling_price_b2b: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, average_units_per_order_item: Float?, average_units_per_order_item_b2b: Float?, claims_amount: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, claims_amount_b2b: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, claims_granted: String?, claims_granted_b2b: String?, ordered_product_sales: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, ordered_product_sales_b2b: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, orders_shipped: String?, orders_shipped_b2b: String?, refund_rate: Float?, refund_rate_b2b: Float?, shipped_product_sales: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, shipped_product_sales_b2b: Peddler::DataKiosk::SalesAndTraffic20240424::Amount?, total_order_items: String?, total_order_items_b2b: String?, units_ordered: String?, units_ordered_b2b: String?, units_refunded: String?, units_refunded_b2b: String?, units_shipped: String?, units_shipped_b2b: String? }
|
|
143
152
|
end
|
|
144
153
|
|
|
145
154
|
class ByDateTraffic < Data
|
|
@@ -21,12 +21,12 @@ module Peddler
|
|
|
21
21
|
end
|
|
22
22
|
|
|
23
23
|
class BuyBoxPrice < Data
|
|
24
|
-
def self.new: (condition: String?, listing_price: Peddler::Money?, offer_type: String?, quantity_tier: String?, ?discount_type: String?, ?landed_price: Peddler::Money?, ?seller_id: String?, ?shipping: Peddler::Money?) -> Peddler::Notifications::B2BAnyOfferChanged::BuyBoxPrice
|
|
25
|
-
| (String?, Peddler::Money?, String?, String?, String?, Peddler::Money?, String?, Peddler::Money?) -> Peddler::Notifications::B2BAnyOfferChanged::BuyBoxPrice
|
|
26
|
-
def self.[]: (condition: String?, listing_price: Peddler::Money?, offer_type: String?, quantity_tier: String?, ?discount_type: String?, ?landed_price: Peddler::Money?, ?seller_id: String?, ?shipping: Peddler::Money?) -> Peddler::Notifications::B2BAnyOfferChanged::BuyBoxPrice
|
|
27
|
-
| (String?, Peddler::Money?, String?, String?, String?, Peddler::Money?, String?, Peddler::Money?) -> Peddler::Notifications::B2BAnyOfferChanged::BuyBoxPrice
|
|
24
|
+
def self.new: (condition: String?, listing_price: Peddler::Money?, offer_type: String?, quantity_tier: String?, ?discount_type: String?, ?landed_price: Peddler::Money?, ?points: Peddler::Notifications::B2BAnyOfferChanged::Points?, ?seller_id: String?, ?shipping: Peddler::Money?) -> Peddler::Notifications::B2BAnyOfferChanged::BuyBoxPrice
|
|
25
|
+
| (String?, Peddler::Money?, String?, String?, String?, Peddler::Money?, Peddler::Notifications::B2BAnyOfferChanged::Points?, String?, Peddler::Money?) -> Peddler::Notifications::B2BAnyOfferChanged::BuyBoxPrice
|
|
26
|
+
def self.[]: (condition: String?, listing_price: Peddler::Money?, offer_type: String?, quantity_tier: String?, ?discount_type: String?, ?landed_price: Peddler::Money?, ?points: Peddler::Notifications::B2BAnyOfferChanged::Points?, ?seller_id: String?, ?shipping: Peddler::Money?) -> Peddler::Notifications::B2BAnyOfferChanged::BuyBoxPrice
|
|
27
|
+
| (String?, Peddler::Money?, String?, String?, String?, Peddler::Money?, Peddler::Notifications::B2BAnyOfferChanged::Points?, String?, Peddler::Money?) -> Peddler::Notifications::B2BAnyOfferChanged::BuyBoxPrice
|
|
28
28
|
|
|
29
|
-
def self.members: () -> [ :condition, :listing_price, :offer_type, :quantity_tier, :discount_type, :landed_price, :seller_id, :shipping ]
|
|
29
|
+
def self.members: () -> [ :condition, :listing_price, :offer_type, :quantity_tier, :discount_type, :landed_price, :points, :seller_id, :shipping ]
|
|
30
30
|
|
|
31
31
|
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Notifications::B2BAnyOfferChanged::BuyBoxPrice
|
|
32
32
|
|
|
@@ -35,21 +35,22 @@ module Peddler
|
|
|
35
35
|
attr_reader landed_price: Peddler::Money?
|
|
36
36
|
attr_reader listing_price: Peddler::Money?
|
|
37
37
|
attr_reader offer_type: String?
|
|
38
|
+
attr_reader points: Peddler::Notifications::B2BAnyOfferChanged::Points?
|
|
38
39
|
attr_reader quantity_tier: String?
|
|
39
40
|
attr_reader seller_id: String?
|
|
40
41
|
attr_reader shipping: Peddler::Money?
|
|
41
42
|
|
|
42
|
-
def members: () -> [ :condition, :listing_price, :offer_type, :quantity_tier, :discount_type, :landed_price, :seller_id, :shipping ]
|
|
43
|
-
def to_h: () -> { condition: String?, listing_price: Peddler::Money?, offer_type: String?, quantity_tier: String?, discount_type: String?, landed_price: Peddler::Money?, seller_id: String?, shipping: Peddler::Money? }
|
|
43
|
+
def members: () -> [ :condition, :listing_price, :offer_type, :quantity_tier, :discount_type, :landed_price, :points, :seller_id, :shipping ]
|
|
44
|
+
def to_h: () -> { condition: String?, listing_price: Peddler::Money?, offer_type: String?, quantity_tier: String?, discount_type: String?, landed_price: Peddler::Money?, points: Peddler::Notifications::B2BAnyOfferChanged::Points?, seller_id: String?, shipping: Peddler::Money? }
|
|
44
45
|
end
|
|
45
46
|
|
|
46
47
|
class LowestPrice < Data
|
|
47
|
-
def self.new: (condition: String?, fulfillment_channel: String?, listing_price: Peddler::Money?, offer_type: String?, quantity_tier: String?, ?discount_type: String?, ?landed_price: Peddler::Money?, ?shipping: Peddler::Money?) -> Peddler::Notifications::B2BAnyOfferChanged::LowestPrice
|
|
48
|
-
| (String?, String?, Peddler::Money?, String?, String?, String?, Peddler::Money?, Peddler::Money?) -> Peddler::Notifications::B2BAnyOfferChanged::LowestPrice
|
|
49
|
-
def self.[]: (condition: String?, fulfillment_channel: String?, listing_price: Peddler::Money?, offer_type: String?, quantity_tier: String?, ?discount_type: String?, ?landed_price: Peddler::Money?, ?shipping: Peddler::Money?) -> Peddler::Notifications::B2BAnyOfferChanged::LowestPrice
|
|
50
|
-
| (String?, String?, Peddler::Money?, String?, String?, String?, Peddler::Money?, Peddler::Money?) -> Peddler::Notifications::B2BAnyOfferChanged::LowestPrice
|
|
48
|
+
def self.new: (condition: String?, fulfillment_channel: String?, listing_price: Peddler::Money?, offer_type: String?, quantity_tier: String?, ?discount_type: String?, ?landed_price: Peddler::Money?, ?points: Peddler::Notifications::B2BAnyOfferChanged::Points?, ?shipping: Peddler::Money?) -> Peddler::Notifications::B2BAnyOfferChanged::LowestPrice
|
|
49
|
+
| (String?, String?, Peddler::Money?, String?, String?, String?, Peddler::Money?, Peddler::Notifications::B2BAnyOfferChanged::Points?, Peddler::Money?) -> Peddler::Notifications::B2BAnyOfferChanged::LowestPrice
|
|
50
|
+
def self.[]: (condition: String?, fulfillment_channel: String?, listing_price: Peddler::Money?, offer_type: String?, quantity_tier: String?, ?discount_type: String?, ?landed_price: Peddler::Money?, ?points: Peddler::Notifications::B2BAnyOfferChanged::Points?, ?shipping: Peddler::Money?) -> Peddler::Notifications::B2BAnyOfferChanged::LowestPrice
|
|
51
|
+
| (String?, String?, Peddler::Money?, String?, String?, String?, Peddler::Money?, Peddler::Notifications::B2BAnyOfferChanged::Points?, Peddler::Money?) -> Peddler::Notifications::B2BAnyOfferChanged::LowestPrice
|
|
51
52
|
|
|
52
|
-
def self.members: () -> [ :condition, :fulfillment_channel, :listing_price, :offer_type, :quantity_tier, :discount_type, :landed_price, :shipping ]
|
|
53
|
+
def self.members: () -> [ :condition, :fulfillment_channel, :listing_price, :offer_type, :quantity_tier, :discount_type, :landed_price, :points, :shipping ]
|
|
53
54
|
|
|
54
55
|
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Notifications::B2BAnyOfferChanged::LowestPrice
|
|
55
56
|
|
|
@@ -59,11 +60,12 @@ module Peddler
|
|
|
59
60
|
attr_reader landed_price: Peddler::Money?
|
|
60
61
|
attr_reader listing_price: Peddler::Money?
|
|
61
62
|
attr_reader offer_type: String?
|
|
63
|
+
attr_reader points: Peddler::Notifications::B2BAnyOfferChanged::Points?
|
|
62
64
|
attr_reader quantity_tier: String?
|
|
63
65
|
attr_reader shipping: Peddler::Money?
|
|
64
66
|
|
|
65
|
-
def members: () -> [ :condition, :fulfillment_channel, :listing_price, :offer_type, :quantity_tier, :discount_type, :landed_price, :shipping ]
|
|
66
|
-
def to_h: () -> { condition: String?, fulfillment_channel: String?, listing_price: Peddler::Money?, offer_type: String?, quantity_tier: String?, discount_type: String?, landed_price: Peddler::Money?, shipping: Peddler::Money? }
|
|
67
|
+
def members: () -> [ :condition, :fulfillment_channel, :listing_price, :offer_type, :quantity_tier, :discount_type, :landed_price, :points, :shipping ]
|
|
68
|
+
def to_h: () -> { condition: String?, fulfillment_channel: String?, listing_price: Peddler::Money?, offer_type: String?, quantity_tier: String?, discount_type: String?, landed_price: Peddler::Money?, points: Peddler::Notifications::B2BAnyOfferChanged::Points?, shipping: Peddler::Money? }
|
|
67
69
|
end
|
|
68
70
|
|
|
69
71
|
class Notification < Data
|
|
@@ -107,12 +109,12 @@ module Peddler
|
|
|
107
109
|
end
|
|
108
110
|
|
|
109
111
|
class Offer < Data
|
|
110
|
-
def self.new: (fulfilled_by_amazon: bool?, listing_price: Peddler::Money?, seller_id: String?, shipping: Peddler::Money?, shipping_time:
|
|
111
|
-
| (bool?, Peddler::Money?, String?, Peddler::Money?,
|
|
112
|
-
def self.[]: (fulfilled_by_amazon: bool?, listing_price: Peddler::Money?, seller_id: String?, shipping: Peddler::Money?, shipping_time:
|
|
113
|
-
| (bool?, Peddler::Money?, String?, Peddler::Money?,
|
|
112
|
+
def self.new: (fulfilled_by_amazon: bool?, listing_price: Peddler::Money?, seller_id: String?, shipping: Peddler::Money?, shipping_time: Hash[untyped, untyped]?, sub_condition: String?, ?condition_notes: String?, ?buy_box_winner: bool?, ?featured_merchant: bool?, ?points: Peddler::Notifications::B2BAnyOfferChanged::Points?, ?prime_information: Peddler::Notifications::B2BAnyOfferChanged::PrimeInformation?, ?quantity_discount_price: Array[Peddler::Notifications::B2BAnyOfferChanged::QuantityDiscountPriceType]?, ?seller_feedback_rating: Peddler::Notifications::B2BAnyOfferChanged::SellerFeedbackRating?, ?ships_from: Peddler::Notifications::B2BAnyOfferChanged::ShipsFrom?) -> Peddler::Notifications::B2BAnyOfferChanged::Offer
|
|
113
|
+
| (bool?, Peddler::Money?, String?, Peddler::Money?, Hash[untyped, untyped]?, String?, String?, bool?, bool?, Peddler::Notifications::B2BAnyOfferChanged::Points?, Peddler::Notifications::B2BAnyOfferChanged::PrimeInformation?, Array[Peddler::Notifications::B2BAnyOfferChanged::QuantityDiscountPriceType]?, Peddler::Notifications::B2BAnyOfferChanged::SellerFeedbackRating?, Peddler::Notifications::B2BAnyOfferChanged::ShipsFrom?) -> Peddler::Notifications::B2BAnyOfferChanged::Offer
|
|
114
|
+
def self.[]: (fulfilled_by_amazon: bool?, listing_price: Peddler::Money?, seller_id: String?, shipping: Peddler::Money?, shipping_time: Hash[untyped, untyped]?, sub_condition: String?, ?condition_notes: String?, ?buy_box_winner: bool?, ?featured_merchant: bool?, ?points: Peddler::Notifications::B2BAnyOfferChanged::Points?, ?prime_information: Peddler::Notifications::B2BAnyOfferChanged::PrimeInformation?, ?quantity_discount_price: Array[Peddler::Notifications::B2BAnyOfferChanged::QuantityDiscountPriceType]?, ?seller_feedback_rating: Peddler::Notifications::B2BAnyOfferChanged::SellerFeedbackRating?, ?ships_from: Peddler::Notifications::B2BAnyOfferChanged::ShipsFrom?) -> Peddler::Notifications::B2BAnyOfferChanged::Offer
|
|
115
|
+
| (bool?, Peddler::Money?, String?, Peddler::Money?, Hash[untyped, untyped]?, String?, String?, bool?, bool?, Peddler::Notifications::B2BAnyOfferChanged::Points?, Peddler::Notifications::B2BAnyOfferChanged::PrimeInformation?, Array[Peddler::Notifications::B2BAnyOfferChanged::QuantityDiscountPriceType]?, Peddler::Notifications::B2BAnyOfferChanged::SellerFeedbackRating?, Peddler::Notifications::B2BAnyOfferChanged::ShipsFrom?) -> Peddler::Notifications::B2BAnyOfferChanged::Offer
|
|
114
116
|
|
|
115
|
-
def self.members: () -> [ :fulfilled_by_amazon, :listing_price, :seller_id, :shipping, :shipping_time, :sub_condition, :condition_notes, :buy_box_winner, :featured_merchant, :prime_information, :quantity_discount_price, :seller_feedback_rating, :ships_from ]
|
|
117
|
+
def self.members: () -> [ :fulfilled_by_amazon, :listing_price, :seller_id, :shipping, :shipping_time, :sub_condition, :condition_notes, :buy_box_winner, :featured_merchant, :points, :prime_information, :quantity_discount_price, :seller_feedback_rating, :ships_from ]
|
|
116
118
|
|
|
117
119
|
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Notifications::B2BAnyOfferChanged::Offer
|
|
118
120
|
|
|
@@ -121,20 +123,21 @@ module Peddler
|
|
|
121
123
|
attr_reader featured_merchant: bool?
|
|
122
124
|
attr_reader fulfilled_by_amazon: bool?
|
|
123
125
|
attr_reader listing_price: Peddler::Money?
|
|
126
|
+
attr_reader points: Peddler::Notifications::B2BAnyOfferChanged::Points?
|
|
124
127
|
attr_reader prime_information: Peddler::Notifications::B2BAnyOfferChanged::PrimeInformation?
|
|
125
128
|
attr_reader quantity_discount_price: Array[Peddler::Notifications::B2BAnyOfferChanged::QuantityDiscountPriceType]?
|
|
126
129
|
attr_reader seller_feedback_rating: Peddler::Notifications::B2BAnyOfferChanged::SellerFeedbackRating?
|
|
127
130
|
attr_reader seller_id: String?
|
|
128
131
|
attr_reader shipping: Peddler::Money?
|
|
129
|
-
attr_reader shipping_time:
|
|
132
|
+
attr_reader shipping_time: Hash[untyped, untyped]?
|
|
130
133
|
attr_reader ships_from: Peddler::Notifications::B2BAnyOfferChanged::ShipsFrom?
|
|
131
134
|
attr_reader sub_condition: String?
|
|
132
135
|
|
|
133
136
|
def buy_box_winner?: () -> bool
|
|
134
137
|
def featured_merchant?: () -> bool
|
|
135
138
|
def fulfilled_by_amazon?: () -> bool
|
|
136
|
-
def members: () -> [ :fulfilled_by_amazon, :listing_price, :seller_id, :shipping, :shipping_time, :sub_condition, :condition_notes, :buy_box_winner, :featured_merchant, :prime_information, :quantity_discount_price, :seller_feedback_rating, :ships_from ]
|
|
137
|
-
def to_h: () -> { fulfilled_by_amazon: bool?, listing_price: Peddler::Money?, seller_id: String?, shipping: Peddler::Money?, shipping_time:
|
|
139
|
+
def members: () -> [ :fulfilled_by_amazon, :listing_price, :seller_id, :shipping, :shipping_time, :sub_condition, :condition_notes, :buy_box_winner, :featured_merchant, :points, :prime_information, :quantity_discount_price, :seller_feedback_rating, :ships_from ]
|
|
140
|
+
def to_h: () -> { fulfilled_by_amazon: bool?, listing_price: Peddler::Money?, seller_id: String?, shipping: Peddler::Money?, shipping_time: Hash[untyped, untyped]?, sub_condition: String?, condition_notes: String?, buy_box_winner: bool?, featured_merchant: bool?, points: Peddler::Notifications::B2BAnyOfferChanged::Points?, prime_information: Peddler::Notifications::B2BAnyOfferChanged::PrimeInformation?, quantity_discount_price: Array[Peddler::Notifications::B2BAnyOfferChanged::QuantityDiscountPriceType]?, seller_feedback_rating: Peddler::Notifications::B2BAnyOfferChanged::SellerFeedbackRating?, ships_from: Peddler::Notifications::B2BAnyOfferChanged::ShipsFrom? }
|
|
138
141
|
end
|
|
139
142
|
|
|
140
143
|
class OfferChangeTrigger < Data
|
|
@@ -190,23 +193,39 @@ module Peddler
|
|
|
190
193
|
def to_h: () -> { b2b_any_offer_changed_notification: Peddler::Notifications::B2BAnyOfferChanged::B2BAnyOfferChangedNotification? }
|
|
191
194
|
end
|
|
192
195
|
|
|
196
|
+
class Points < Data
|
|
197
|
+
def self.new: (points_number: Integer?) -> Peddler::Notifications::B2BAnyOfferChanged::Points
|
|
198
|
+
| (Integer?) -> Peddler::Notifications::B2BAnyOfferChanged::Points
|
|
199
|
+
def self.[]: (points_number: Integer?) -> Peddler::Notifications::B2BAnyOfferChanged::Points
|
|
200
|
+
| (Integer?) -> Peddler::Notifications::B2BAnyOfferChanged::Points
|
|
201
|
+
|
|
202
|
+
def self.members: () -> [ :points_number ]
|
|
203
|
+
|
|
204
|
+
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Notifications::B2BAnyOfferChanged::Points
|
|
205
|
+
|
|
206
|
+
attr_reader points_number: Integer?
|
|
207
|
+
|
|
208
|
+
def members: () -> [ :points_number ]
|
|
209
|
+
def to_h: () -> { points_number: Integer? }
|
|
210
|
+
end
|
|
211
|
+
|
|
193
212
|
class PrimeInformation < Data
|
|
194
|
-
def self.new: (?
|
|
213
|
+
def self.new: (?national_prime: bool?, ?prime: bool?) -> Peddler::Notifications::B2BAnyOfferChanged::PrimeInformation
|
|
195
214
|
| (bool?, bool?) -> Peddler::Notifications::B2BAnyOfferChanged::PrimeInformation
|
|
196
|
-
def self.[]: (?
|
|
215
|
+
def self.[]: (?national_prime: bool?, ?prime: bool?) -> Peddler::Notifications::B2BAnyOfferChanged::PrimeInformation
|
|
197
216
|
| (bool?, bool?) -> Peddler::Notifications::B2BAnyOfferChanged::PrimeInformation
|
|
198
217
|
|
|
199
|
-
def self.members: () -> [ :
|
|
218
|
+
def self.members: () -> [ :national_prime, :prime ]
|
|
200
219
|
|
|
201
220
|
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Notifications::B2BAnyOfferChanged::PrimeInformation
|
|
202
221
|
|
|
203
|
-
attr_reader
|
|
204
|
-
attr_reader
|
|
222
|
+
attr_reader national_prime: bool?
|
|
223
|
+
attr_reader prime: bool?
|
|
205
224
|
|
|
206
|
-
def members: () -> [ :
|
|
207
|
-
def
|
|
208
|
-
def
|
|
209
|
-
def to_h: () -> {
|
|
225
|
+
def members: () -> [ :national_prime, :prime ]
|
|
226
|
+
def national_prime?: () -> bool
|
|
227
|
+
def prime?: () -> bool
|
|
228
|
+
def to_h: () -> { national_prime: bool?, prime: bool? }
|
|
210
229
|
end
|
|
211
230
|
|
|
212
231
|
class QuantityDiscountPriceType < Data
|
|
@@ -264,19 +283,20 @@ module Peddler
|
|
|
264
283
|
end
|
|
265
284
|
|
|
266
285
|
class ShipsFrom < Data
|
|
267
|
-
def self.new: (?country: String?) -> Peddler::Notifications::B2BAnyOfferChanged::ShipsFrom
|
|
268
|
-
| (String?) -> Peddler::Notifications::B2BAnyOfferChanged::ShipsFrom
|
|
269
|
-
def self.[]: (?country: String?) -> Peddler::Notifications::B2BAnyOfferChanged::ShipsFrom
|
|
270
|
-
| (String?) -> Peddler::Notifications::B2BAnyOfferChanged::ShipsFrom
|
|
286
|
+
def self.new: (?country: String?, ?state: String?) -> Peddler::Notifications::B2BAnyOfferChanged::ShipsFrom
|
|
287
|
+
| (String?, String?) -> Peddler::Notifications::B2BAnyOfferChanged::ShipsFrom
|
|
288
|
+
def self.[]: (?country: String?, ?state: String?) -> Peddler::Notifications::B2BAnyOfferChanged::ShipsFrom
|
|
289
|
+
| (String?, String?) -> Peddler::Notifications::B2BAnyOfferChanged::ShipsFrom
|
|
271
290
|
|
|
272
|
-
def self.members: () -> [ :country ]
|
|
291
|
+
def self.members: () -> [ :country, :state ]
|
|
273
292
|
|
|
274
293
|
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Notifications::B2BAnyOfferChanged::ShipsFrom
|
|
275
294
|
|
|
276
295
|
attr_reader country: String?
|
|
296
|
+
attr_reader state: String?
|
|
277
297
|
|
|
278
|
-
def members: () -> [ :country ]
|
|
279
|
-
def to_h: () -> { country: String? }
|
|
298
|
+
def members: () -> [ :country, :state ]
|
|
299
|
+
def to_h: () -> { country: String?, state: String? }
|
|
280
300
|
end
|
|
281
301
|
|
|
282
302
|
class Summary < Data
|
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.
|
|
4
|
+
version: 5.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Hakan Ensari
|
|
@@ -995,8 +995,6 @@ files:
|
|
|
995
995
|
- lib/peddler/apis/merchant_fulfillment_v0/weight.rb
|
|
996
996
|
- lib/peddler/apis/messaging_v1.rb
|
|
997
997
|
- lib/peddler/apis/messaging_v1/attachment.rb
|
|
998
|
-
- lib/peddler/apis/messaging_v1/create_amazon_motors_request.rb
|
|
999
|
-
- lib/peddler/apis/messaging_v1/create_amazon_motors_response.rb
|
|
1000
998
|
- lib/peddler/apis/messaging_v1/create_confirm_customization_details_request.rb
|
|
1001
999
|
- lib/peddler/apis/messaging_v1/create_confirm_customization_details_response.rb
|
|
1002
1000
|
- lib/peddler/apis/messaging_v1/create_confirm_delivery_details_request.rb
|
|
@@ -1124,16 +1122,9 @@ files:
|
|
|
1124
1122
|
- lib/peddler/apis/orders_v0/error.rb
|
|
1125
1123
|
- lib/peddler/apis/orders_v0/error_list.rb
|
|
1126
1124
|
- lib/peddler/apis/orders_v0/exception_dates.rb
|
|
1127
|
-
- lib/peddler/apis/orders_v0/export_info.rb
|
|
1128
1125
|
- lib/peddler/apis/orders_v0/fulfillment_instruction.rb
|
|
1129
|
-
- lib/peddler/apis/orders_v0/fulfillment_instructions.rb
|
|
1130
|
-
- lib/peddler/apis/orders_v0/fulfillment_location.rb
|
|
1131
|
-
- lib/peddler/apis/orders_v0/fulfillment_plan.rb
|
|
1132
|
-
- lib/peddler/apis/orders_v0/fulfillment_plan_item.rb
|
|
1133
|
-
- lib/peddler/apis/orders_v0/fulfillment_plan_shipping_constraints.rb
|
|
1134
1126
|
- lib/peddler/apis/orders_v0/get_order_address_response.rb
|
|
1135
1127
|
- lib/peddler/apis/orders_v0/get_order_buyer_info_response.rb
|
|
1136
|
-
- lib/peddler/apis/orders_v0/get_order_fulfillment_instructions_response.rb
|
|
1137
1128
|
- lib/peddler/apis/orders_v0/get_order_items_buyer_info_response.rb
|
|
1138
1129
|
- lib/peddler/apis/orders_v0/get_order_items_response.rb
|
|
1139
1130
|
- lib/peddler/apis/orders_v0/get_order_regulated_info_response.rb
|
|
@@ -1171,7 +1162,6 @@ files:
|
|
|
1171
1162
|
- lib/peddler/apis/orders_v0/regulated_order_verification_status.rb
|
|
1172
1163
|
- lib/peddler/apis/orders_v0/rejection_reason.rb
|
|
1173
1164
|
- lib/peddler/apis/orders_v0/shipping_constraints.rb
|
|
1174
|
-
- lib/peddler/apis/orders_v0/shipping_instructions.rb
|
|
1175
1165
|
- lib/peddler/apis/orders_v0/substitution_option.rb
|
|
1176
1166
|
- lib/peddler/apis/orders_v0/substitution_option_list.rb
|
|
1177
1167
|
- lib/peddler/apis/orders_v0/substitution_preferences.rb
|
|
@@ -1998,11 +1988,9 @@ files:
|
|
|
1998
1988
|
- lib/peddler/apis/vendor_shipments_v1/location.rb
|
|
1999
1989
|
- lib/peddler/apis/vendor_shipments_v1/package_item_details.rb
|
|
2000
1990
|
- lib/peddler/apis/vendor_shipments_v1/packed_items.rb
|
|
2001
|
-
- lib/peddler/apis/vendor_shipments_v1/packed_quantity.rb
|
|
2002
1991
|
- lib/peddler/apis/vendor_shipments_v1/pagination.rb
|
|
2003
1992
|
- lib/peddler/apis/vendor_shipments_v1/pallet.rb
|
|
2004
1993
|
- lib/peddler/apis/vendor_shipments_v1/party_identification.rb
|
|
2005
|
-
- lib/peddler/apis/vendor_shipments_v1/purchase_order_item_details.rb
|
|
2006
1994
|
- lib/peddler/apis/vendor_shipments_v1/purchase_order_items.rb
|
|
2007
1995
|
- lib/peddler/apis/vendor_shipments_v1/purchase_orders.rb
|
|
2008
1996
|
- lib/peddler/apis/vendor_shipments_v1/regulation_references.rb
|
|
@@ -2014,9 +2002,6 @@ files:
|
|
|
2014
2002
|
- lib/peddler/apis/vendor_shipments_v1/shipment_measurements.rb
|
|
2015
2003
|
- lib/peddler/apis/vendor_shipments_v1/shipment_status_details.rb
|
|
2016
2004
|
- lib/peddler/apis/vendor_shipments_v1/stop.rb
|
|
2017
|
-
- lib/peddler/apis/vendor_shipments_v1/submit_shipment_confirmation_request.rb
|
|
2018
|
-
- lib/peddler/apis/vendor_shipments_v1/submit_shipment_confirmation_response.rb
|
|
2019
|
-
- lib/peddler/apis/vendor_shipments_v1/submit_shipment_confirmation_result.rb
|
|
2020
2005
|
- lib/peddler/apis/vendor_shipments_v1/submit_shipment_confirmations_request.rb
|
|
2021
2006
|
- lib/peddler/apis/vendor_shipments_v1/submit_shipment_confirmations_response.rb
|
|
2022
2007
|
- lib/peddler/apis/vendor_shipments_v1/submit_shipments.rb
|
|
@@ -2152,6 +2137,7 @@ files:
|
|
|
2152
2137
|
- lib/peddler/notifications/b2b_any_offer_changed/offer_change_trigger.rb
|
|
2153
2138
|
- lib/peddler/notifications/b2b_any_offer_changed/offer_count.rb
|
|
2154
2139
|
- lib/peddler/notifications/b2b_any_offer_changed/payload.rb
|
|
2140
|
+
- lib/peddler/notifications/b2b_any_offer_changed/points.rb
|
|
2155
2141
|
- lib/peddler/notifications/b2b_any_offer_changed/prime_information.rb
|
|
2156
2142
|
- lib/peddler/notifications/b2b_any_offer_changed/quantity_discount_price_type.rb
|
|
2157
2143
|
- lib/peddler/notifications/b2b_any_offer_changed/seller_feedback_rating.rb
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
# This file is generated. Do not edit.
|
|
4
|
-
|
|
5
|
-
require "structure"
|
|
6
|
-
|
|
7
|
-
module Peddler
|
|
8
|
-
module APIs
|
|
9
|
-
class MessagingV1
|
|
10
|
-
# The request schema for the createAmazonMotors operation.
|
|
11
|
-
CreateAmazonMotorsRequest = Structure.new do
|
|
12
|
-
# @return [Array<Attachment>] Attachments to include in the message to the buyer. If any text is included in the
|
|
13
|
-
# attachment, the text must be written in the buyer's language of preference, which can be retrieved from the
|
|
14
|
-
# GetAttributes operation.
|
|
15
|
-
attribute?(:attachments, [Attachment])
|
|
16
|
-
end
|
|
17
|
-
end
|
|
18
|
-
end
|
|
19
|
-
end
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
# This file is generated. Do not edit.
|
|
4
|
-
|
|
5
|
-
require "structure"
|
|
6
|
-
|
|
7
|
-
module Peddler
|
|
8
|
-
module APIs
|
|
9
|
-
class MessagingV1
|
|
10
|
-
# The response schema for the createAmazonMotors operation.
|
|
11
|
-
CreateAmazonMotorsResponse = Structure.new do
|
|
12
|
-
# @return [Array<Error>]
|
|
13
|
-
attribute?(:errors, [Error])
|
|
14
|
-
end
|
|
15
|
-
end
|
|
16
|
-
end
|
|
17
|
-
end
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
# This file is generated. Do not edit.
|
|
4
|
-
|
|
5
|
-
require "structure"
|
|
6
|
-
|
|
7
|
-
module Peddler
|
|
8
|
-
module APIs
|
|
9
|
-
class OrdersV0
|
|
10
|
-
# Contains information that is related to the export of an order item.
|
|
11
|
-
ExportInfo = Structure.new do
|
|
12
|
-
# @return [Money] Holds the export/import charge for an order item.
|
|
13
|
-
attribute?(:export_charge, Money, from: "ExportCharge")
|
|
14
|
-
|
|
15
|
-
# @return [String] Holds the `ExportCharge` collection model that is associated with the specified order item.
|
|
16
|
-
#
|
|
17
|
-
# **Possible values**: `AMAZON_FACILITATED`: Import/export charge is withheld by Amazon and remitted to the
|
|
18
|
-
# customs authority by the carrier on behalf of the buyer/seller.
|
|
19
|
-
attribute?(:export_charge_model, String, from: "ExportChargeModel")
|
|
20
|
-
end
|
|
21
|
-
end
|
|
22
|
-
end
|
|
23
|
-
end
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
# This file is generated. Do not edit.
|
|
4
|
-
|
|
5
|
-
require "structure"
|
|
6
|
-
|
|
7
|
-
module Peddler
|
|
8
|
-
module APIs
|
|
9
|
-
class OrdersV0
|
|
10
|
-
# Contains all fulfillment plans for the order
|
|
11
|
-
FulfillmentInstructions = Structure.new do
|
|
12
|
-
# @return [String] An Amazon-defined order identifier, in 3-7-7 format.
|
|
13
|
-
attribute(:amazon_order_id, String, from: "AmazonOrderId")
|
|
14
|
-
|
|
15
|
-
# @return [Array<FulfillmentPlan>] List of all fulfillment plans for the given order id
|
|
16
|
-
attribute?(:fulfillment_plans, [FulfillmentPlan], from: "FulfillmentPlans")
|
|
17
|
-
end
|
|
18
|
-
end
|
|
19
|
-
end
|
|
20
|
-
end
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
# This file is generated. Do not edit.
|
|
4
|
-
|
|
5
|
-
require "structure"
|
|
6
|
-
|
|
7
|
-
module Peddler
|
|
8
|
-
module APIs
|
|
9
|
-
class OrdersV0
|
|
10
|
-
# Represents a location from which the plan is to be fulfilled.
|
|
11
|
-
FulfillmentLocation = Structure.new do
|
|
12
|
-
# @return [String] The fulfillment location identifier.
|
|
13
|
-
attribute?(:supply_source_id, String, from: "SupplySourceId")
|
|
14
|
-
end
|
|
15
|
-
end
|
|
16
|
-
end
|
|
17
|
-
end
|