Class: Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrder

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#confirmed_onTime? (readonly)

Returns the value of attribute confirmed_on.

Returns:

  • (Time, nil)


535
536
537
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 535

def confirmed_on
  @confirmed_on
end

#created_atTime? (readonly)

Returns the value of attribute created_at.

Returns:

  • (Time, nil)


536
537
538
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 536

def created_at
  @created_at
end

#eligible_packages_to_outboundArray[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]? (readonly)

Returns the value of attribute eligible_packages_to_outbound.



537
538
539
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 537

def eligible_packages_to_outbound
  @eligible_packages_to_outbound
end

#eligible_products_to_outboundArray[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]? (readonly)

Returns the value of attribute eligible_products_to_outbound.



538
539
540
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 538

def eligible_products_to_outbound
  @eligible_products_to_outbound
end

#execution_errorsArray[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundExecutionError]? (readonly)

Returns the value of attribute execution_errors.



539
540
541
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 539

def execution_errors
  @execution_errors
end

#order_idString (readonly)

Returns the value of attribute order_id.

Returns:

  • (String)


540
541
542
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 540

def order_id
  @order_id
end

#order_preferencesArray[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OrderAttribute]? (readonly)

Returns the value of attribute order_preferences.



541
542
543
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 541

def order_preferences
  @order_preferences
end

#order_statusString (readonly)

Returns the value of attribute order_status.

Returns:

  • (String)


542
543
544
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 542

def order_status
  @order_status
end

#outbound_shipmentsArray[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundShipment] (readonly)

Returns the value of attribute outbound_shipments.



543
544
545
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 543

def outbound_shipments
  @outbound_shipments
end

#packages_to_outboundArray[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]? (readonly)

Returns the value of attribute packages_to_outbound.



544
545
546
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 544

def packages_to_outbound
  @packages_to_outbound
end

#products_to_outboundArray[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]? (readonly)

Returns the value of attribute products_to_outbound.



545
546
547
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 545

def products_to_outbound
  @products_to_outbound
end

#shipped_outbound_packagesArray[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]? (readonly)

Returns the value of attribute shipped_outbound_packages.



546
547
548
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 546

def shipped_outbound_packages
  @shipped_outbound_packages
end

#shipped_outbound_productsArray[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]? (readonly)

Returns the value of attribute shipped_outbound_products.



547
548
549
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 547

def shipped_outbound_products
  @shipped_outbound_products
end

#updated_atTime? (readonly)

Returns the value of attribute updated_at.

Returns:

  • (Time, nil)


548
549
550
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 548

def updated_at
  @updated_at
end

Class Method Details

.[](order_id:, order_status:, outbound_shipments:, confirmed_on:, created_at:, eligible_packages_to_outbound:, eligible_products_to_outbound:, execution_errors:, order_preferences:, packages_to_outbound:, products_to_outbound:, shipped_outbound_packages:, shipped_outbound_products:, updated_at:) ⇒ Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrder .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13) ⇒ Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrder

Overloads:



528
529
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 528

def self.[]: (order_id: String, order_status: String, outbound_shipments: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundShipment], ?confirmed_on: Time?, ?created_at: Time?, ?eligible_packages_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, ?eligible_products_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, ?execution_errors: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundExecutionError]?, ?order_preferences: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OrderAttribute]?, ?packages_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, ?products_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, ?shipped_outbound_packages: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, ?shipped_outbound_products: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, ?updated_at: Time?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrder
| (String, String, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundShipment], Time?, Time?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundExecutionError]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OrderAttribute]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, Time?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrder

.members[ :order_id, :order_status, :outbound_shipments, :confirmed_on, :created_at, :eligible_packages_to_outbound, :eligible_products_to_outbound, :execution_errors, :order_preferences, :packages_to_outbound, :products_to_outbound, :shipped_outbound_packages, :shipped_outbound_products, :updated_at ]

Returns:

  • ([ :order_id, :order_status, :outbound_shipments, :confirmed_on, :created_at, :eligible_packages_to_outbound, :eligible_products_to_outbound, :execution_errors, :order_preferences, :packages_to_outbound, :products_to_outbound, :shipped_outbound_packages, :shipped_outbound_products, :updated_at ])


531
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 531

def self.members: () -> [ :order_id, :order_status, :outbound_shipments, :confirmed_on, :created_at, :eligible_packages_to_outbound, :eligible_products_to_outbound, :execution_errors, :order_preferences, :packages_to_outbound, :products_to_outbound, :shipped_outbound_packages, :shipped_outbound_products, :updated_at ]

.new(order_id:, order_status:, outbound_shipments:, confirmed_on:, created_at:, eligible_packages_to_outbound:, eligible_products_to_outbound:, execution_errors:, order_preferences:, packages_to_outbound:, products_to_outbound:, shipped_outbound_packages:, shipped_outbound_products:, updated_at:) ⇒ Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrder .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13) ⇒ Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrder

Overloads:



526
527
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 526

def self.new: (order_id: String, order_status: String, outbound_shipments: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundShipment], ?confirmed_on: Time?, ?created_at: Time?, ?eligible_packages_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, ?eligible_products_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, ?execution_errors: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundExecutionError]?, ?order_preferences: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OrderAttribute]?, ?packages_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, ?products_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, ?shipped_outbound_packages: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, ?shipped_outbound_products: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, ?updated_at: Time?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrder
| (String, String, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundShipment], Time?, Time?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundExecutionError]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OrderAttribute]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, Time?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrder

.parsePeddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrder

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



533
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 533

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundOrder

Instance Method Details

#members[ :order_id, :order_status, :outbound_shipments, :confirmed_on, :created_at, :eligible_packages_to_outbound, :eligible_products_to_outbound, :execution_errors, :order_preferences, :packages_to_outbound, :products_to_outbound, :shipped_outbound_packages, :shipped_outbound_products, :updated_at ]

Returns:

  • ([ :order_id, :order_status, :outbound_shipments, :confirmed_on, :created_at, :eligible_packages_to_outbound, :eligible_products_to_outbound, :execution_errors, :order_preferences, :packages_to_outbound, :products_to_outbound, :shipped_outbound_packages, :shipped_outbound_products, :updated_at ])


550
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 550

def members: () -> [ :order_id, :order_status, :outbound_shipments, :confirmed_on, :created_at, :eligible_packages_to_outbound, :eligible_products_to_outbound, :execution_errors, :order_preferences, :packages_to_outbound, :products_to_outbound, :shipped_outbound_packages, :shipped_outbound_products, :updated_at ]

#to_h{ order_id: String, order_status: String, outbound_shipments: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundShipment], confirmed_on: Time?, created_at: Time?, eligible_packages_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, eligible_products_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, execution_errors: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundExecutionError]?, order_preferences: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OrderAttribute]?, packages_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, products_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, shipped_outbound_packages: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, shipped_outbound_products: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, updated_at: Time? }



551
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 551

def to_h: () -> { order_id: String, order_status: String, outbound_shipments: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundShipment], confirmed_on: Time?, created_at: Time?, eligible_packages_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, eligible_products_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, execution_errors: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OutboundExecutionError]?, order_preferences: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::OrderAttribute]?, packages_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, products_to_outbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, shipped_outbound_packages: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity]?, shipped_outbound_products: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::ProductQuantity]?, updated_at: Time? }