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

Description

 
Synopsis

Documentation

data OfferingTransaction Source #

Represents the metadata of an offering transaction.

See: newOfferingTransaction smart constructor.

Constructors

OfferingTransaction' 

Fields

Instances

Instances details
Eq OfferingTransaction Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.OfferingTransaction

Read OfferingTransaction Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.OfferingTransaction

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

NFData OfferingTransaction Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.OfferingTransaction

Methods

rnf :: OfferingTransaction -> () #

Hashable OfferingTransaction Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.OfferingTransaction

FromJSON 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" "libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm" 'False) (C1 ('MetaCons "OfferingTransaction'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "offeringStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OfferingStatus)) :*: S1 ('MetaSel ('Just "cost") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MonetaryAmount))) :*: (S1 ('MetaSel ('Just "transactionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "offeringPromotionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "createdOn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))))

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:offeringStatus:OfferingTransaction', offeringTransaction_offeringStatus - The status of an offering transaction.

$sel:cost:OfferingTransaction', offeringTransaction_cost - The cost of an offering transaction.

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

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

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

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

The transaction ID of the offering transaction.

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

The ID that corresponds to a device offering promotion.

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

The date on which an offering transaction was created.