Skip to content

BonusPayment

Source code in docs_src/capo_mturk/types/bonus_payment.py
class BonusPayment(TypedDict, closed=True):
    worker_id: NotRequired["capo_mturk.types.customer_id.CustomerId"]
    """<p>The ID of the Worker to whom the bonus was paid.</p>"""
    bonus_amount: NotRequired["capo_mturk.types.currency_amount.CurrencyAmount"]
    assignment_id: NotRequired["capo_mturk.types.entity_id.EntityId"]
    """<p>The ID of the assignment associated with this bonus payment.</p>"""
    reason: NotRequired["capo_mturk.types.string.String"]
    """<p>The Reason text given when the bonus was granted, if any.</p>"""
    grant_time: NotRequired["capo_mturk.types.timestamp.Timestamp"]
    """<p>The date and time of when the bonus was granted.</p>"""

assignment_id instance-attribute

assignment_id: NotRequired[EntityId]

The ID of the assignment associated with this bonus payment.

bonus_amount instance-attribute

bonus_amount: NotRequired[CurrencyAmount]

grant_time instance-attribute

grant_time: NotRequired[Timestamp]

The date and time of when the bonus was granted.

reason instance-attribute

reason: NotRequired[String]

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

worker_id instance-attribute

worker_id: NotRequired[CustomerId]

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