Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
data MonetaryAmount Source #
A number that represents the monetary amount for an offering or transaction.
See: newMonetaryAmount
smart constructor.
MonetaryAmount' | |
|
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.