AnalyticsRequest
data class AnalyticsRequest(val params: Map<String, *>, val headers: Map<String, String>) : StripeRequest
Analytics request sent to q.stripe.com, which is a legacy analytics service used mostly by Payment SDK, analytics are saved in a shared DB table with payment-specific schema.
For other SDKs, it is recommended to create a dedicated DB table just for the SDK and write to this table through r.stripe.com. See AnalyticsRequestV2 for details.
Constructors
Properties
Link copied to clipboard
The type(Get/Post/Delete) of this request.
Link copied to clipboard
The MimeType of this request, determines the header and body format for a POST request
Link copied to clipboard
Additional HTTP headers attached if this is a POST request
Link copied to clipboard
A range of HTTP response code indicating this request should be retried
Link copied to clipboard
Whether the response should be cached or not
Functions
Link copied to clipboard
Writes the body of a POST request with OutputStream, left empty for non-POST requests