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)


1010
1011
1012
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 1010

def value
  @value
end

#weight_unitString (readonly)

Returns the value of attribute weight_unit.

Returns:

  • (String)


1011
1012
1013
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 1011

def weight_unit
  @weight_unit
end

Class Method Details

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

Overloads:



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

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


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

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

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

Overloads:



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

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:



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

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

Instance Method Details

#members[ :value, :weight_unit ]

Returns:

  • ([ :value, :weight_unit ])


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

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

#to_h{ value: String, weight_unit: String }

Returns:

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


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

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