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_name ⇒ String? (readonly)

Returns the value of attribute carrier_name.

Returns:

  • (String, nil)


973
974
975
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 973

def carrier_name
  @carrier_name
end

#handover_location ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::HandoverLocation? (readonly)

Returns the value of attribute handover_location.



974
975
976
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 974

def handover_location
  @handover_location
end

#pickup_window ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow? (readonly)

Returns the value of attribute pickup_window.



975
976
977
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 975

def pickup_window
  @pickup_window
end

#ship_by ⇒ String (readonly)

Returns the value of attribute ship_by.

Returns:

  • (String)


976
977
978
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 976

def ship_by
  @ship_by
end

#shipping_option_id ⇒ String (readonly)

Returns the value of attribute shipping_option_id.

Returns:

  • (String)


977
978
979
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 977

def shipping_option_id
  @shipping_option_id
end

#time_slot ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow? (readonly)

Returns the value of attribute time_slot.



978
979
980
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 978

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



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

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


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

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



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

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

.parse ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::ShippingOptions

Parameters:

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

Returns:



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

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


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

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:



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

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? }