Purhase tracking java client

- [ ] Proof by @JohnPlummer 
- [x] Friday 1st August
Realised you are using tabs or 8 gap spaces, can we drop it to 4 spaces? :)