libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk
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.MechanicalTurk.Types.BonusPayment

Description

 
Synopsis

Documentation

data BonusPayment Source #

An object representing a Bonus payment paid to a Worker.

See: newBonusPayment smart constructor.

Constructors

BonusPayment' 

Fields

Instances

Instances details
Eq BonusPayment Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.BonusPayment

Read BonusPayment Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.BonusPayment

Show BonusPayment Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.BonusPayment

Generic BonusPayment Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.BonusPayment

Associated Types

type Rep BonusPayment :: Type -> Type #

NFData BonusPayment Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.BonusPayment

Methods

rnf :: BonusPayment -> () #

Hashable BonusPayment Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.BonusPayment

FromJSON BonusPayment Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.BonusPayment

type Rep BonusPayment Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.BonusPayment

type Rep BonusPayment = D1 ('MetaData "BonusPayment" "Amazonka.MechanicalTurk.Types.BonusPayment" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'False) (C1 ('MetaCons "BonusPayment'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "reason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "grantTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "workerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "assignmentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "bonusAmount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newBonusPayment :: BonusPayment Source #

Create a value of BonusPayment 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:reason:BonusPayment', bonusPayment_reason - The Reason text given when the bonus was granted, if any.

$sel:grantTime:BonusPayment', bonusPayment_grantTime - The date and time of when the bonus was granted.

$sel:workerId:BonusPayment', bonusPayment_workerId - The ID of the Worker to whom the bonus was paid.

$sel:assignmentId:BonusPayment', bonusPayment_assignmentId - The ID of the assignment associated with this bonus payment.

$sel:bonusAmount:BonusPayment', bonusPayment_bonusAmount - Undocumented member.

bonusPayment_reason :: Lens' BonusPayment (Maybe Text) Source #

The Reason text given when the bonus was granted, if any.

bonusPayment_grantTime :: Lens' BonusPayment (Maybe UTCTime) Source #

The date and time of when the bonus was granted.

bonusPayment_workerId :: Lens' BonusPayment (Maybe Text) Source #

The ID of the Worker to whom the bonus was paid.

bonusPayment_assignmentId :: Lens' BonusPayment (Maybe Text) Source #

The ID of the assignment associated with this bonus payment.