AmwalCardTransactionManager class

Inheritance

Constructors

AmwalCardTransactionManager.new({String? cvv, String? customerTokenId, String? customerId, void customerCallback(String?)?, void onResponse(String?)?, required BuildContext context, required SaleByCardManualCubit saleByCardManualCubit, required PaymentArguments paymentArguments, required GetOneTransactionByIdUseCase getOneTransactionByIdUseCase, String translator(String)?, OnPayCallback? onPay, EventCallback? log})

Properties

context BuildContext
finalinherited
customerCallback → void Function(String?)?
finalinherited
customerId String?
finalinherited
customerTokenId String?
finalinherited
cvv String?
finalinherited
getOneTransactionByIdUseCase GetOneTransactionByIdUseCase
finalinherited
hashCode int
The hash code for this object.
no setterinherited
log EventCallback?
finalinherited
onPay OnPayCallback?
finalinherited
onResponse → void Function(String?)?
finalinherited
paymentArguments PaymentArguments
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
saleByCardManualCubit SaleByCardManualCubit
finalinherited
translator String Function(String p1)?
finalinherited

Methods

handleAccessUrl({required String url, void setContext(void (BuildContext))?}) Future<void>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onOtpRequired({String? otpOrNull, required String originalTransactionId}) Future<void>
inherited
onPurchaseStepTwo({required String otp, required String transactionId, required String originTransactionId}) Future<Either<Map<String, dynamic>, PurchaseData>>
inherited
onPurchaseWith3DS({required void dismissLoader(BuildContext), void setContext(void (BuildContext))?, CustomerToken? token}) Future<void>
inherited
onTransactionCreated(String transactionId, Either<Map<String, dynamic>, PurchaseData>? purchaseDataOrFail, void setContext(void (BuildContext))?) Future<void>
inherited
onTransactionFailed({required String transactionId, required String message}) Future<void>
inherited
receiptAfterComplete(String transactionId, Either<Map<String, dynamic>, PurchaseData>? purchaseDataOrFail, {void dismissFn()?, void setContext(void (BuildContext))?}) Future<void>
inherited
showOtpDialog({required void onSubmit(String, BuildContext)}) Future<String?>
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

handlePurchaseData(PurchaseData? purchaseDataOrNull, void customerCallback(String)?) → void