Adds getContents and setContents to the CartInterface