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_nameString (readonly)

Returns the value of attribute carrier_name.

Returns:

  • (String)


651
652
653
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 651

def carrier_name
  @carrier_name
end

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

Returns the value of attribute pickup_window.



652
653
654
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 652

def pickup_window
  @pickup_window
end

#shipping_option_idString? (readonly)

Returns the value of attribute shipping_option_id.

Returns:

  • (String, nil)


653
654
655
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 653

def shipping_option_id
  @shipping_option_id
end

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

Returns the value of attribute time_slot.



654
655
656
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 654

def time_slot
  @time_slot
end

#tracking_idString (readonly)

Returns the value of attribute tracking_id.

Returns:

  • (String)


655
656
657
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 655

def tracking_id
  @tracking_id
end

Class Method Details

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

Overloads:



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

def self.[]: (carrier_name: String, tracking_id: String, ?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::TimeWindow?, String?, Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShipLabelMetadata

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

Returns:

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


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

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

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

Overloads:



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

def self.new: (carrier_name: String, tracking_id: String, ?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::TimeWindow?, String?, Peddler::APIs::ExternalFulfillmentShipments20240911::TimeWindow?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::ShipLabelMetadata

.parsePeddler::APIs::ExternalFulfillmentShipments20240911::ShipLabelMetadata

Parameters:

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

Returns:



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

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

Instance Method Details

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

Returns:

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


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

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

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

Returns:



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

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