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)


917
918
919
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 917

def carrier_name
  @carrier_name
end

#handover_locationPeddler::APIs::ExternalFulfillmentShipments20240911::HandoverLocation? (readonly)

Returns the value of attribute handover_location.



918
919
920
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 918

def handover_location
  @handover_location
end

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

Returns the value of attribute pickup_window.



919
920
921
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 919

def pickup_window
  @pickup_window
end

#ship_byString (readonly)

Returns the value of attribute ship_by.

Returns:

  • (String)


920
921
922
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 920

def ship_by
  @ship_by
end

#shipping_option_idString (readonly)

Returns the value of attribute shipping_option_id.

Returns:

  • (String)


921
922
923
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 921

def shipping_option_id
  @shipping_option_id
end

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

Returns the value of attribute time_slot.



922
923
924
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 922

def time_slot
  @time_slot
end

Class Method Details

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



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

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

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

Returns:

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


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

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

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



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

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

.parsePeddler::APIs::ExternalFulfillmentShipments20240911::ShippingOptions

Parameters:

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

Returns:



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

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

Instance Method Details

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

Returns:

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


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

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

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

Returns:



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

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