Class: Peddler::APIs::ExternalFulfillmentShipments20240911::Weight

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

#valueString (readonly)

Returns the value of attribute value.

Returns:

  • (String)


953
954
955
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 953

def value
  @value
end

#weight_unitString (readonly)

Returns the value of attribute weight_unit.

Returns:

  • (String)


954
955
956
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 954

def weight_unit
  @weight_unit
end

Class Method Details

.[](value:, weight_unit:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Weight .[](arg0, arg1) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Weight

Overloads:



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

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

.members[ :value, :weight_unit ]

Returns:

  • ([ :value, :weight_unit ])


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

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

.new(value:, weight_unit:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Weight .new(arg0, arg1) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Weight

Overloads:



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

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

.parsePeddler::APIs::ExternalFulfillmentShipments20240911::Weight

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :value, :weight_unit ]

Returns:

  • ([ :value, :weight_unit ])


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

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

#to_h{ value: String, weight_unit: String }

Returns:

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


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

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