source stringclasses 1
value | repo stringlengths 5 63 | repo_url stringlengths 24 82 | path stringlengths 5 167 | language stringclasses 1
value | license stringclasses 5
values | stars int64 10 51.4k | ref stringclasses 23
values | size_bytes int64 200 258k | text stringlengths 137 258k |
|---|---|---|---|---|---|---|---|---|---|
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/orders_2026_01_01/time_window.rb | Ruby | mit | 308 | main | 522 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class Orders20260101
# Specific time interval defining the start and end times.
TimeWindow = Structure.new do
# @return [HourMinute] The end of the time window.
attrib... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/orders_2026_01_01/associated_order.rb | Ruby | mit | 308 | main | 763 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class Orders20260101
# Another order that has a direct business relationship with the current order, such as replacements or exchanges.
AssociatedOrder = Structure.new do
# @r... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/orders_2026_01_01/buyer.rb | Ruby | mit | 308 | main | 1,047 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class Orders20260101
# Information about the customer who purchased the order.
Buyer = Structure.new do
# @return [String] The name of the company or organization for a busine... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/orders_2026_01_01/item_price.rb | Ruby | mit | 308 | main | 871 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class Orders20260101
# Pricing information for the order item.
ItemPrice = Structure.new do
# @return [String] Indicates that the selling price is a special price that is only... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/orders_2026_01_01/customer_address.rb | Ruby | mit | 308 | main | 2,686 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class Orders20260101
# The physical address of the customer.
CustomerAddress = Structure.new do
# @return [String] The primary street address.
attribute?(:address_line... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/orders_2026_01_01/item_packing.rb | Ruby | mit | 308 | main | 432 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class Orders20260101
# Information related to the packaging process for an order item.
ItemPacking = Structure.new do
# @return [GiftOption] Gift wrapping and messaging specif... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/orders_2026_01_01/item_picking.rb | Ruby | mit | 308 | main | 544 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class Orders20260101
# Information related to the warehouse picking process for an order item.
ItemPicking = Structure.new do
# @return [ItemSubstitutionPreference] Substituti... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/orders_2026_01_01/item_points_cost.rb | Ruby | mit | 308 | main | 537 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class Orders20260101
# Information about Amazon Points granted with the purchase of an item, including both quantity and monetary
# equivalent value.
ItemPointsCost = Structure.... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/orders_2026_01_01/error.rb | Ruby | mit | 308 | main | 668 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class Orders20260101
# Error response returned when the request is unsuccessful.
Error = Structure.new do
# @return [String] An error code that identifies the type of error th... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/orders_2026_01_01/order_package.rb | Ruby | mit | 308 | main | 2,185 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
require "time"
module Peddler
module APIs
class Orders20260101
# Information about a physical shipping package, including tracking details. **Note:** Only available for
# merchant-fulfilled (FBM) orders.
... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/orders_2026_01_01/item_proceeds_detailed_breakdown.rb | Ruby | mit | 308 | main | 707 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class Orders20260101
# Further granular breakdown of the subtotal of the proceeds breakdown, only available for TAX and DISCOUNT
# proceeds type.
ItemProceedsDetailedBreakdown =... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/orders_2026_01_01/item_cancellation.rb | Ruby | mit | 308 | main | 479 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class Orders20260101
# The cancellation information of the order item.
ItemCancellation = Structure.new do
# @return [ItemCancellationRequest] Details of the cancellation requ... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/orders_2026_01_01/sales_channel.rb | Ruby | mit | 308 | main | 905 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class Orders20260101
# Information about where the customer placed this order.
SalesChannel = Structure.new do
# @return [String] The name of the sales platform or channel whe... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/orders_2026_01_01/date_time_range.rb | Ruby | mit | 308 | main | 714 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
require "time"
module Peddler
module APIs
class Orders20260101
# A time period with start and end boundaries.
DateTimeRange = Structure.new do
# @return [Time] The beginning of the time period, in [ISO
... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/orders_2026_01_01/item_proceeds_breakdown.rb | Ruby | mit | 308 | main | 820 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class Orders20260101
# Detailed proceeds breakdown for a specific order item.
ItemProceedsBreakdown = Structure.new do
# @return [Array<ItemProceedsDetailedBreakdown>] Further... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/orders_2026_01_01/pagination.rb | Ruby | mit | 308 | main | 1,031 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class Orders20260101
# When a request has results that are not included in the response, pagination occurs. This means the results are
# divided into individual pages. To retrieve a d... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/orders_2026_01_01/item_cancellation_request.rb | Ruby | mit | 308 | main | 649 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class Orders20260101
# Detailed information about a cancellation request submitted for a specific order item.
ItemCancellationRequest = Structure.new do
# @return [String] Exp... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/orders_2026_01_01/item_condition.rb | Ruby | mit | 308 | main | 1,242 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class Orders20260101
# Detailed information about the physical condition and quality state of the item being sold.
ItemCondition = Structure.new do
# @return [String] Addition... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/orders_2026_01_01/alias.rb | Ruby | mit | 308 | main | 677 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class Orders20260101
# An alternative identifier that provides a different way to reference the same order.
Alias = Structure.new do
# @return [String] The alternative identif... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/orders_2026_01_01/hour_minute.rb | Ruby | mit | 308 | main | 507 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class Orders20260101
# The time when the business opens or closes.
HourMinute = Structure.new do
# @return [Integer] The hour when the business opens or closes, in 24-hour for... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/orders_2026_01_01/get_order_response.rb | Ruby | mit | 308 | main | 364 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class Orders20260101
# Order details.
GetOrderResponse = Structure.new do
# @return [Order] All available information about the requested order.
attribute(:order, Orde... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/orders_2026_01_01/item_proceeds.rb | Ruby | mit | 308 | main | 565 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class Orders20260101
# The money that the seller receives from the sale of this specific item.
ItemProceeds = Structure.new do
# @return [Array<ItemProceedsBreakdown>] The bre... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/orders_2026_01_01/item_expense.rb | Ruby | mit | 308 | main | 398 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class Orders20260101
# The expense information related to this specific item.
ItemExpense = Structure.new do
# @return [ItemPointsCost] The cost of points.
attribute?(... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/orders_2026_01_01/business_hour.rb | Ruby | mit | 308 | main | 684 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
require "time"
module Peddler
module APIs
class Orders20260101
# Business days and hours when the destination is open for deliveries.
BusinessHour = Structure.new do
# @return [String] Specific day of t... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/orders_2026_01_01/delivery_preference.rb | Ruby | mit | 308 | main | 1,060 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
require "time"
module Peddler
module APIs
class Orders20260101
# Contains all delivery instructions that the customer provides for the shipping address.
DeliveryPreference = Structure.new do
# @return [... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/orders_2026_01_01/order_fulfillment.rb | Ruby | mit | 308 | main | 1,570 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
require "time"
module Peddler
module APIs
class Orders20260101
# Information about how the order is being processed, packed, and shipped to the customer.
OrderFulfillment = Structure.new do
# @return [S... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/orders_2026_01_01/search_orders_response.rb | Ruby | mit | 308 | main | 1,703 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
require "time"
module Peddler
module APIs
class Orders20260101
# A list of orders.
SearchOrdersResponse = Structure.new do
# @return [Array<Order>] An array containing all orders that match the search c... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/shipping_v1/get_rates_response.rb | Ruby | mit | 308 | main | 492 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ShippingV1
# The response schema for the getRates operation.
GetRatesResponse = Structure.new do
# @return [Array<Error>] Encountered errors for the operation.
a... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/shipping_v1/label_specification.rb | Ruby | mit | 308 | main | 598 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ShippingV1
# The label specification info.
LabelSpecification = Structure.new do
# @return [String] The format of the label. Enum of PNG only for now.
attribute(... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/shipping_v1/account.rb | Ruby | mit | 308 | main | 335 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ShippingV1
# The account related data.
Account = Structure.new do
# @return [String]
attribute(:account_id, String, null: false, from: "accountId")
end
... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/shipping_v1/purchase_shipment_response.rb | Ruby | mit | 308 | main | 532 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ShippingV1
# The response schema for the purchaseShipment operation.
PurchaseShipmentResponse = Structure.new do
# @return [Array<Error>] Encountered errors for the oper... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/shipping_v1/cancel_shipment_response.rb | Ruby | mit | 308 | main | 388 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ShippingV1
# The response schema for the cancelShipment operation.
CancelShipmentResponse = Structure.new do
# @return [Array<Error>] Encountered errors for the operatio... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/shipping_v1/get_tracking_information_response.rb | Ruby | mit | 308 | main | 544 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ShippingV1
# The response schema for the getTrackingInformation operation.
GetTrackingInformationResponse = Structure.new do
# @return [Array<Error>] Encountered errors ... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/shipping_v1/get_rates_request.rb | Ruby | mit | 308 | main | 908 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
require "time"
module Peddler
module APIs
class ShippingV1
# The payload schema for the getRates operation.
GetRatesRequest = Structure.new do
# @return [Array<ContainerSpecification>]
attribute... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/shipping_v1/get_shipment_response.rb | Ruby | mit | 308 | main | 489 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ShippingV1
# The response schema for the getShipment operation.
GetShipmentResponse = Structure.new do
# @return [Array<Error>] Encountered errors for the operation.
... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/shipping_v1/purchase_labels_request.rb | Ruby | mit | 308 | main | 511 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ShippingV1
# The request schema for the purchaseLabels operation.
PurchaseLabelsRequest = Structure.new do
# @return [LabelSpecification]
attribute(:label_specif... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/shipping_v1/rate_list.rb | Ruby | mit | 308 | main | 404 | # frozen_string_literal: true
# This file is generated. Edit template if necessary.
module Peddler
module APIs
class ShippingV1
# A list of all the available rates that can be used to send the shipment.
class RateList < Array
class << self
def parse(array)
new(array.map... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/shipping_v1/event.rb | Ruby | mit | 308 | main | 556 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
require "time"
module Peddler
module APIs
class ShippingV1
# An event of a shipment
Event = Structure.new do
# @return [String]
attribute(:event_code, String, null: false, from: "eventCode")
... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/shipping_v1/purchase_shipment_request.rb | Ruby | mit | 308 | main | 1,095 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
require "time"
module Peddler
module APIs
class ShippingV1
# The payload schema for the purchaseShipment operation.
PurchaseShipmentRequest = Structure.new do
# @return [String]
attribute(:clien... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/shipping_v1/create_shipment_request.rb | Ruby | mit | 308 | main | 682 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ShippingV1
# The request schema for the createShipment operation.
CreateShipmentRequest = Structure.new do
# @return [String]
attribute(:client_reference_id, Str... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/shipping_v1/label_result_list.rb | Ruby | mit | 308 | main | 369 | # frozen_string_literal: true
# This file is generated. Edit template if necessary.
module Peddler
module APIs
class ShippingV1
# A list of label results
class LabelResultList < Array
class << self
def parse(array)
new(array.map { |item| LabelResult.parse(item) })
... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/shipping_v1/purchase_labels_result.rb | Ruby | mit | 308 | main | 722 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ShippingV1
# The payload schema for the purchaseLabels operation.
PurchaseLabelsResult = Structure.new do
# @return [AcceptedRate]
attribute(:accepted_rate, Acce... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/shipping_v1/retrieve_shipping_label_result.rb | Ruby | mit | 308 | main | 534 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ShippingV1
# The payload schema for the retrieveShippingLabel operation.
RetrieveShippingLabelResult = Structure.new do
# @return [LabelSpecification]
attribute(... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/shipping_v1/shipment.rb | Ruby | mit | 308 | main | 912 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ShippingV1
# The shipment related data.
Shipment = Structure.new do
# @return [String]
attribute(:client_reference_id, String, null: false, from: "clientReferenc... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/shipping_v1/service_rate_list.rb | Ruby | mit | 308 | main | 370 | # frozen_string_literal: true
# This file is generated. Edit template if necessary.
module Peddler
module APIs
class ShippingV1
# A list of service rates.
class ServiceRateList < Array
class << self
def parse(array)
new(array.map { |item| ServiceRate.parse(item) })
... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/shipping_v1/retrieve_shipping_label_response.rb | Ruby | mit | 308 | main | 557 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ShippingV1
# The response schema for the retrieveShippingLabel operation.
RetrieveShippingLabelResponse = Structure.new do
# @return [Array<Error>] Encountered errors fo... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/shipping_v1/purchase_labels_response.rb | Ruby | mit | 308 | main | 522 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ShippingV1
# The response schema for the purchaseLabels operation.
PurchaseLabelsResponse = Structure.new do
# @return [Array<Error>] Encountered errors for the operatio... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/shipping_v1/container_specification.rb | Ruby | mit | 308 | main | 521 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ShippingV1
# Container specification for checking the service rate.
ContainerSpecification = Structure.new do
# @return [Dimensions] The length, width, and height of the... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/shipping_v1/shipping_promise_set.rb | Ruby | mit | 308 | main | 609 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
require "time"
module Peddler
module APIs
class ShippingV1
# The promised delivery time and pickup time.
ShippingPromiseSet = Structure.new do
# @return [TimeRange] The time window in which the shipment... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/shipping_v1/party.rb | Ruby | mit | 308 | main | 334 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ShippingV1
# The account related with the shipment.
Party = Structure.new do
# @return [String]
attribute?(:account_id, String, from: "accountId")
end
... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/shipping_v1/weight.rb | Ruby | mit | 308 | main | 416 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ShippingV1
# The weight.
Weight = Structure.new do
# @return [String] The unit of measurement.
attribute(:unit, String, null: false)
# @return [Float] T... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/shipping_v1/purchase_shipment_result.rb | Ruby | mit | 308 | main | 618 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ShippingV1
# The payload schema for the purchaseShipment operation.
PurchaseShipmentResult = Structure.new do
# @return [Array<LabelResult>]
attribute(:label_res... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/shipping_v1/container_item.rb | Ruby | mit | 308 | main | 939 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ShippingV1
# Item in the container.
ContainerItem = Structure.new do
# @return [Float] The quantity of the items of this type in the container.
attribute(:quanti... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/shipping_v1/error.rb | Ruby | mit | 308 | main | 664 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ShippingV1
# Error response returned when the request is unsuccessful.
Error = Structure.new do
# @return [String] An error code that identifies the type of error that o... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/shipping_v1/label_result.rb | Ruby | mit | 308 | main | 577 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ShippingV1
# Label details including label stream, format, size.
LabelResult = Structure.new do
# @return [String]
attribute?(:container_reference_id, String, fr... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/shipping_v1/time_range.rb | Ruby | mit | 308 | main | 559 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
require "time"
module Peddler
module APIs
class ShippingV1
# The time range.
TimeRange = Structure.new do
# @return [Time] The end date and time. This must come after the value of start. This defaults t... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/shipping_v1/retrieve_shipping_label_request.rb | Ruby | mit | 308 | main | 432 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ShippingV1
# The request schema for the retrieveShippingLabel operation.
RetrieveShippingLabelRequest = Structure.new do
# @return [LabelSpecification]
attribute... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/shipping_v1/event_list.rb | Ruby | mit | 308 | main | 365 | # frozen_string_literal: true
# This file is generated. Edit template if necessary.
module Peddler
module APIs
class ShippingV1
# A list of events of a shipment.
class EventList < Array
class << self
def parse(array)
new(array.map { |item| Event.parse(item) })
... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/shipping_v1/container_specification_list.rb | Ruby | mit | 308 | main | 403 | # frozen_string_literal: true
# This file is generated. Edit template if necessary.
module Peddler
module APIs
class ShippingV1
# A list of container specifications.
class ContainerSpecificationList < Array
class << self
def parse(array)
new(array.map { |item| Container... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/shipping_v1/get_rates_result.rb | Ruby | mit | 308 | main | 388 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ShippingV1
# The payload schema for the getRates operation.
GetRatesResult = Structure.new do
# @return [Array<ServiceRate>]
attribute(:service_rates, [ServiceRa... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/shipping_v1/location.rb | Ruby | mit | 308 | main | 616 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ShippingV1
# The location where the person, business or institution is located.
Location = Structure.new do
# @return [String]
attribute?(:city, String)
... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/shipping_v1/create_shipment_result.rb | Ruby | mit | 308 | main | 489 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ShippingV1
# The payload schema for the createShipment operation.
CreateShipmentResult = Structure.new do
# @return [Array<Rate>]
attribute(:eligible_rates, [Rat... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/shipping_v1/accepted_rate.rb | Ruby | mit | 308 | main | 753 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ShippingV1
# The specific rate purchased for the shipment, or null if unpurchased.
AcceptedRate = Structure.new do
# @return [Weight] The weight that was used to calcula... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/shipping_v1/create_shipment_response.rb | Ruby | mit | 308 | main | 522 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ShippingV1
# The response schema for the createShipment operation.
CreateShipmentResponse = Structure.new do
# @return [Array<Error>] Encountered errors for the operatio... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/shipping_v1/rate.rb | Ruby | mit | 308 | main | 996 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
require "time"
module Peddler
module APIs
class ShippingV1
# The available rate that can be used to send the shipment
Rate = Structure.new do
# @return [Weight] The weight that was used to calculate the... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/shipping_v1/label.rb | Ruby | mit | 308 | main | 464 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ShippingV1
# The label details of the container.
Label = Structure.new do
# @return [LabelSpecification]
attribute?(:label_specification, LabelSpecification, fro... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/shipping_v1/tracking_summary.rb | Ruby | mit | 308 | main | 364 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ShippingV1
# The tracking summary.
TrackingSummary = Structure.new do
# @return [String] The derived status based on the events in the eventHistory.
attribute?(:... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/shipping_v1/tracking_information.rb | Ruby | mit | 308 | main | 713 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ShippingV1
# The payload schema for the getTrackingInformation operation.
TrackingInformation = Structure.new do
# @return [Array<Event>]
attribute(:event_histor... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/shipping_v1/container_list.rb | Ruby | mit | 308 | main | 362 | # frozen_string_literal: true
# This file is generated. Edit template if necessary.
module Peddler
module APIs
class ShippingV1
# A list of container.
class ContainerList < Array
class << self
def parse(array)
new(array.map { |item| Container.parse(item) })
en... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/shipping_v1/error_list.rb | Ruby | mit | 308 | main | 400 | # frozen_string_literal: true
# This file is generated. Edit template if necessary.
module Peddler
module APIs
class ShippingV1
# A list of error responses returned when a request is unsuccessful.
class ErrorList < Array
class << self
def parse(array)
new(array.map { |i... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/shipping_v1/container.rb | Ruby | mit | 308 | main | 1,023 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ShippingV1
# Container in the shipment.
Container = Structure.new do
# @return [String]
attribute(:container_reference_id, String, null: false, from: "containerR... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/shipping_v1/get_account_response.rb | Ruby | mit | 308 | main | 484 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ShippingV1
# The response schema for the getAccount operation.
GetAccountResponse = Structure.new do
# @return [Array<Error>] Encountered errors for the operation.
... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/shipping_v1/service_rate.rb | Ruby | mit | 308 | main | 809 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ShippingV1
# The specific rate for a shipping service, or null if no service available.
ServiceRate = Structure.new do
# @return [Weight] The weight that was used to cal... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/shipping_v1/service_type_list.rb | Ruby | mit | 308 | main | 369 | # frozen_string_literal: true
# This file is generated. Edit template if necessary.
module Peddler
module APIs
class ShippingV1
# A list of service types that can be used to send the shipment.
class ServiceTypeList < Array
class << self
def parse(array)
new(array)
... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/shipping_v1/dimensions.rb | Ruby | mit | 308 | main | 680 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ShippingV1
# A set of measurements for a three-dimensional object.
Dimensions = Structure.new do
# @return [Float] The height of the container.
attribute(:height... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/shipping_v1/address.rb | Ruby | mit | 308 | main | 1,619 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ShippingV1
# The address.
Address = Structure.new do
# @return [String] First line of that address.
attribute(:address_line1, String, null: false, from: "address... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/fulfillment_inbound_v0/prep_details.rb | Ruby | mit | 308 | main | 503 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class FulfillmentInboundV0
# Preparation instructions and who is responsible for the preparation.
PrepDetails = Structure.new do
# @return [String]
attribute(:prep_ins... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/fulfillment_inbound_v0/get_shipments_response.rb | Ruby | mit | 308 | main | 489 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class FulfillmentInboundV0
# The response schema for the getShipments operation.
GetShipmentsResponse = Structure.new do
# @return [Array<Error>]
attribute?(:errors, [... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/fulfillment_inbound_v0/amazon_prep_fees_details.rb | Ruby | mit | 308 | main | 509 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class FulfillmentInboundV0
# The fees for Amazon to prep goods for shipment.
AmazonPrepFeesDetails = Structure.new do
# @return [Amount] The fee for Amazon to prepare 1 unit.
... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/fulfillment_inbound_v0/amazon_prep_fees_details_list.rb | Ruby | mit | 308 | main | 458 | # frozen_string_literal: true
# This file is generated. Edit template if necessary.
module Peddler
module APIs
class FulfillmentInboundV0
# A list of preparation instructions and fees for Amazon to prep goods for shipment.
class AmazonPrepFeesDetailsList < Array
class << self
def p... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/fulfillment_inbound_v0/sku_prep_instructions.rb | Ruby | mit | 308 | main | 1,103 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class FulfillmentInboundV0
# Labeling requirements and item preparation instructions to help you prepare items for shipment to Amazon's
# fulfillment network.
SKUPrepInstruction... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/fulfillment_inbound_v0/inbound_shipment_item.rb | Ruby | mit | 308 | main | 2,062 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class FulfillmentInboundV0
# Item information for an inbound shipment. Submitted with a call to the createInboundShipment or
# updateInboundShipment operation.
InboundShipmentIt... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/fulfillment_inbound_v0/get_prep_instructions_response.rb | Ruby | mit | 308 | main | 524 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class FulfillmentInboundV0
# The response schema for the getPrepInstructions operation.
GetPrepInstructionsResponse = Structure.new do
# @return [Array<Error>]
attribu... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/fulfillment_inbound_v0/invalid_asin.rb | Ruby | mit | 308 | main | 529 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class FulfillmentInboundV0
# Contains details about an invalid ASIN
InvalidASIN = Structure.new do
# @return [String] The Amazon Standard Identification Number (ASIN) of the i... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/fulfillment_inbound_v0/get_shipment_items_result.rb | Ruby | mit | 308 | main | 655 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class FulfillmentInboundV0
# Result for the get shipment items operation
GetShipmentItemsResult = Structure.new do
# @return [Array<InboundShipmentItem>] A list of item inform... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/fulfillment_inbound_v0/get_labels_response.rb | Ruby | mit | 308 | main | 476 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class FulfillmentInboundV0
# The response schema for the getLabels operation.
GetLabelsResponse = Structure.new do
# @return [Array<Error>]
attribute?(:errors, [Error]... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/fulfillment_inbound_v0/invalid_sku_list.rb | Ruby | mit | 308 | main | 415 | # frozen_string_literal: true
# This file is generated. Edit template if necessary.
module Peddler
module APIs
class FulfillmentInboundV0
# A list of invalid SKU values and the reason they are invalid.
class InvalidSKUList < Array
class << self
def parse(array)
new(arra... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/fulfillment_inbound_v0/error_list.rb | Ruby | mit | 308 | main | 410 | # frozen_string_literal: true
# This file is generated. Edit template if necessary.
module Peddler
module APIs
class FulfillmentInboundV0
# A list of error responses returned when a request is unsuccessful.
class ErrorList < Array
class << self
def parse(array)
new(arra... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/fulfillment_inbound_v0/inbound_shipment_info.rb | Ruby | mit | 308 | main | 2,094 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class FulfillmentInboundV0
# Information about the seller's inbound shipments. Returned by the listInboundShipments operation.
InboundShipmentInfo = Structure.new do
# @return... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/fulfillment_inbound_v0/address.rb | Ruby | mit | 308 | main | 1,821 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class FulfillmentInboundV0
# Specific details to identify a place.
Address = Structure.new do
# @return [String] The street address information.
attribute(:address_lin... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/fulfillment_inbound_v0/error.rb | Ruby | mit | 308 | main | 698 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class FulfillmentInboundV0
# Error response returned when the request is unsuccessful.
Error = Structure.new do
# @return [String] An error code that identifies the type of er... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/fulfillment_inbound_v0/label_download_url.rb | Ruby | mit | 308 | main | 436 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class FulfillmentInboundV0
# Download URL for a label
LabelDownloadURL = Structure.new do
# @return [String] URL to download the label for the package. Note: The URL will only... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/fulfillment_inbound_v0/inbound_shipment_item_list.rb | Ruby | mit | 308 | main | 416 | # frozen_string_literal: true
# This file is generated. Edit template if necessary.
module Peddler
module APIs
class FulfillmentInboundV0
# A list of inbound shipment item information.
class InboundShipmentItemList < Array
class << self
def parse(array)
new(array.map { ... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/fulfillment_inbound_v0/prep_details_list.rb | Ruby | mit | 308 | main | 435 | # frozen_string_literal: true
# This file is generated. Edit template if necessary.
module Peddler
module APIs
class FulfillmentInboundV0
# A list of preparation instructions and who is responsible for that preparation.
class PrepDetailsList < Array
class << self
def parse(array)
... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/fulfillment_inbound_v0/sku_prep_instructions_list.rb | Ruby | mit | 308 | main | 442 | # frozen_string_literal: true
# This file is generated. Edit template if necessary.
module Peddler
module APIs
class FulfillmentInboundV0
# A list of SKU labeling requirements and item preparation instructions.
class SKUPrepInstructionsList < Array
class << self
def parse(array)
... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/fulfillment_inbound_v0/prep_instruction_list.rb | Ruby | mit | 308 | main | 393 | # frozen_string_literal: true
# This file is generated. Edit template if necessary.
module Peddler
module APIs
class FulfillmentInboundV0
# A list of preparation instructions to help with item sourcing decisions.
class PrepInstructionList < Array
class << self
def parse(array)
... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/fulfillment_inbound_v0/asin_prep_instructions_list.rb | Ruby | mit | 308 | main | 414 | # frozen_string_literal: true
# This file is generated. Edit template if necessary.
module Peddler
module APIs
class FulfillmentInboundV0
# A list of item preparation instructions.
class ASINPrepInstructionsList < Array
class << self
def parse(array)
new(array.map { |it... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/fulfillment_inbound_v0/invalid_asin_list.rb | Ruby | mit | 308 | main | 419 | # frozen_string_literal: true
# This file is generated. Edit template if necessary.
module Peddler
module APIs
class FulfillmentInboundV0
# A list of invalid ASIN values and the reasons they are invalid.
class InvalidASINList < Array
class << self
def parse(array)
new(a... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/fulfillment_inbound_v0/amount.rb | Ruby | mit | 308 | main | 444 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class FulfillmentInboundV0
# The monetary value.
Amount = Structure.new do
# @return [String]
attribute(:currency_code, String, null: false, from: "CurrencyCode")
... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/fulfillment_inbound_v0/box_contents_fee_details.rb | Ruby | mit | 308 | main | 680 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class FulfillmentInboundV0
# The manual processing fee per unit and total fee for a shipment.
BoxContentsFeeDetails = Structure.new do
# @return [Amount] The manual processing... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.