ChapaNativeCheckoutPaymentInitiateApiError class final
State representing an error that occurred during the payment initiation.
It can contain either an API error response or a direct charge API error response.
- Inheritance
-
- Object
- ChapaNativeCheckoutState
- ChapaNativeCheckoutPaymentInitiateApiError
Constructors
- ChapaNativeCheckoutPaymentInitiateApiError({ApiErrorResponse? apiErrorResponse, DirectChargeApiError? directChargeApiError})
- Constructor for the ChapaNativeCheckoutPaymentInitiateApiError.
Properties
- apiErrorResponse ↔ ApiErrorResponse?
-
The error response from the API (if any).
getter/setter pair
- directChargeApiError ↔ DirectChargeApiError?
-
The direct charge API error response (if any).
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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