Response class abstract
Result of a message request processing. If Result is Success, ErrorCondition is absent or not used in the processing of the message. In the other cases, the ErrorCondition has to be present and can refine the processing of the message response. AdditionalResponse gives more information about the success or the failure of the message request processing, for logging without real time involvements.
Properties:
- result - Result of the processing of the message. Possible values: * Failure * Partial * Success
- errorCondition - Condition that has produced an error on the processing of a message request. Returned if Result is not Success. Possible values: * Aborted * Busy * Cancel * DeviceOut * InProgress * InsertedCard * InvalidCard * LoggedOut * MessageFormat * NotAllowed * NotFound * PaymentRestriction * Refusal * UnavailableDevice * UnavailableService * UnreachableHost * WrongPIN
- additionalResponse - Additional information related to processing status of a message request. If present, the POI logs it for further examination.
- Annotations
-
- @BuiltValue.new()
Constructors
- Response([void updates(ResponseBuilder b)])
-
factory
Properties
- additionalResponse → String?
-
Additional information related to processing status of a message request. If present, the POI logs it for further examination.
no setter
- errorCondition → ErrorCondition?
-
Condition that has produced an error on the processing of a message request. Returned if Result is not Success. Possible values: * Aborted * Busy * Cancel * DeviceOut * InProgress * InsertedCard * InvalidCard * LoggedOut * MessageFormat * NotAllowed * NotFound * PaymentRestriction * Refusal * UnavailableDevice * UnavailableService * UnreachableHost * WrongPIN
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- result → Result
-
Result of the processing of the message. Possible values: * Failure * Partial * Success
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rebuild(
dynamic updates(ResponseBuilder)) → Response -
Rebuilds the instance.
inherited
-
toBuilder(
) → ResponseBuilder -
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<
Response> -
no setter