UniTabbyServices class

Include all Tabby related Services to handle Tabby payment gateway,

Such as: Initiate tabby payment, create session, capture payment, get transaction details, etc.

Constructors

UniTabbyServices()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

isSdkInitialized bool
Check if Tabby SDK is initialized
no setter

Static Methods

captureTabbyPayment({required TabbyDto tabbyDto}) Future<TabbyTransaction>
Capture the transaction to Tabby, so that they will complete the payment for your merchant.
checkPreScoreSession(UniPayData uniPayData) Future<TabbySessionData?>
Check the Pre-score result session, before proceeding with payment
createTabbySession(UniPayData uniPayData) Future<TabbySessionData?>
Create Tabby session to proceed with payment
getTabbyTransactionDetails({required TabbyDto tabbyDto}) Future<TabbyTransaction>
Get the transaction details from Tabby
initTabbySDK(TabbyCredential? credentials, {Environment env = Environment.production}) → void
Init Tabby SDK to prepare for payment
processTabbyPayment(BuildContext context, UniPayStatus status, {String? transactionId, bool isFromRoot = true}) Future
Process the Tabby payment
showProductPageTabbySnippet({required TabbySnippet tabbySnippet}) Widget
Show Tabby payment snippet
showTabbyCheckoutSnippet({required TabbySnippet tabbySnippet}) Widget
Please make sure you provided the required data