Class: Aws::MTurk::Types::BonusPayment

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-mturk/types.rb

Overview

An object representing a Bonus payment paid to a Worker.

Instance Attribute Summary collapse

Instance Attribute Details

#assignment_idString

The ID of the assignment associated with this bonus payment.

Returns:

  • (String)


238
239
240
241
242
243
244
245
# File 'lib/aws-sdk-mturk/types.rb', line 238

class BonusPayment < Struct.new(
  :worker_id,
  :bonus_amount,
  :assignment_id,
  :reason,
  :grant_time)
  include Aws::Structure
end

#bonus_amountString

A string representing a currency amount.

Returns:

  • (String)


238
239
240
241
242
243
244
245
# File 'lib/aws-sdk-mturk/types.rb', line 238

class BonusPayment < Struct.new(
  :worker_id,
  :bonus_amount,
  :assignment_id,
  :reason,
  :grant_time)
  include Aws::Structure
end

#grant_timeTime

The date and time of when the bonus was granted.

Returns:

  • (Time)


238
239
240
241
242
243
244
245
# File 'lib/aws-sdk-mturk/types.rb', line 238

class BonusPayment < Struct.new(
  :worker_id,
  :bonus_amount,
  :assignment_id,
  :reason,
  :grant_time)
  include Aws::Structure
end

#reasonString

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

Returns:

  • (String)


238
239
240
241
242
243
244
245
# File 'lib/aws-sdk-mturk/types.rb', line 238

class BonusPayment < Struct.new(
  :worker_id,
  :bonus_amount,
  :assignment_id,
  :reason,
  :grant_time)
  include Aws::Structure
end

#worker_idString

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

Returns:

  • (String)


238
239
240
241
242
243
244
245
# File 'lib/aws-sdk-mturk/types.rb', line 238

class BonusPayment < Struct.new(
  :worker_id,
  :bonus_amount,
  :assignment_id,
  :reason,
  :grant_time)
  include Aws::Structure
end