Class: Aws::Billing::Types::Amount

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#currency_amountString

The amount as a decimal string (for example, "743.21"). Negative values represent credits that reduce a bill.

Returns:

  • (String)


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

#currency_codeString

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

Returns:

  • (String)


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