UniPayServices class

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 Methods

captureTabbyPayment({required TabbyDto tabbyDto}) Future<TabbyTransaction>
Capture the transaction to Tabby, so that they will complete the payment for your merchant.
captureTamaraOrder({required TamaraCaptureOrder tamaraCaptureOrder}) Future<TamaraCaptureOrderResponse>
  • Capture tamara order, if your product is subscription based then you can use this method to capture the order instantly
  • getMoyasarPaymentByMetaDataOrderId({required MoyasarCredential credential, required String orderId}) Future<UniPayResponse>
  • Get the payment by meta-data, this specific method is used for Moyasar payment gateway only
  • getMoyasarPaymentByTransactionId({required MoyasarCredential credential, required String transactionId}) Future<UniPayResponse>
    Get the payment by transaction id from the moyasar gateway.
    getTabbyTransactionDetails({required TabbyDto tabbyDto}) Future<TabbyTransaction>
    Get the transaction details from Tabby gateway by providing the required data.
    getTamaraPaymentDetails({required TamaraApiData tamaraApiData}) Future<UniPayResponse>
  • Get tamara order transaction information
  • initializeTabbySDK({TabbyCredential? credentials}) → void
    Initialize the Tabby SDK to prepare for payment.
    initUniPay({required UniPayData uniPayData, required BuildContext context}) → dynamic
  • Initalize the UniPay with the order details, and

  • payment gateway credentials before making Apple pay request

  • openTamaraCheckoutPopUp({required TamaraSnippet snippet}) Future
  • View the Checkout page campaign from Tamara
  • tamaraCheckoutPageSnippet({required TamaraSnippet snippet}) Widget
  • Get the Checkout page campaign from Tamara
  • tamaraProductPageSnippet({required TamaraSnippet snippet}) Widget
  • Get the Product page snippet from Tamara