ChapaNativeCheckoutPaymentValidateSuccessState class final
State representing the success of payment validation.
Contains the response from the validation service and a flag indicating whether the payment failed or not.
- Inheritance
-
- Object
- ChapaNativeCheckoutState
- ChapaNativeCheckoutPaymentValidateSuccessState
Constructors
- ChapaNativeCheckoutPaymentValidateSuccessState({required ValidateDirectChargeResponse directChargeValidateResponse, required bool isPaymentFailed})
- Constructor for the ChapaNativeCheckoutPaymentValidateSuccessState.
Properties
- directChargeValidateResponse → ValidateDirectChargeResponse
-
The response received from the payment validation service.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isPaymentFailed → bool
-
A flag indicating whether the payment failed (true if failed, false otherwise).
final
- 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited