Class: Peddler::APIs::FulfillmentOutbound20200701::Amount

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#unit_of_measureString (readonly)

Returns the value of attribute unit_of_measure.

Returns:

  • (String)


39
40
41
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 39

def unit_of_measure
  @unit_of_measure
end

#valueString (readonly)

Returns the value of attribute value.

Returns:

  • (String)


40
41
42
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 40

def value
  @value
end

Class Method Details

.[](unit_of_measure:, value:) ⇒ Peddler::APIs::FulfillmentOutbound20200701::Amount .[](arg0, arg1) ⇒ Peddler::APIs::FulfillmentOutbound20200701::Amount

Overloads:



32
33
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 32

def self.[]: (unit_of_measure: String, value: String) -> Peddler::APIs::FulfillmentOutbound20200701::Amount
| (String, String) -> Peddler::APIs::FulfillmentOutbound20200701::Amount

.members[ :unit_of_measure, :value ]

Returns:

  • ([ :unit_of_measure, :value ])


35
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 35

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

.new(unit_of_measure:, value:) ⇒ Peddler::APIs::FulfillmentOutbound20200701::Amount .new(arg0, arg1) ⇒ Peddler::APIs::FulfillmentOutbound20200701::Amount

Overloads:



30
31
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 30

def self.new: (unit_of_measure: String, value: String) -> Peddler::APIs::FulfillmentOutbound20200701::Amount
| (String, String) -> Peddler::APIs::FulfillmentOutbound20200701::Amount

.parsePeddler::APIs::FulfillmentOutbound20200701::Amount

Parameters:

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

Returns:



37
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 37

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

Instance Method Details

#members[ :unit_of_measure, :value ]

Returns:

  • ([ :unit_of_measure, :value ])


42
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 42

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

#to_h{ unit_of_measure: String, value: String }

Returns:

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


43
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 43

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