InitiatePayment class
Event triggered to initiate the payment process.
Contains the payment request data and the public key required for the payment.
- Inheritance
-
- Object
- ChapaNativeCheckoutEvent
- InitiatePayment
Constructors
- InitiatePayment({required DirectChargeRequest directChargeRequest, required String publicKey})
- Constructor for the InitiatePayment event.
Properties
- directChargeRequest → DirectChargeRequest
-
The request data needed to initialize a direct charge payment.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- publicKey → String
-
The public key used to authenticate the payment request with the Chapa API.
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