MastercardBackendProxy class
Secure Backend Proxy for Mastercard Integration Credentials are stored securely on backend, never in the app
Constructors
- MastercardBackendProxy({required String backendBaseUrl, required String apiKey})
Properties
- apiKey → String
-
final
- backendBaseUrl → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
complete3DSAuthentication(
{required String authenticationId, required String paRes, required String userId, String? sessionToken}) → Future< LokotroPayOnResponse> - Complete 3DS authentication
-
dispose(
) → void -
getTransactionStatus(
{required String orderId, required String transactionId, required String userId, String? sessionToken}) → Future< LokotroPayOnResponse> - Get transaction status
-
initiate3DSAuthentication(
{required String orderId, required double amount, required String currency, required String userId, String? sessionToken}) → Future< Map< String, dynamic> > - Initiate 3DS authentication through backend
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
processPayment(
{required MastercardPaymentRequest paymentRequest, required String userId, String? sessionToken}) → Future< LokotroPayOnResponse> - Process payment through secure backend
-
refundPayment(
{required String orderId, required String originalTransactionId, required double amount, required String currency, required String userId, String? reason, String? sessionToken}) → Future< LokotroPayOnResponse> - Refund payment through backend
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited