MastercardService class

Main Mastercard Integration Service

Constructors

MastercardService(MastercardConfig config)

Properties

config MastercardConfig
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

authorizePayment({required MastercardPaymentRequest paymentRequest}) Future<LokotroPayOnResponse>
Authorize payment
capturePayment({required String orderId, required String authorizationTransactionId, required double amount, String? currency}) Future<LokotroPayOnResponse>
Capture authorized payment
dispose() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
processDirectPayment({required MastercardPaymentRequest paymentRequest}) Future<LokotroPayOnResponse>
Process direct payment (without 3DS)
processPaymentWith3DS({required MastercardPaymentRequest paymentRequest}) Future<LokotroPayOnResponse>
Process payment with 3DS authentication
refundPayment({required String orderId, required String originalTransactionId, required double amount, String? currency, String? reason}) Future<LokotroPayOnResponse>
Refund payment
toString() String
A string representation of this object.
inherited

Operators

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