PaymentResult class
Represents the result of a payment operation.
Constructors
- PaymentResult.new({required Status status, Result? message, required HyperswitchException error})
- Constructs a PaymentResult object with the given status and message.
-
PaymentResult.fromMap(Map<
String, dynamic> map) -
Constructs a PaymentResult object from a map representation.
factory
Properties
- error → HyperswitchException
-
Message indicating the result of the payment.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → Result?
-
Message indicating the result of the payment.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → Status
-
Status of the payment.
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