NextAction class final
The action required to advance a payment.
Exposes type, confirmPayment, redirect, and authorize, among other contract fields.
Constructors
- NextAction({required NextActionType type, NextActionConfirm? confirmPayment, NextActionRedirect? redirect, NextActionAuthorize? authorize, NextActionRequestConfirmation? requestConfirmation})
-
const
-
NextAction.fromJson(Map<
String, Object?> json) -
factory
Properties
-
final
- confirmPayment → NextActionConfirm?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- redirect → NextActionRedirect?
-
final
- requestConfirmation → NextActionRequestConfirmation?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → NextActionType
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited