| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.MechanicalTurk.Types.BonusPayment
Description
Synopsis
- data BonusPayment = BonusPayment' {}
- newBonusPayment :: BonusPayment
- bonusPayment_assignmentId :: Lens' BonusPayment (Maybe Text)
- bonusPayment_bonusAmount :: Lens' BonusPayment (Maybe Text)
- bonusPayment_grantTime :: Lens' BonusPayment (Maybe UTCTime)
- bonusPayment_reason :: Lens' BonusPayment (Maybe Text)
- bonusPayment_workerId :: Lens' BonusPayment (Maybe Text)
Documentation
data BonusPayment Source #
An object representing a Bonus payment paid to a Worker.
See: newBonusPayment smart constructor.
Constructors
| BonusPayment' | |
Fields
| |
Instances
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:assignmentId:BonusPayment', bonusPayment_assignmentId - The ID of the assignment associated with this bonus payment.
$sel:bonusAmount:BonusPayment', bonusPayment_bonusAmount - Undocumented member.
$sel:grantTime:BonusPayment', bonusPayment_grantTime - The date and time of when the bonus was granted.
$sel:reason:BonusPayment', bonusPayment_reason - The Reason text given when the bonus was granted, if any.
$sel:workerId:BonusPayment', bonusPayment_workerId - 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.
bonusPayment_bonusAmount :: Lens' BonusPayment (Maybe Text) Source #
Undocumented member.
bonusPayment_grantTime :: Lens' BonusPayment (Maybe UTCTime) Source #
The date and time of when the bonus was granted.
bonusPayment_reason :: Lens' BonusPayment (Maybe Text) Source #
The Reason text given when the bonus was granted, if any.
bonusPayment_workerId :: Lens' BonusPayment (Maybe Text) Source #
The ID of the Worker to whom the bonus was paid.