Class: Aws::SageMaker::Types::USD

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-sagemaker/types.rb

Overview

Note:

When making an API call, you may pass USD data as a hash:

{
  dollars: 1,
  cents: 1,
  tenth_fractions_of_a_cent: 1,
}

Represents an amount of money in United States dollars/

Instance Attribute Summary collapse

Instance Attribute Details

#centsInteger

The fractional portion, in cents, of the amount.

Returns:

  • (Integer)


11148
11149
11150
11151
11152
11153
# File 'lib/aws-sdk-sagemaker/types.rb', line 11148

class USD < Struct.new(
  :dollars,
  :cents,
  :tenth_fractions_of_a_cent)
  include Aws::Structure
end

#dollarsInteger

The whole number of dollars in the amount.

Returns:

  • (Integer)


11148
11149
11150
11151
11152
11153
# File 'lib/aws-sdk-sagemaker/types.rb', line 11148

class USD < Struct.new(
  :dollars,
  :cents,
  :tenth_fractions_of_a_cent)
  include Aws::Structure
end

#tenth_fractions_of_a_centInteger

Fractions of a cent, in tenths.

Returns:

  • (Integer)


11148
11149
11150
11151
11152
11153
# File 'lib/aws-sdk-sagemaker/types.rb', line 11148

class USD < Struct.new(
  :dollars,
  :cents,
  :tenth_fractions_of_a_cent)
  include Aws::Structure
end