Class: Peddler::APIs::VendorShipmentsV1::Stop

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#arrival_timeTime? (readonly)

Returns the value of attribute arrival_time.

Returns:

  • (Time, nil)


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

def arrival_time
  @arrival_time
end

#departure_timeTime? (readonly)

Returns the value of attribute departure_time.

Returns:

  • (Time, nil)


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

def departure_time
  @departure_time
end

#function_codeString (readonly)

Returns the value of attribute function_code.

Returns:

  • (String)


755
756
757
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 755

def function_code
  @function_code
end

#location_identificationPeddler::APIs::VendorShipmentsV1::Location? (readonly)

Returns the value of attribute location_identification.



756
757
758
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 756

def location_identification
  @location_identification
end

Class Method Details

.[](function_code:, arrival_time:, departure_time:, location_identification:) ⇒ Peddler::APIs::VendorShipmentsV1::Stop .[](arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::VendorShipmentsV1::Stop

Overloads:



746
747
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 746

def self.[]: (function_code: String, ?arrival_time: Time?, ?departure_time: Time?, ?location_identification: Peddler::APIs::VendorShipmentsV1::Location?) -> Peddler::APIs::VendorShipmentsV1::Stop
| (String, Time?, Time?, Peddler::APIs::VendorShipmentsV1::Location?) -> Peddler::APIs::VendorShipmentsV1::Stop

.members[ :function_code, :arrival_time, :departure_time, :location_identification ]

Returns:

  • ([ :function_code, :arrival_time, :departure_time, :location_identification ])


749
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 749

def self.members: () -> [ :function_code, :arrival_time, :departure_time, :location_identification ]

.new(function_code:, arrival_time:, departure_time:, location_identification:) ⇒ Peddler::APIs::VendorShipmentsV1::Stop .new(arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::VendorShipmentsV1::Stop

Overloads:



744
745
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 744

def self.new: (function_code: String, ?arrival_time: Time?, ?departure_time: Time?, ?location_identification: Peddler::APIs::VendorShipmentsV1::Location?) -> Peddler::APIs::VendorShipmentsV1::Stop
| (String, Time?, Time?, Peddler::APIs::VendorShipmentsV1::Location?) -> Peddler::APIs::VendorShipmentsV1::Stop

.parsePeddler::APIs::VendorShipmentsV1::Stop

Parameters:

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

Returns:



751
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 751

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

Instance Method Details

#members[ :function_code, :arrival_time, :departure_time, :location_identification ]

Returns:

  • ([ :function_code, :arrival_time, :departure_time, :location_identification ])


758
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 758

def members: () -> [ :function_code, :arrival_time, :departure_time, :location_identification ]

#to_h{ function_code: String, arrival_time: Time?, departure_time: Time?, location_identification: Peddler::APIs::VendorShipmentsV1::Location? }

Returns:



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

def to_h: () -> { function_code: String, arrival_time: Time?, departure_time: Time?, location_identification: Peddler::APIs::VendorShipmentsV1::Location? }