StripeNetworkClient

HTTP client to execute different types of StripeRequest and return StripeResponse.

Inheritors

Functions

Link copied to clipboard
abstract suspend fun executeRequest(request: StripeRequest): StripeResponse<String>

Execute an HTTP request represented by a StripeRequest and attempts to parse the HTTP response's body as a String and returns it as StripeResponse.

Link copied to clipboard
abstract suspend fun executeRequestForFile(request: StripeRequest, outputFile: File): StripeResponse<File>

Execute an HTTP request represented by a StripeRequest and attempts to parse the HTTP response's body as a File and returns it as StripeResponse.