added Type to the getPrice methods