Class: Aws::Payments::Types::CurrencyAmount

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-payments/lib/aws-sdk-payments/types.rb

Overview

A monetary amount expressed as a decimal string in the currency's standard unit.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#currency ⇒ String

The ISO 4217 currency code for the amount (for example, USD).

Returns:

  • (String)


310
311
312
313
314
315
# File 'gems/aws-sdk-payments/lib/aws-sdk-payments/types.rb', line 310

class CurrencyAmount < Struct.new(
  :value,
  :currency)
  SENSITIVE = []
  include Aws::Structure
end

#value ⇒ String

The amount, as a decimal string, such as 10.99. The number of decimal places can differ between amounts, for example 0.0 and 1000.24.

Returns:

  • (String)


310
311
312
313
314
315
# File 'gems/aws-sdk-payments/lib/aws-sdk-payments/types.rb', line 310

class CurrencyAmount < Struct.new(
  :value,
  :currency)
  SENSITIVE = []
  include Aws::Structure
end