There are two types of codes, generic Cabin Codes as far as I know (R=Premium First Class Sleeper [previously Supersonic Class]P=Premium First Class, F=First Class, J or C=Business Premium, D, I, or Z=Business Class, and Y=Economy), then there are Fare Codes which are subsets of the Cabin Codes...