Method: Propertyware::BillPayment#==

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

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
# File 'lib/propertyware/models/bill_payment.rb', line 210

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      amount == o.amount &&
      bills == o.bills &&
      check_number == o.check_number &&
      created_by == o.created_by &&
      created_date_time == o.created_date_time &&
      id == o.id &&
      last_modified_by == o.last_modified_by &&
      last_modified_date_time == o.last_modified_date_time &&
      memo == o.memo &&
      name_on_check == o.name_on_check &&
       == o. &&
      payment_date == o.payment_date &&
      payment_method == o.payment_method &&
      to_be_printed == o.to_be_printed &&
      vendor_id == o.vendor_id
end