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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing USD as input to an Aws::Client method, you can use a vanilla Hash:

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

Represents an amount of money in United States dollars/

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#centsInteger

The fractional portion, in cents, of the amount.

Returns:

  • (Integer)

    The fractional portion, in cents, of the amount.

#dollarsInteger

The whole number of dollars in the amount.

Returns:

  • (Integer)

    The whole number of dollars in the amount.

#tenth_fractions_of_a_centInteger

Fractions of a cent, in tenths.

Returns:

  • (Integer)

    Fractions of a cent, in tenths.