require 'openapi_client'
instance = OpenapiClient::PayslipResponse.new(
id: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw,
remote_id: 19202938,
employee_id: d2f972d0-2526-434b-9409-4c3b468e08f0,
employee_remote_id: 19202938,
payrun_id: 35347df1-95e7-46e2-93cc-66f1191edca5,
payrun_remote_id: 19202938,
payrun_type: null,
currency: null,
gross_pay: 134267,
net_pay: 86578,
start_date: Wed Jan 01 00:00:00 UTC 2020,
end_date: Fri Jan 31 00:00:00 UTC 2020,
payment_date: Mon Jan 27 00:00:00 UTC 2020,
earnings: [{"amount":100234,"name":"SALARY","hours":80},{"amount":834234,"name":"OVERTIME","hours":8}],
contributions: [{"name":"Private Health Insurance (Employer)","amount":13454},{"name":"Transportation allowance benefit (Employer)","amount":3454},{"name":"Other (Employer)","amount":3454}],
deductions: [{"name":"Transportation allowance benefit","amount":3454},{"name":"Private Health Insurance (Employee)","amount":3454}],
taxes: [{"name":"PRSI","amount":725,"employer_tax":false},{"name":"PSC (Class S)","amount":125,"employer_tax":false},{"name":"Income Tax","amount":10025,"employer_tax":false},{"name":"Payroll Tax","amount":10025,"employer_tax":true}],
reimbursements: [{"name":"Slack seat","amount":725}]
)