Package com.stripe.android.core.networking
Types
A class representing a Stripe API or Analytics request.
Factory to create StripeConnection, which encapsulates an HttpsURLConnection, triggers the request and parses the response with different body type as StripeResponse.
Factory for HTTP request query strings, converts a Map of into a query string like "?p1=v1&p2=v2"
A wrapper for accessing a HttpURLConnection. Implements Closeable to simplify closing related resources.
HTTP client to execute different types of StripeRequest and return StripeResponse.
A class representing a request to a Stripe-owned service.
Represents a response from the Stripe servers. Upon receiving the HTTP response, its body is parsed into ResponseBody, such as a String or a File.
Functions
Convert a JsonElement to a Map so it's compatible with QueryStringFactory. Note that this only supports JsonObjects currently. Other types will result in an InvalidSerializationException.
Convert a JsonObject to a Map so it's compatible with QueryStringFactory.
Convert all elements of an array to their equivalent kotlin primitives.
Recursively convert a JsonElement to its equivalent primitive kotlin values.