add Detail class to Quote