added a method that prompts the user for the details of their receipt.