Payment class

Constructors

Payment({required MethodChannel channel, required PaymentHandler paymentHandler})

Properties

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

Methods

abortTransaction() Future<bool>
activePinpad(String activationCode) Future<bool>
creditPayment(int value, {String userReference = USER_REFERENCE, bool printReceipt = true, bool partialPay = false, bool isCarne = false}) Future<bool>
creditPaymentParc(int value, int parc, {PaymentTypeCredit type = PaymentTypeCredit.CLIENT, String userReference = USER_REFERENCE, bool printReceipt = true, bool partialPay = false, bool isCarne = false}) Future<bool>
debitPayment(int value, {String userReference = USER_REFERENCE, bool printReceipt = true, bool partialPay = false, bool isCarne = false}) Future<bool>
isAuthenticated() Future<bool>
lastTransaction() Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pixPayment(int value, {String userReference = USER_REFERENCE, bool printReceipt = true, bool partialPay = false, bool isCarne = false}) Future<bool>
printer(String filePath) Future<bool>
printerFile(String fileName) Future<bool>
printerFilePath(String filePath) Future<bool>
printerfromFile(String path) Future<bool>
refund({String? transactionCode, String? transactionId}) Future<bool>
startPayment(PaymentType type, int amount, {PaymentTypeCredit installmentType = PaymentTypeCredit.CLIENT, int installments = 1, String userReference = USER_REFERENCE, bool printReceipt = true, bool partialPay = false, bool isCarne = false}) Future<bool>
toString() String
A string representation of this object.
inherited
voucherPayment(int value, {String userReference = USER_REFERENCE, bool printReceipt = true, bool partialPay = false, bool isCarne = false}) Future<bool>

Operators

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