TestOutput class abstract
TestOutput
Properties:
- merchantId - Unique identifier of the merchant account that the notification is about.
- output - A short, human-readable explanation of the test result. Your server must respond with *HTTP 2xx for the test webhook to be successful (
data.status: success). Find out more about accepting notifications You can use the value of this field together with theresponseCodevalue to troubleshoot unsuccessful test webhooks. - requestSent - The body of the notification webhook that was sent to your server.
- responseCode - The HTTP response code for your server's response to the test webhook. You can use the value of this field together with the the
outputfield value to troubleshoot failed test webhooks. - responseTime - The time between sending the test webhook and receiving the response from your server. You can use it as an indication of how long your server takes to process a webhook notification. Measured in milliseconds, for example 304 ms.
- status - The status of the test request. Possible values are: * success,
data.responseCode: 2xx. * failed, in all other cases. You can use the value of theoutputfield together with theresponseCodevalue to troubleshoot failed test webhooks.
- Annotations
-
- @BuiltValue.new()
Constructors
- TestOutput([void updates(TestOutputBuilder b)])
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- merchantId → String?
-
Unique identifier of the merchant account that the notification is about.
no setter
- output → String?
-
A short, human-readable explanation of the test result. Your server must respond with *HTTP 2xx for the test webhook to be successful (
data.status: success). Find out more about accepting notifications You can use the value of this field together with theresponseCodevalue to troubleshoot unsuccessful test webhooks.no setter - requestSent → String?
-
The body of the notification webhook that was sent to your server.
no setter
- responseCode → String?
-
The HTTP response code for your server's response to the test webhook. You can use the value of this field together with the the
outputfield value to troubleshoot failed test webhooks.no setter - responseTime → String?
-
The time between sending the test webhook and receiving the response from your server. You can use it as an indication of how long your server takes to process a webhook notification. Measured in milliseconds, for example 304 ms.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → String
-
The status of the test request. Possible values are: * success,
data.responseCode: 2xx. * failed, in all other cases. You can use the value of theoutputfield together with theresponseCodevalue to troubleshoot failed test webhooks.no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rebuild(
dynamic updates(TestOutputBuilder)) → TestOutput -
Rebuilds the instance.
inherited
-
toBuilder(
) → TestOutputBuilder -
Converts the instance to a builder
B.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
serializer
→ Serializer<
TestOutput> -
no setter