Class: Peddler::APIs::MerchantFulfillmentV0::LiquidVolume

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/merchant_fulfillment_v0.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#unitString (readonly)

Returns the value of attribute unit.

Returns:

  • (String)


642
643
644
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 642

def unit
  @unit
end

#valueFloat (readonly)

Returns the value of attribute value.

Returns:

  • (Float)


643
644
645
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 643

def value
  @value
end

Class Method Details

.[](unit:, value:) ⇒ Peddler::APIs::MerchantFulfillmentV0::LiquidVolume .[](arg0, arg1) ⇒ Peddler::APIs::MerchantFulfillmentV0::LiquidVolume

Overloads:



635
636
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 635

def self.[]: (unit: String, value: Float) -> Peddler::APIs::MerchantFulfillmentV0::LiquidVolume
| (String, Float) -> Peddler::APIs::MerchantFulfillmentV0::LiquidVolume

.members[ :unit, :value ]

Returns:

  • ([ :unit, :value ])


638
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 638

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

.new(unit:, value:) ⇒ Peddler::APIs::MerchantFulfillmentV0::LiquidVolume .new(arg0, arg1) ⇒ Peddler::APIs::MerchantFulfillmentV0::LiquidVolume

Overloads:



633
634
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 633

def self.new: (unit: String, value: Float) -> Peddler::APIs::MerchantFulfillmentV0::LiquidVolume
| (String, Float) -> Peddler::APIs::MerchantFulfillmentV0::LiquidVolume

.parsePeddler::APIs::MerchantFulfillmentV0::LiquidVolume

Parameters:

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

Returns:



640
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 640

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

Instance Method Details

#members[ :unit, :value ]

Returns:

  • ([ :unit, :value ])


645
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 645

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

#to_h{ unit: String, value: Float }

Returns:

  • ({ unit: String, value: Float })


646
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 646

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