create method 'details' in Customer class