Transaction

interface Transaction : Serializable

Interface that defines the properties of a Receipt Processing Transaction.

An instance of Transaction will contain data representing the state of a receipt's processing progress.

Types

Error
Link copied to clipboard
enum Error : Enum<Transaction.Error>
Enum that represents the possible error types in case of a transaction processing failure.
Status
Link copied to clipboard
enum Status : Enum<Transaction.Status>
Enum representing the status of a Transaction.

Properties

error
Link copied to clipboard
abstract val error: Transaction.Error
Error object representing the cause of failure if the upload fails or transaction stops retrying for any reason.
externalTransactionId
Link copied to clipboard
abstract val externalTransactionId: String?
Unique identifier of the ExternalAccountTransaction tied to Receipt Upload.
localId
Link copied to clipboard
abstract val localId: String
Unique local identifier representing this Transaction in the SDK's local database.
receiptId
Link copied to clipboard
abstract val receiptId: String?
Unique identifier of the processed Sensibill Receipt.
status
Link copied to clipboard
abstract val status: Transaction.Status
Processing status of this Transaction
transactionId
Link copied to clipboard
abstract val transactionId: String?
Unique identifier of the Receipt Processing Transaction on the backend
userId
Link copied to clipboard
abstract val userId: String?
Unique identifier of the Sensibill User that uploaded the receipt