I have never had to do with it, but as far as I can see after a brief google, it is cheap but programmable and able to recognise up to 6 kind/value of coins!
Have a look at THIS project from Instructables site, looks like a useful source for you to learn more about the coin acceptor and how to interface it with Arduino (to let you then change/adapt your code).