Retrieve a List of Offline Transactions Pending Submission

Use the information in this section to retrieve a list of stored offline transactions before they are submitted for authorization.
Follow this step to retrieve a list of offline transactions pending submission:
  1. Use the
    queryTransactions
    function from the
    mposUi
    object to retrieve the list.
    mposUi.offlineModule.queryTransactions(                     filterParameters = FilterParameters.Builder().build(),                     includeReceipts = false,                     offset = 0,                     limit = 20                 ) { _, _, _, _, transactions, mposError ->                     if (transactions != null && transactions.isNotEmpty()) {                         // Handle Success scenario                     } else {                         // Handle Error Scenario                     }                 }