Method: OpenapiClient::PayslipResponse#==

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

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
# File 'lib/openapi_client/models/payslip_response.rb', line 277

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      id == o.id &&
      remote_id == o.remote_id &&
      employee_id == o.employee_id &&
      employee_remote_id == o.employee_remote_id &&
      payrun_id == o.payrun_id &&
      payrun_remote_id == o.payrun_remote_id &&
      payrun_type == o.payrun_type &&
      currency == o.currency &&
      gross_pay == o.gross_pay &&
      net_pay == o.net_pay &&
      start_date == o.start_date &&
      end_date == o.end_date &&
      payment_date == o.payment_date &&
      earnings == o.earnings &&
      contributions == o.contributions &&
      deductions == o.deductions &&
      taxes == o.taxes &&
      reimbursements == o.reimbursements
end