Package com.stripe.net
Class RequestMetrics
- java.lang.Object
-
- com.stripe.net.RequestMetrics
-
public class RequestMetrics extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description long
requestDurationMs
java.lang.String
requestId
-
Constructor Summary
Constructors Constructor Description RequestMetrics(java.lang.String requestId, long requestDurationMS)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClientTelemetryPayload
payload()
Constructs the JSON payload to be sent in the X-Stripe-Client-Telemetry header.
-
-
-
Method Detail
-
payload
public ClientTelemetryPayload payload()
Constructs the JSON payload to be sent in the X-Stripe-Client-Telemetry header.
-
-