This will work but it's bad practice to have the function parameter name be the same name as a class member. If you use a different name then you also don't need to superfluous "this->":
void settCustomerID(int val) {CustomerID = val}
Personally I think accessor functions (getXXX() and setXXX()) are overrated. If you can get and set the values then just make them public. That way you can also create pointers and references to them, which you can't do with get/set functions like the ones you have.
The print() function should probably be a << operator instead. At the very least, change it to take the stream as an argument so it's more flexible.