Constants
The constants below define the Intent action strings, extra keys, and URI schemes required for App2App communication.
Copy this object into your project to ensure consistent integration with the Paynt app.
object PayntIntentConstants {
const val ACTION_START_TRANSACTION = "com.paynt.payment.action.START_TRANSACTION"
const val EXTRA_START_TRANSACTION_REQUEST = "start_transaction_request"
const val EXTRA_START_TRANSACTION_RESPONSE = "start_transaction_response"
const val ACTION_START_ADMIN = "com.paynt.admin.action.START_ADMIN"
const val EXTRA_START_ADMIN_REQUEST = "start_admin_request"
const val EXTRA_START_ADMIN_RESPONSE = "start_admin_response"
const val ACTION_PRINT_RECEIPT = "com.paynt.printer.action.PRINT_RECEIPT"
const val EXTRA_PRINT_RECEIPT_CONTENT = "print_receipt_content"
// URI schemes matching PAYNT app intent filters
const val TRANSACTION_URI = "transaction://paynt"
const val ADMIN_URI = "admin://paynt"
}