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.OfferingTransaction

Description

 
Synopsis

Documentation

data OfferingTransaction Source #

Represents the metadata of an offering transaction.

See: newOfferingTransaction smart constructor.

Constructors

OfferingTransaction' 

Fields

Instances

Instances details
FromJSON OfferingTransaction Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.OfferingTransaction

Generic OfferingTransaction Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.OfferingTransaction

Associated Types

type Rep OfferingTransaction :: Type -> Type #

Read OfferingTransaction Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.OfferingTransaction

Show OfferingTransaction Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.OfferingTransaction

NFData OfferingTransaction Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.OfferingTransaction

Methods

rnf :: OfferingTransaction -> () #

Eq OfferingTransaction Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.OfferingTransaction

Hashable OfferingTransaction Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.OfferingTransaction

type Rep OfferingTransaction Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.OfferingTransaction

type Rep OfferingTransaction = D1 ('MetaData "OfferingTransaction" "Amazonka.DeviceFarm.Types.OfferingTransaction" "amazonka-devicefarm-2.0-2e4KvZvQ9bT8TNjEPvmW9Q" 'False) (C1 ('MetaCons "OfferingTransaction'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "cost") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MonetaryAmount)) :*: S1 ('MetaSel ('Just "createdOn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "offeringPromotionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "offeringStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OfferingStatus)) :*: S1 ('MetaSel ('Just "transactionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newOfferingTransaction :: OfferingTransaction Source #

Create a value of OfferingTransaction 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:cost:OfferingTransaction', offeringTransaction_cost - The cost of an offering transaction.

$sel:createdOn:OfferingTransaction', offeringTransaction_createdOn - The date on which an offering transaction was created.

$sel:offeringPromotionId:OfferingTransaction', offeringTransaction_offeringPromotionId - The ID that corresponds to a device offering promotion.

$sel:offeringStatus:OfferingTransaction', offeringTransaction_offeringStatus - The status of an offering transaction.

$sel:transactionId:OfferingTransaction', offeringTransaction_transactionId - The transaction ID of the offering transaction.

offeringTransaction_createdOn :: Lens' OfferingTransaction (Maybe UTCTime) Source #

The date on which an offering transaction was created.

offeringTransaction_offeringPromotionId :: Lens' OfferingTransaction (Maybe Text) Source #

The ID that corresponds to a device offering promotion.

offeringTransaction_transactionId :: Lens' OfferingTransaction (Maybe Text) Source #

The transaction ID of the offering transaction.