SessionResultResponse class abstract
SessionResultResponse
Properties:
- additionalData - Contains additional information about the payment. Some fields are included only if you enable them. To enable these fields in your Customer Area, go to Developers > Additional data.
- id - A unique identifier of the session.
- payments - A list of all authorised payments done for this session.
- reference - The unique reference that you provided in the original
/sessionsrequest. This identifies the payment and is used in all communication with you about the payment status. - status - The status of the session. The status included in the response doesn't get updated. Don't make the request again to check for payment status updates. Possible values: * completed: the shopper completed the payment, and the payment was authorized. * paymentPending: the shopper is in the process of making the payment. This applies to payment methods with an asynchronous flow, like voucher payments where the shopper completes the payment in a physical shop. * refused: the session has been refused, because of too many refused payment attempts. The shopper can no longer complete the payment with this session. * canceled: the shopper canceled the payment. * expired: the session expired. The shopper can no longer complete the payment with this session. By default, the session expires one hour after it is created.
- Annotations
-
- @BuiltValue.new()
Constructors
- SessionResultResponse([void updates(SessionResultResponseBuilder b)])
-
factory
Properties
-
additionalData
→ BuiltMap<
String, String> ? -
Contains additional information about the payment. Some fields are included only if you enable them. To enable these fields in your Customer Area, go to Developers > Additional data.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
A unique identifier of the session.
no setter
-
payments
→ BuiltList<
Payment> ? -
A list of all authorised payments done for this session.
no setter
- reference → String?
-
The unique reference that you provided in the original
/sessionsrequest. This identifies the payment and is used in all communication with you about the payment status.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → SessionResultResponseStatusEnum?
-
The status of the session. The status included in the response doesn't get updated. Don't make the request again to check for payment status updates. Possible values: * completed: the shopper completed the payment, and the payment was authorized. * paymentPending: the shopper is in the process of making the payment. This applies to payment methods with an asynchronous flow, like voucher payments where the shopper completes the payment in a physical shop. * refused: the session has been refused, because of too many refused payment attempts. The shopper can no longer complete the payment with this session. * canceled: the shopper canceled the payment. * expired: the session expired. The shopper can no longer complete the payment with this session. By default, the session expires one hour after it is created.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rebuild(
dynamic updates(SessionResultResponseBuilder)) → SessionResultResponse -
Rebuilds the instance.
inherited
-
toBuilder(
) → SessionResultResponseBuilder -
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<
SessionResultResponse> -
no setter