I had the same question when I used to fly with them. An agent on their help line told me that I should tell him what price was the ticket, and he would determine what class it was. Yes, it is rather clumsy way. Usually, when I flew recently with the class including a bag, that ticket qualified to earn 25 % for my Delta program.