Method: Propertyware::AutoPayment#==

Defined in:
lib/propertyware/models/auto_payment.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
# File 'lib/propertyware/models/auto_payment.rb', line 232

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
       == o. &&
      amount == o.amount &&
      created_by == o.created_by &&
      created_date_time == o.created_date_time &&
      description == o.description &&
      end_date == o.end_date &&
      fee_amount == o.fee_amount &&
      frequency == o.frequency &&
       == o. &&
      id == o.id &&
      last_modified_by == o.last_modified_by &&
      last_modified_date_time == o.last_modified_date_time &&
       == o. &&
      start_date == o.start_date
end