Class: Peddler::APIs::ExternalFulfillmentShipments20240911::Amount

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#currency_codeString (readonly)

Returns the value of attribute currency_code.

Returns:

  • (String)


43
44
45
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 43

def currency_code
  @currency_code
end

#valueString (readonly)

Returns the value of attribute value.

Returns:

  • (String)


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

Overloads:



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 ]

Returns:

  • ([ :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

Overloads:



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

.parsePeddler::APIs::ExternalFulfillmentShipments20240911::Amount

Parameters:

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

Returns:



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 ]

Returns:

  • ([ :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 }

Returns:

  • ({ 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 }