| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.DeviceFarm.Types.MonetaryAmount
Description
Documentation
data MonetaryAmount Source #
A number that represents the monetary amount for an offering or transaction.
See: newMonetaryAmount smart constructor.
Constructors
| MonetaryAmount' | |
Fields
| |
Instances
newMonetaryAmount :: MonetaryAmount Source #
Create a value of MonetaryAmount with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:amount:MonetaryAmount', monetaryAmount_amount - The numerical amount of an offering or transaction.
$sel:currencyCode:MonetaryAmount', monetaryAmount_currencyCode - The currency code of a monetary amount. For example, USD means U.S.
dollars.
monetaryAmount_amount :: Lens' MonetaryAmount (Maybe Double) Source #
The numerical amount of an offering or transaction.
monetaryAmount_currencyCode :: Lens' MonetaryAmount (Maybe CurrencyCode) Source #
The currency code of a monetary amount. For example, USD means U.S.
dollars.