Did you mean create a interface to put all constants of UPS? Yes, it's the recommendation. Don't put this information in the middle of the your code.