Method: TripletexRubyClient::Payslip#==

Defined in:
lib/tripletex_ruby_client/models/payslip.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
# File 'lib/tripletex_ruby_client/models/payslip.rb', line 189

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      id == o.id &&
      version == o.version &&
      changes == o.changes &&
      url == o.url &&
      transaction == o.transaction &&
      employee == o.employee &&
      date == o.date &&
      year == o.year &&
      month == o.month &&
      specifications == o.specifications &&
      vacation_allowance_amount == o.vacation_allowance_amount &&
      gross_amount == o.gross_amount &&
      amount == o.amount &&
      number == o.number
end