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)


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

def placement_option_id
  @placement_option_id
end

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

Returns the value of attribute shipment_transportation_configurations.



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

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



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

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 ])


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

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



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

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:



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

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 ])


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

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

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

Returns:



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

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