libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq MonetaryAmount Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.MonetaryAmount

Read MonetaryAmount Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.MonetaryAmount

Show 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 #

NFData MonetaryAmount Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.MonetaryAmount

Methods

rnf :: MonetaryAmount -> () #

Hashable MonetaryAmount Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.MonetaryAmount

FromJSON 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" "libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm" '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.