Class: Peddler::APIs::ExternalFulfillmentShipments20240911::Distance

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

#distance_unitString (readonly)

Returns the value of attribute distance_unit.

Returns:

  • (String)


201
202
203
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 201

def distance_unit
  @distance_unit
end

#valueString (readonly)

Returns the value of attribute value.

Returns:

  • (String)


202
203
204
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 202

def value
  @value
end

Class Method Details

.[](distance_unit:, value:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Distance .[](arg0, arg1) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Distance

Overloads:



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

def self.[]: (distance_unit: String, value: String) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Distance
| (String, String) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Distance

.members[ :distance_unit, :value ]

Returns:

  • ([ :distance_unit, :value ])


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

def self.members: () -> [ :distance_unit, :value ]

.new(distance_unit:, value:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Distance .new(arg0, arg1) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Distance

Overloads:



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

def self.new: (distance_unit: String, value: String) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Distance
| (String, String) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Distance

.parsePeddler::APIs::ExternalFulfillmentShipments20240911::Distance

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :distance_unit, :value ]

Returns:

  • ([ :distance_unit, :value ])


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

def members: () -> [ :distance_unit, :value ]

#to_h{ distance_unit: String, value: String }

Returns:

  • ({ distance_unit: String, value: String })


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

def to_h: () -> { distance_unit: String, value: String }