NoonApplePayToken class

The Apple Pay token returned by the native PassKit sheet after the user authorizes the payment.

The token is sent as-is to Noon, which decrypts it (no certificate handling on your side). Use paymentInfo for the value that goes into paymentData.data.paymentInfo.

Constructors

NoonApplePayToken({required Map<String, dynamic> token, String? network, String? displayName})
const
NoonApplePayToken.fromMap(Map map)
Builds a NoonApplePayToken from the native method channel result.
factory

Properties

displayName String?
A human-readable description of the card (e.g. "MasterCard 3569").
final
hashCode int
The hash code for this object.
no setterinherited
network String?
The network of the selected card (e.g. "Visa", "MasterCard", "Mada").
final
paymentInfo String
The stringified value used for paymentData.data.paymentInfo in the INITIATE request.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
token Map<String, dynamic>
The full PassKit token object: { "paymentData": {...}, "paymentMethod": {...}, "transactionIdentifier": "..." }.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
The raw token map, suitable for forwarding to your own backend if you prefer to call INITIATE server-side.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited