Stripe interface implemented in Java