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

#address ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Address? (readonly)

Returns the value of attribute address.



361
362
363
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 361

def address
  @address
end

#distance ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Distance? (readonly)

Returns the value of attribute distance.



362
363
364
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 362

def distance
  @distance
end

#map_url ⇒ String? (readonly)

Returns the value of attribute map_url.

Returns:

  • (String, nil)


363
364
365
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 363

def map_url
  @map_url
end

Class Method Details

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



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

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


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

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

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



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

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

.parse ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::HandoverLocation

Parameters:

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

Returns:



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

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


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

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

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



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

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