Class: Peddler::APIs::FulfillmentInboundV0::Amount
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::FulfillmentInboundV0::Amount
- Defined in:
- sig/peddler/apis/fulfillment_inbound_v0.rbs
Instance Attribute Summary collapse
-
#currency_code ⇒ String
readonly
Returns the value of attribute currency_code.
-
#value ⇒ Float
readonly
Returns the value of attribute value.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :currency_code, :value ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::FulfillmentInboundV0::Amount
Instance Method Summary collapse
Instance Attribute Details
#currency_code ⇒ String (readonly)
Returns the value of attribute currency_code.
81 82 83 |
# File 'sig/peddler/apis/fulfillment_inbound_v0.rbs', line 81 def currency_code @currency_code end |
#value ⇒ Float (readonly)
Returns the value of attribute value.
82 83 84 |
# File 'sig/peddler/apis/fulfillment_inbound_v0.rbs', line 82 def value @value end |
Class Method Details
.[](currency_code:, value:) ⇒ Peddler::APIs::FulfillmentInboundV0::Amount .[](arg0, arg1) ⇒ Peddler::APIs::FulfillmentInboundV0::Amount
74 75 |
# File 'sig/peddler/apis/fulfillment_inbound_v0.rbs', line 74
def self.[]: (currency_code: String, value: Float) -> Peddler::APIs::FulfillmentInboundV0::Amount
| (String, Float) -> Peddler::APIs::FulfillmentInboundV0::Amount
|
.members ⇒ [ :currency_code, :value ]
77 |
# File 'sig/peddler/apis/fulfillment_inbound_v0.rbs', line 77
def self.members: () -> [ :currency_code, :value ]
|
.new(currency_code:, value:) ⇒ Peddler::APIs::FulfillmentInboundV0::Amount .new(arg0, arg1) ⇒ Peddler::APIs::FulfillmentInboundV0::Amount
72 73 |
# File 'sig/peddler/apis/fulfillment_inbound_v0.rbs', line 72
def self.new: (currency_code: String, value: Float) -> Peddler::APIs::FulfillmentInboundV0::Amount
| (String, Float) -> Peddler::APIs::FulfillmentInboundV0::Amount
|
.parse ⇒ Peddler::APIs::FulfillmentInboundV0::Amount
79 |
# File 'sig/peddler/apis/fulfillment_inbound_v0.rbs', line 79
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::FulfillmentInboundV0::Amount
|
Instance Method Details
#members ⇒ [ :currency_code, :value ]
84 |
# File 'sig/peddler/apis/fulfillment_inbound_v0.rbs', line 84
def members: () -> [ :currency_code, :value ]
|
#to_h ⇒ { currency_code: String, value: Float }
85 |
# File 'sig/peddler/apis/fulfillment_inbound_v0.rbs', line 85
def to_h: () -> { currency_code: String, value: Float }
|