PaymentSuccess class final

The customer entered their PIN and the payment was processed successfully.

Inheritance

Constructors

PaymentSuccess({required String checkoutRequestId, required String receiptNumber, required int amount, required DateTime settledAt, DateTime? mpesaTimestamp})
const

Properties

amount int
Amount paid in KES.
final
checkoutRequestId String
The Safaricom-assigned identifier for this transaction.
final
hashCode int
The hash code for this object.
no setteroverride
mpesaTimestamp DateTime?
The Safaricom-stamped transaction time (UTC), parsed from the TransactionDate field in CallbackMetadata. Null if Safaricom omitted the field (rare, but possible on partial callbacks).
final
receiptNumber String
The M-Pesa receipt number (e.g. NLJ7RT61SV).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
settledAt DateTime
When the Appwrite Function processed the callback (UTC).
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.
override