Class: Peddler::APIs::ExternalFulfillmentShipments20240911::Amount
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ExternalFulfillmentShipments20240911::Amount
- Defined in:
- sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs
Instance Attribute Summary collapse
-
#currency_code ⇒ String
readonly
Returns the value of attribute currency_code.
-
#value ⇒ String
readonly
Returns the value of attribute value.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :currency_code, :value ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Amount
Instance Method Summary collapse
Instance Attribute Details
#currency_code ⇒ String (readonly)
Returns the value of attribute currency_code.
43 44 45 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 43 def currency_code @currency_code end |
#value ⇒ String (readonly)
Returns the value of attribute value.
44 45 46 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 44 def value @value end |
Class Method Details
.[](currency_code:, value:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Amount .[](arg0, arg1) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Amount
36 37 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 36
def self.[]: (currency_code: String, value: String) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Amount
| (String, String) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Amount
|
.members ⇒ [ :currency_code, :value ]
39 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 39
def self.members: () -> [ :currency_code, :value ]
|
.new(currency_code:, value:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Amount .new(arg0, arg1) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Amount
34 35 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 34
def self.new: (currency_code: String, value: String) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Amount
| (String, String) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Amount
|
.parse ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Amount
41 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 41
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ExternalFulfillmentShipments20240911::Amount
|
Instance Method Details
#members ⇒ [ :currency_code, :value ]
46 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 46
def members: () -> [ :currency_code, :value ]
|
#to_h ⇒ { currency_code: String, value: String }
47 |
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 47
def to_h: () -> { currency_code: String, value: String }
|