create base subclass for in app purchase