StripeResponse
data class StripeResponse<ResponseBody>(code: Int, body: ResponseBody?, headers: Map<String, List<String>>)
Content copied to clipboard
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.
Parameters
code
the response code (i.e. 404)
body
the body of the response
headers
any headers associated with the response
Constructors
Link copied to clipboard
fun <ResponseBody> StripeResponse(code: Int, body: ResponseBody?, headers: Map<String, List<String>> = emptyMap())
Content copied to clipboard