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

#value ⇒ String (readonly)

Returns the value of attribute value.

Returns:

  • (String)


1083
1084
1085
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 1083

def value
  @value
end

#weight_unit ⇒ String (readonly)

Returns the value of attribute weight_unit.

Returns:

  • (String)


1084
1085
1086
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 1084

def weight_unit
  @weight_unit
end

Class Method Details

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

Overloads:



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

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


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

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

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

Overloads:



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

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

.parse ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Weight

Parameters:

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

Returns:



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

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

Instance Method Details

#members ⇒ [ :value, :weight_unit ]

Returns:

  • ([ :value, :weight_unit ])


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

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

#to_h ⇒ { value: String, weight_unit: String }

Returns:

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


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

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