Method: OpenapiClient::PayslipResponse#hash

Defined in:
lib/openapi_client/models/payslip_response.rb

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



308
309
310
# File 'lib/openapi_client/models/payslip_response.rb', line 308

def hash
  [id, remote_id, employee_id, employee_remote_id, payrun_id, payrun_remote_id, payrun_type, currency, gross_pay, net_pay, start_date, end_date, payment_date, earnings, contributions, deductions, taxes, reimbursements].hash
end