In California, the charge of an open container is a misdemeanor. In California, the penalty for a misdemeanor is up to six (6) months in jail and or a one-thousand dollar ($1,000.00) fine. Whether or not the open container of alcohol was yours or not, the driver of a motor vehicle is required to have no open containers in the vehicle that he or she is driving.This is why you were charged with the offense. Most likely you are not eligible for traffic school because the charge against you is a misdemeanor and not an infraction.Most likely you will not get your license suspended as the result of any conviction for having an open cintainer in your vehicle especially if it was not near you. Given the seriousness of the charge, it is strongly recommened that you consult with a criminal defense attorney to assist you concerning your criminal action.Good luck.