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 ⇒ String? (readonly)

Returns the value of attribute elevation.

Returns:

  • (String, nil)


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

def elevation
  @elevation
end

#latitude ⇒ String (readonly)

Returns the value of attribute latitude.

Returns:

  • (String)


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

def latitude
  @latitude
end

#longitude ⇒ String (readonly)

Returns the value of attribute longitude.

Returns:

  • (String)


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

def longitude
  @longitude
end

Class Method Details

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

Overloads:



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

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

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

Returns:

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


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

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

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

Overloads:



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

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

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

Parameters:

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

Returns:



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

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

Instance Method Details

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

Returns:

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


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

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

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

Returns:

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


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

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