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.



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

def address
  @address
end

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

Returns the value of attribute distance.



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

def distance
  @distance
end

#map_url ⇒ String? (readonly)

Returns the value of attribute map_url.

Returns:

  • (String, nil)


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

def map_url
  @map_url
end

Class Method Details

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



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

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


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

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

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



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

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:



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

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


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

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

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



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

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