SecureMastercardService class

Secure Mastercard Service using Backend Proxy All sensitive operations are handled by the backend

Constructors

SecureMastercardService()

Properties

hashCode int
The hash code for this object.
no setterinherited
isInitialized bool
Check if service is properly initialized
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
Dispose resources
getTransactionStatus({required String orderId, required String transactionId}) Future<LokotroPayOnResponse>
Get transaction status
initialize({required String userId, String? sessionToken}) Future<bool>
Initialize secure service
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
processPayment({required MastercardPaymentRequest paymentRequest}) Future<LokotroPayOnResponse>
Process payment securely through backend
processPaymentWith3DS({required MastercardPaymentRequest paymentRequest}) Future<LokotroPayOnResponse>
Process payment with 3DS authentication
refundPayment({required String orderId, required String originalTransactionId, required double amount, required String currency, String? reason}) Future<LokotroPayOnResponse>
Refund payment securely
toString() String
A string representation of this object.
inherited
updateSessionToken(String sessionToken) → void
Update session token

Operators

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