add price class to price

(cherry picked from commit bbbec952c942fdb20db75edd956dddb8a12cd698)