It usually shows up on the boarding pass once they are printed (under class) but this may be to late if you plan on changing the fare based on mile earning potential.
Best bet is to call the airline and ask, they will definitely be able to look it up.