Add sample code for java payment api demo
Merge pull request #1 from flasheryu/master

Add sample code for java payment api demo