With cocos2d-x, is there a way to use "In app purchases", "I-Ad", and "Game Center"

Is there a way to use
1)In app purchases
2)I-Ad
3)Game Center
with cocos2d-x?

Whats the easiest way to integrate these three things with cocos2d-x?