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)


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

def currency_code
  @currency_code
end

#valueString (readonly)

Returns the value of attribute value.

Returns:

  • (String)


45
46
47
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 45

def value
  @value
end

Class Method Details

.[](currency_code:, value:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Amount .[](arg0, arg1) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Amount

Overloads:



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

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 ])


40
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 40

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

.new(currency_code:, value:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Amount .new(arg0, arg1) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Amount

Overloads:



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

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:



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

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

Instance Method Details

#members[ :currency_code, :value ]

Returns:

  • ([ :currency_code, :value ])


47
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 47

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

#to_h{ currency_code: String, value: String }

Returns:

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


48
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 48

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