Module: PeopleGroup::Connectors::Workday::XML::RequestOneTimePayment
- Included in:
- Client
- Defined in:
- lib/peoplegroup/connectors/workday/xml/request_one_time_payment.rb
Overview
RequestOneTimePayment module Uses the [PeopleGroup::Connectors::Workday::Client] to add a bonus to the speified team member.
Constant Summary collapse
- OPERATION =
The Operation for this Module
:request_one_time_payment
- OPERATION_AS_PARAM =
'Request_One-Time_Payment'
- DISCRETIONARY_BONUS =
The amount in USD to give for bonuses, must be a decimal.
1000.0
Instance Method Summary collapse
-
#add_bonus(employee_number, comment) ⇒ Object
Adds a bonus to the team members.
Instance Method Details
#add_bonus(employee_number, comment) ⇒ Object
Adds a bonus to the team members
23 24 25 26 27 28 29 30 31 |
# File 'lib/peoplegroup/connectors/workday/xml/request_one_time_payment.rb', line 23 def add_bonus(employee_number, comment) = { **business_process_params(comment), **one_time_payment_data(employee_number, comment) } request = Helpers.(OPERATION_AS_PARAM, ) call(OPERATION, request) end |