Class: Peddler::APIs::ExternalFulfillmentShipments20240911::HandoverLocation

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

#addressPeddler::APIs::ExternalFulfillmentShipments20240911::Address? (readonly)

Returns the value of attribute address.



322
323
324
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 322

def address
  @address
end

#distancePeddler::APIs::ExternalFulfillmentShipments20240911::Distance? (readonly)

Returns the value of attribute distance.



323
324
325
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 323

def distance
  @distance
end

#map_urlString? (readonly)

Returns the value of attribute map_url.

Returns:

  • (String, nil)


324
325
326
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 324

def map_url
  @map_url
end

Class Method Details

.[](address:, distance:, map_url:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::HandoverLocation .[](arg0, arg1, arg2) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::HandoverLocation



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

def self.[]: (?address: Peddler::APIs::ExternalFulfillmentShipments20240911::Address?, ?distance: Peddler::APIs::ExternalFulfillmentShipments20240911::Distance?, ?map_url: String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::HandoverLocation
| (Peddler::APIs::ExternalFulfillmentShipments20240911::Address?, Peddler::APIs::ExternalFulfillmentShipments20240911::Distance?, String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::HandoverLocation

.members[ :address, :distance, :map_url ]

Returns:

  • ([ :address, :distance, :map_url ])


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

def self.members: () -> [ :address, :distance, :map_url ]

.new(address:, distance:, map_url:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::HandoverLocation .new(arg0, arg1, arg2) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::HandoverLocation



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

def self.new: (?address: Peddler::APIs::ExternalFulfillmentShipments20240911::Address?, ?distance: Peddler::APIs::ExternalFulfillmentShipments20240911::Distance?, ?map_url: String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::HandoverLocation
| (Peddler::APIs::ExternalFulfillmentShipments20240911::Address?, Peddler::APIs::ExternalFulfillmentShipments20240911::Distance?, String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::HandoverLocation

.parsePeddler::APIs::ExternalFulfillmentShipments20240911::HandoverLocation

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :address, :distance, :map_url ]

Returns:

  • ([ :address, :distance, :map_url ])


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

def members: () -> [ :address, :distance, :map_url ]

#to_h{ address: Peddler::APIs::ExternalFulfillmentShipments20240911::Address?, distance: Peddler::APIs::ExternalFulfillmentShipments20240911::Distance?, map_url: String? }



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

def to_h: () -> { address: Peddler::APIs::ExternalFulfillmentShipments20240911::Address?, distance: Peddler::APIs::ExternalFulfillmentShipments20240911::Distance?, map_url: String? }