MethodChannelMyPos class

An implementation of MyPosPlatform that uses method channels.

Inheritance

Constructors

MethodChannelMyPos()

Properties

hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

doSignature(String data, SamSlot samSlot, String pin, int timeoutMs) Future<String?>
override
doSignatureWithoutSelection(String data, SamSlot samSlot, String pin, int timeoutMs) Future<String?>
override
getCertificateSerialDec(SamSlot samSlot, int timeoutMs) Future<String?>
override
getCertificateSerialHex(SamSlot samSlot, int timeoutMs) Future<String?>
override
getCIN(SamSlot samSlot, int timeoutMs) Future<String?>
override
makePayment({required double amount, required MyPosCurrency currency, bool printMerchantReceipt = true, bool printCustomerReceipt = true, bool fixedPinPad = false, bool giftCardTransaction = false, String? eReceiptReceiverEmail, String? reference}) Future<PaymentResponse>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
printPaper(MyPosPaper data) Future<PrintResponse>
override
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

getSamSlot(SamSlot samSlot) int