Set Quantity as a method variable to prevent GSON compression