Promotial codes generator and validator.