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

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

Overview

An object representing a Bonus payment paid to a Worker.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#assignment_idString

The ID of the assignment associated with this bonus payment.

Returns:

  • (String)


217
218
219
220
221
222
223
224
225
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 217

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

#bonus_amountString

A string representing a currency amount.

Returns:

  • (String)


217
218
219
220
221
222
223
224
225
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 217

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

#grant_timeTime

The date and time of when the bonus was granted.

Returns:

  • (Time)


217
218
219
220
221
222
223
224
225
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 217

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

#reasonString

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

Returns:

  • (String)


217
218
219
220
221
222
223
224
225
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 217

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

#worker_idString

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

Returns:

  • (String)


217
218
219
220
221
222
223
224
225
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 217

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