Class: Aws::Billing::Types::Amount
- Inherits:
-
Struct
- Object
- Struct
- Aws::Billing::Types::Amount
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-billing/types.rb
Overview
A monetary amount with a currency code. Used throughout the Billing API to represent credit balances, allocations, and adjustments.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#currency_amount ⇒ String
The amount as a decimal string (for example,
"743.21"). -
#currency_code ⇒ String
The ISO 4217 currency code for the amount (for example,
USD).
Instance Attribute Details
#currency_amount ⇒ String
The amount as a decimal string (for example, "743.21"). Negative
values represent credits that reduce a bill.
59 60 61 62 63 64 |
# File 'lib/aws-sdk-billing/types.rb', line 59 class Amount < Struct.new( :currency_code, :currency_amount) SENSITIVE = [] include Aws::Structure end |