PaymentSheetTelemetryEvent class final
Privacy-safe diagnostic metadata from one payment-sheet presentation.
Events exclude Order and Payment IDs, payer data, payment-method details, addresses, bodies, redirect URLs, and raw error messages. Treat flowId and requestId as correlation values rather than metric dimensions.
Constructors
- PaymentSheetTelemetryEvent({required String flowId, required int sequence, required PaymentSheetTelemetryEventName name, required DateTime timestamp, PaymentSheetTelemetryOperation? operation, int? httpStatusCode, String? requestId, int? retryAfterSeconds, String? errorType})
-
Creates a validated in-memory diagnostic event.
const
-
PaymentSheetTelemetryEvent.fromJson(Map<
Object?, Object?> value) -
Decodes the strict, versioned payload emitted by the native SDK.
factory
Properties
- errorType → String?
-
Privacy-safe error category rather than a raw message.
final
- flowId → String
-
Random identifier shared by events from one presentation.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- httpStatusCode → int?
-
HTTP status code when a response was received.
final
- name → PaymentSheetTelemetryEventName
-
Stable lifecycle or transport event name.
final
- operation → PaymentSheetTelemetryOperation?
-
Fixed Checkout operation for a network event.
final
- requestId → String?
-
Bounded Inttegro request identifier for support correlation.
final
- retryAfterSeconds → int?
-
Bounded server-directed delay before retrying the operation.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sequence → int
-
Monotonically increasing event order within the flow.
final
- timestamp → DateTime
-
Time at which the native SDK emitted the event.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited