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

#elevationString? (readonly)

Returns the value of attribute elevation.

Returns:

  • (String, nil)


285
286
287
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 285

def elevation
  @elevation
end

#latitudeString (readonly)

Returns the value of attribute latitude.

Returns:

  • (String)


286
287
288
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 286

def latitude
  @latitude
end

#longitudeString (readonly)

Returns the value of attribute longitude.

Returns:

  • (String)


287
288
289
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 287

def longitude
  @longitude
end

Class Method Details

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

Overloads:



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

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


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

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

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

Overloads:



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

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

.parsePeddler::APIs::ExternalFulfillmentShipments20240911::Geocodes

Parameters:

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

Returns:



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

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

Instance Method Details

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

Returns:

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


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

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

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

Returns:

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


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

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