Class: Peddler::APIs::ExternalFulfillmentShipments20240911::ShipLabelMetadata

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)


761
762
763
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 761

def carrier_name
  @carrier_name
end

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

Returns the value of attribute handover_location.



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

def handover_location
  @handover_location
end

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

Returns the value of attribute pickup_window.



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

def pickup_window
  @pickup_window
end

#shipping_option_id ⇒ String? (readonly)

Returns the value of attribute shipping_option_id.

Returns:

  • (String, nil)


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

def shipping_option_id
  @shipping_option_id
end

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

Returns the value of attribute time_slot.



765
766
767
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 765

def time_slot
  @time_slot
end

#tracking_id ⇒ String (readonly)

Returns the value of attribute tracking_id.

Returns:

  • (String)


766
767
768
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 766

def tracking_id
  @tracking_id
end

Class Method Details

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



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

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

.members ⇒ [ :carrier_name, :tracking_id, :handover_location, :pickup_window, :shipping_option_id, :time_slot ]

Returns:

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


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

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

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

Overloads:



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

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

.parse ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::ShipLabelMetadata

Parameters:

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

Returns:



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

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

Instance Method Details

#members ⇒ [ :carrier_name, :tracking_id, :handover_location, :pickup_window, :shipping_option_id, :time_slot ]

Returns:

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


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

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

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

Returns:



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

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