With RESTful Testing with Stripe: Using UriBuilder, HttpGet and other Apache HttpComponents, we focused on laying groundwork for communicating with the Stripe API endpoint, sending messages and retrieving data.
- JSON response was retrieved
- JSON was converted it into a JSON string
- Google's GSON library was used to place it in a data object we created.
Let's simplify things and set all the charge object data to null in our JSON file.