amazonka-devicefarm-2.0: Amazon Device Farm SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.DeviceFarm.Types.MonetaryAmount

Description

 
Synopsis

Documentation

data MonetaryAmount Source #

A number that represents the monetary amount for an offering or transaction.

See: newMonetaryAmount smart constructor.

Constructors

MonetaryAmount' 

Fields

Instances

Instances details
FromJSON MonetaryAmount Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.MonetaryAmount

Generic MonetaryAmount Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.MonetaryAmount

Associated Types

type Rep MonetaryAmount :: Type -> Type #

Read MonetaryAmount Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.MonetaryAmount

Show MonetaryAmount Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.MonetaryAmount

NFData MonetaryAmount Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.MonetaryAmount

Methods

rnf :: MonetaryAmount -> () #

Eq MonetaryAmount Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.MonetaryAmount

Hashable MonetaryAmount Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.MonetaryAmount

type Rep MonetaryAmount Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.MonetaryAmount

type Rep MonetaryAmount = D1 ('MetaData "MonetaryAmount" "Amazonka.DeviceFarm.Types.MonetaryAmount" "amazonka-devicefarm-2.0-2e4KvZvQ9bT8TNjEPvmW9Q" 'False) (C1 ('MetaCons "MonetaryAmount'" 'PrefixI 'True) (S1 ('MetaSel ('Just "amount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "currencyCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CurrencyCode))))

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.