Method: Propertyware::Payment#hash

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

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



300
301
302
# File 'lib/propertyware/models/payment.rb', line 300

def hash
  [amount, comments, contact_id, created_by, created_date_time, date, deposit_date, , id, is_deposited, last_modified_by, last_modified_date_time, lease_id, payment_type, portfolio_id, ref_no, status].hash
end