Class: Peddler::APIs::FulfillmentInbound20240320::GenerateTransportationOptionsRequest

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#placement_option_idString (readonly)

Returns the value of attribute placement_option_id.

Returns:

  • (String)


763
764
765
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 763

def placement_option_id
  @placement_option_id
end

#shipment_transportation_configurationsArray[Peddler::APIs::FulfillmentInbound20240320::ShipmentTransportationConfiguration] (readonly)

Returns the value of attribute shipment_transportation_configurations.



764
765
766
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 764

def shipment_transportation_configurations
  @shipment_transportation_configurations
end

Class Method Details

.[](placement_option_id:, shipment_transportation_configurations:) ⇒ Peddler::APIs::FulfillmentInbound20240320::GenerateTransportationOptionsRequest .[](arg0, arg1) ⇒ Peddler::APIs::FulfillmentInbound20240320::GenerateTransportationOptionsRequest



756
757
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 756

def self.[]: (placement_option_id: String, shipment_transportation_configurations: Array[Peddler::APIs::FulfillmentInbound20240320::ShipmentTransportationConfiguration]) -> Peddler::APIs::FulfillmentInbound20240320::GenerateTransportationOptionsRequest
| (String, Array[Peddler::APIs::FulfillmentInbound20240320::ShipmentTransportationConfiguration]) -> Peddler::APIs::FulfillmentInbound20240320::GenerateTransportationOptionsRequest

.members[ :placement_option_id, :shipment_transportation_configurations ]

Returns:

  • ([ :placement_option_id, :shipment_transportation_configurations ])


759
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 759

def self.members: () -> [ :placement_option_id, :shipment_transportation_configurations ]

.new(placement_option_id:, shipment_transportation_configurations:) ⇒ Peddler::APIs::FulfillmentInbound20240320::GenerateTransportationOptionsRequest .new(arg0, arg1) ⇒ Peddler::APIs::FulfillmentInbound20240320::GenerateTransportationOptionsRequest



754
755
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 754

def self.new: (placement_option_id: String, shipment_transportation_configurations: Array[Peddler::APIs::FulfillmentInbound20240320::ShipmentTransportationConfiguration]) -> Peddler::APIs::FulfillmentInbound20240320::GenerateTransportationOptionsRequest
| (String, Array[Peddler::APIs::FulfillmentInbound20240320::ShipmentTransportationConfiguration]) -> Peddler::APIs::FulfillmentInbound20240320::GenerateTransportationOptionsRequest

.parsePeddler::APIs::FulfillmentInbound20240320::GenerateTransportationOptionsRequest

Parameters:

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

Returns:



761
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 761

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

Instance Method Details

#members[ :placement_option_id, :shipment_transportation_configurations ]

Returns:

  • ([ :placement_option_id, :shipment_transportation_configurations ])


766
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 766

def members: () -> [ :placement_option_id, :shipment_transportation_configurations ]

#to_h{ placement_option_id: String, shipment_transportation_configurations: Array[Peddler::APIs::FulfillmentInbound20240320::ShipmentTransportationConfiguration] }

Returns:



767
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 767

def to_h: () -> { placement_option_id: String, shipment_transportation_configurations: Array[Peddler::APIs::FulfillmentInbound20240320::ShipmentTransportationConfiguration] }