Class: Peddler::APIs::ExternalFulfillmentShipments20240911::Geocodes

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

#elevation ⇒ Float? (readonly)

Returns the value of attribute elevation.

Returns:

  • (Float, nil)


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

def elevation
  @elevation
end

#latitude ⇒ Float (readonly)

Returns the value of attribute latitude.

Returns:

  • (Float)


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

def latitude
  @latitude
end

#longitude ⇒ Float (readonly)

Returns the value of attribute longitude.

Returns:

  • (Float)


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

def longitude
  @longitude
end

Class Method Details

.[](latitude:, longitude:, elevation:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Geocodes .[](arg0, arg1, arg2) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Geocodes

Overloads:



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

def self.[]: (latitude: Float, longitude: Float, ?elevation: Float?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Geocodes
| (Float, Float, Float?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Geocodes

.members ⇒ [ :latitude, :longitude, :elevation ]

Returns:

  • ([ :latitude, :longitude, :elevation ])


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

def self.members: () -> [ :latitude, :longitude, :elevation ]

.new(latitude:, longitude:, elevation:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Geocodes .new(arg0, arg1, arg2) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Geocodes

Overloads:



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

def self.new: (latitude: Float, longitude: Float, ?elevation: Float?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Geocodes
| (Float, Float, Float?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Geocodes

.parse ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Geocodes

Parameters:

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

Returns:



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

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

Instance Method Details

#members ⇒ [ :latitude, :longitude, :elevation ]

Returns:

  • ([ :latitude, :longitude, :elevation ])


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

def members: () -> [ :latitude, :longitude, :elevation ]

#to_h ⇒ { latitude: Float, longitude: Float, elevation: Float? }

Returns:

  • ({ latitude: Float, longitude: Float, elevation: Float? })


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

def to_h: () -> { latitude: Float, longitude: Float, elevation: Float? }