MethodChannelStonePayments class

An implementation of StonePaymentsPlatform that uses method channels.

Inheritance

Constructors

MethodChannelStonePayments()
Constructor and method channel initialization

Properties

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

Methods

activateStone({required String appName, required String stoneCode, String? qrCodeProviderId, String? qrCodeAuthorization}) Future<String?>
Activate Stone
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
payment({required double value, required TypeTransactionEnum typeTransaction, int installment = 1, bool? printReceipt}) Future<String?>
Payment
override
print(List<ItemPrintModel> items) Future<String?>
Print
override
printReceipt(TypeOwnerPrintEnum type) Future<String?>
Print Receipt
override
toString() String
A string representation of this object.
inherited
transaction({required double value, required TypeTransactionEnum typeTransaction, int installment = 1, bool? printReceipt, ValueChanged<String>? onPixQrCode}) Future<Transaction?>
Transaction
override

Operators

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