Add get and set methods for a Charge's failure code.