You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::DeviceFarm::Types::MonetaryAmount

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

Overview

A number representing the monetary amount for an offering or transaction.

Instance Attribute Summary collapse

Instance Attribute Details

#amountFloat

The numerical amount of an offering or transaction.

Returns:

  • (Float)


2563
2564
2565
2566
2567
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/types.rb', line 2563

class MonetaryAmount < Struct.new(
  :amount,
  :currency_code)
  include Aws::Structure
end

#currency_codeString

The currency code of a monetary amount. For example, USD means "U.S. dollars."

Returns:

  • (String)


2563
2564
2565
2566
2567
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/types.rb', line 2563

class MonetaryAmount < Struct.new(
  :amount,
  :currency_code)
  include Aws::Structure
end