Class: Aws::Payments::Types::CurrencyAmount
- Inherits:
-
Struct
- Object
- Struct
- Aws::Payments::Types::CurrencyAmount
- 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
-
#currency ⇒ String
The ISO 4217 currency code for the amount (for example,
USD). -
#value ⇒ String
The amount, as a decimal string, such as
10.99.
Instance Attribute Details
#currency ⇒ String
The ISO 4217 currency code for the amount (for example, USD).
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.
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 |