StonePaymentsPlatform class abstract

The interface that implementations of stone_payments must implement.

Inheritance
  • Object
  • PlatformInterface
  • StonePaymentsPlatform
Implementers

Constructors

StonePaymentsPlatform()
Constructs a StonePaymentsPlatform.

Properties

hashCode int
The hash code for this object.
no setterinherited
onMessage Stream<String>
Stream of messages
no setter
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
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
print(List<ItemPrintModel> items) Future<String?>
Print
printReceipt(TypeOwnerPrintEnum type) Future<String?>
Print Receipt
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

Operators

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

Static Properties

instance StonePaymentsPlatform
The default instance of StonePaymentsPlatform to use.
getter/setter pair