Class: Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingOptions

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#carrier_nameString? (readonly)

Returns the value of attribute carrier_name.

Returns:

  • (String, nil)


861
862
863
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 861

def carrier_name
  @carrier_name
end

#pickup_windowPeddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow? (readonly)

Returns the value of attribute pickup_window.



862
863
864
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 862

def pickup_window
  @pickup_window
end

#ship_byString (readonly)

Returns the value of attribute ship_by.

Returns:

  • (String)


863
864
865
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 863

def ship_by
  @ship_by
end

#shipping_option_idString (readonly)

Returns the value of attribute shipping_option_id.

Returns:

  • (String)


864
865
866
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 864

def shipping_option_id
  @shipping_option_id
end

#time_slotPeddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow? (readonly)

Returns the value of attribute time_slot.



865
866
867
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 865

def time_slot
  @time_slot
end

Class Method Details

.[](ship_by:, shipping_option_id:, carrier_name:, pickup_window:, time_slot:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingOptions .[](arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingOptions

Overloads:



854
855
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 854

def self.[]: (ship_by: String, shipping_option_id: String, ?carrier_name: String?, ?pickup_window: Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow?, ?time_slot: Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingOptions
| (String, String, String?, Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow?, Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingOptions

.members[ :ship_by, :shipping_option_id, :carrier_name, :pickup_window, :time_slot ]

Returns:

  • ([ :ship_by, :shipping_option_id, :carrier_name, :pickup_window, :time_slot ])


857
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 857

def self.members: () -> [ :ship_by, :shipping_option_id, :carrier_name, :pickup_window, :time_slot ]

.new(ship_by:, shipping_option_id:, carrier_name:, pickup_window:, time_slot:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingOptions .new(arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingOptions

Overloads:



852
853
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 852

def self.new: (ship_by: String, shipping_option_id: String, ?carrier_name: String?, ?pickup_window: Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow?, ?time_slot: Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingOptions
| (String, String, String?, Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow?, Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingOptions

.parsePeddler::APIs::ExternalFulfillmentShipments20240911::ShippingOptions

Parameters:

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

Returns:



859
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 859

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

Instance Method Details

#members[ :ship_by, :shipping_option_id, :carrier_name, :pickup_window, :time_slot ]

Returns:

  • ([ :ship_by, :shipping_option_id, :carrier_name, :pickup_window, :time_slot ])


867
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 867

def members: () -> [ :ship_by, :shipping_option_id, :carrier_name, :pickup_window, :time_slot ]

#to_h{ ship_by: String, shipping_option_id: String, carrier_name: String?, pickup_window: Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow?, time_slot: Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow? }

Returns:



868
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 868

def to_h: () -> { ship_by: String, shipping_option_id: String, carrier_name: String?, pickup_window: Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow?, time_slot: Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow? }