Update to use constants

Update the code to use constants for price type fixed and percentage.