Class: Peddler::APIs::FulfillmentOutbound20200701::Amount
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::FulfillmentOutbound20200701::Amount
- Defined in:
- sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs
Instance Attribute Summary collapse
-
#unit_of_measure ⇒ String
readonly
Returns the value of attribute unit_of_measure.
-
#value ⇒ String
readonly
Returns the value of attribute value.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :unit_of_measure, :value ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::FulfillmentOutbound20200701::Amount
Instance Method Summary collapse
Instance Attribute Details
#unit_of_measure ⇒ String (readonly)
Returns the value of attribute unit_of_measure.
39 40 41 |
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 39 def unit_of_measure @unit_of_measure end |
#value ⇒ String (readonly)
Returns the value of attribute value.
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
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 ]
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
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
|
.parse ⇒ Peddler::APIs::FulfillmentOutbound20200701::Amount
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 ]
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 }
43 |
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 43
def to_h: () -> { unit_of_measure: String, value: String }
|