Method: VoucherifySdk::Customer#hash

Defined in:
lib/VoucherifySdk/models/customer.rb

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



189
190
191
# File 'lib/VoucherifySdk/models/customer.rb', line 189

def hash
  [id, source_id, name, description, email, phone, birthday, birthdate, address, ].hash
end