Method: Propertyware::BillPayment#hash

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

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



238
239
240
# File 'lib/propertyware/models/bill_payment.rb', line 238

def hash
  [amount, bills, check_number, created_by, created_date_time, id, last_modified_by, last_modified_date_time, memo, name_on_check, , payment_date, payment_method, to_be_printed, vendor_id].hash
end