Payment class

Constructors

Payment.new({required MethodChannel channel, required IStoneHandler paymentHandler, IStoneSmartHandler? iStoneSmartHandler})

Properties

channel MethodChannel
final
hashCode int
The hash code for this object.
no setterinherited
iStoneSmartHandler IStoneSmartHandler?
final
paymentHandler IStoneHandler
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

abortPIXTransaction() Future<bool>
Function to invoke method from abort current PIX transaction with SDK the Stone
abortTransaction() Future<bool>
Function to invoke method from abort current transaction with SDK the Stone
activeDebugLog({required bool isDebugLog}) Future<void>
Function to invoke method from refund payment with SDK the Stone
activePinpad({required String appName, required String stoneCode}) Future<bool>
Create external functions from invoke methodChannel Function to active pinpad with SDK the Stone
activePinpadWithCredentials({required String appName, required String stoneCode, required String qrCodeAuthroization, required String qrCodeProviderid, bool printCustomerSlip = true}) Future<bool>
Create external functions from invoke methodChannel Function to active pinpad with SDK the Stone with credentials
cancelTransaction({required int idFromBase}) Future<bool>
Function to invoke method from cancel transaction with SDK the Stone
creditPayment(int value, {bool printCustomerSlip = true, bool printEstablishmentSlip = false, String initiatorTransactionKey = ""}) Future<bool>
Function to invoke method from credit payment with SDK the Stone
creditPaymentParc({required int value, int installment = 1, bool withInterest = false, bool printCustomerSlip = true, bool printEstablishmentSlip = false, String initiatorTransactionKey = ""}) Future<bool>
Function to invoke method from credit installment payment with SDK the Stone
customPrinter(StonePrinterParams stonePrinterParams) Future<bool>
Function to send custom printer parameters
debitPayment(int value, {bool printCustomerSlip = true, bool printEstablishmentSlip = false, String initiatorTransactionKey = ""}) Future<bool>
Function to invoke method from debit payment with SDK the Stone
getAllTransactions() Future<bool>
Function to get all transactions
getPosManufacture() Future<String?>
getPosSerialNumber() Future<String?>
getTransactionByInitiatorTransactionKey({required String initiatorTransactionKey}) Future<bool>
Function to get a transaction by initiator key
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paymentPrinterTransactionKey({required String transactionKey}) Future<bool>
Function to invoke method from printer transaction by key
pixPayment({required int amount, required String qrCodeAuthroization, required String qrCodeProviderid, bool printCustomerSlip = true, bool printEstablishmentSlip = false, String initiatorTransactionKey = ""}) Future<bool>
Function to invoke method from debit payment with SDK the Stone
printerCurrentTransaction({required bool printCustomerSlip}) Future<bool>
Function to invoke method from printer current transaction with SDK the Stone
printFromBase64(String base64) Future<bool>
Function to print from base64 image
printWrapPaper(int lines) Future<bool>
Function to print wrap paper
reversal() Future<bool>
Function to reversal transaction
setPaymentOption({required String option}) Future<bool>
Function to set a payment option
toString() String
A string representation of this object.
inherited
voucherPayment(int value, {bool printCustomerSlip = true, bool printEstablishmentSlip = false, String initiatorTransactionKey = ""}) Future<bool>
Function to invoke method from voucher payment with SDK the Stone

Operators

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