Class: Peddler::APIs::AmazonWarehousingAndDistribution20240509::InboundOrderCreationData

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

#external_reference_idString? (readonly)

Returns the value of attribute external_reference_id.

Returns:

  • (String, nil)


257
258
259
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 257

def external_reference_id
  @external_reference_id
end

#origin_addressPeddler::APIs::AmazonWarehousingAndDistribution20240509::Address (readonly)

Returns the value of attribute origin_address.



258
259
260
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 258

def origin_address
  @origin_address
end

#packages_to_inboundArray[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity] (readonly)

Returns the value of attribute packages_to_inbound.



259
260
261
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 259

def packages_to_inbound
  @packages_to_inbound
end

#preferencesPeddler::APIs::AmazonWarehousingAndDistribution20240509::InboundPreferences? (readonly)

Returns the value of attribute preferences.



260
261
262
# File 'sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs', line 260

def preferences
  @preferences
end

Class Method Details

.[](origin_address:, packages_to_inbound:, external_reference_id:, preferences:) ⇒ Peddler::APIs::AmazonWarehousingAndDistribution20240509::InboundOrderCreationData .[](arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::AmazonWarehousingAndDistribution20240509::InboundOrderCreationData



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

def self.[]: (origin_address: Peddler::APIs::AmazonWarehousingAndDistribution20240509::Address, packages_to_inbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity], ?external_reference_id: String?, ?preferences: Peddler::APIs::AmazonWarehousingAndDistribution20240509::InboundPreferences?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::InboundOrderCreationData
| (Peddler::APIs::AmazonWarehousingAndDistribution20240509::Address, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity], String?, Peddler::APIs::AmazonWarehousingAndDistribution20240509::InboundPreferences?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::InboundOrderCreationData

.members[ :origin_address, :packages_to_inbound, :external_reference_id, :preferences ]

Returns:

  • ([ :origin_address, :packages_to_inbound, :external_reference_id, :preferences ])


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

def self.members: () -> [ :origin_address, :packages_to_inbound, :external_reference_id, :preferences ]

.new(origin_address:, packages_to_inbound:, external_reference_id:, preferences:) ⇒ Peddler::APIs::AmazonWarehousingAndDistribution20240509::InboundOrderCreationData .new(arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::AmazonWarehousingAndDistribution20240509::InboundOrderCreationData



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

def self.new: (origin_address: Peddler::APIs::AmazonWarehousingAndDistribution20240509::Address, packages_to_inbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity], ?external_reference_id: String?, ?preferences: Peddler::APIs::AmazonWarehousingAndDistribution20240509::InboundPreferences?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::InboundOrderCreationData
| (Peddler::APIs::AmazonWarehousingAndDistribution20240509::Address, Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity], String?, Peddler::APIs::AmazonWarehousingAndDistribution20240509::InboundPreferences?) -> Peddler::APIs::AmazonWarehousingAndDistribution20240509::InboundOrderCreationData

.parsePeddler::APIs::AmazonWarehousingAndDistribution20240509::InboundOrderCreationData

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :origin_address, :packages_to_inbound, :external_reference_id, :preferences ]

Returns:

  • ([ :origin_address, :packages_to_inbound, :external_reference_id, :preferences ])


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

def members: () -> [ :origin_address, :packages_to_inbound, :external_reference_id, :preferences ]

#to_h{ origin_address: Peddler::APIs::AmazonWarehousingAndDistribution20240509::Address, packages_to_inbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity], external_reference_id: String?, preferences: Peddler::APIs::AmazonWarehousingAndDistribution20240509::InboundPreferences? }



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

def to_h: () -> { origin_address: Peddler::APIs::AmazonWarehousingAndDistribution20240509::Address, packages_to_inbound: Array[Peddler::APIs::AmazonWarehousingAndDistribution20240509::DistributionPackageQuantity], external_reference_id: String?, preferences: Peddler::APIs::AmazonWarehousingAndDistribution20240509::InboundPreferences? }