FormPaymentFailed class final
The payment did not go through — declined, or failed somewhere in the form.
- Inheritance
-
- Object
- PaymentFormResult
- FormPaymentFailed
Constructors
- FormPaymentFailed({int? transactionId, int? reasonCode, String? message})
-
Creates a failed outcome.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isSuccess → bool
-
Whether the payment went through.
no setterinherited
- message → String?
-
What the native SDK said went wrong, when it said anything. iOS reports
a message; Android reports only a reason code.
final
- reasonCode → int?
-
CloudPayments' numeric reason, e.g.
5051for insufficient funds. Zero ornullwhen the form did not report one.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- transactionId → int?
-
The transaction the form ended on, when it got that far.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited