Adding check for empty license id, price id, and type