public class CookieOrder { /** the variety of cookie */ private String var; /** the number of boxes */ private int num; /** Constructs a new CookieOrder object. * @param variety the type of cookies * @param numBoxes the number of boxes */ public CookieOrder(String variety, int numBoxes) { var = variety; num = numBoxes; } /** @return the variety of cookie being ordered */ public String getVariety() { return var; } /** @return the number of boxes being ordered */ public int getNumBoxes() { return num; } }