View on GitHub

sensibill-android-documentation

com.getsensibill.core.analytic / Transaction

Transaction

interface Transaction

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

Name Summary
Error enum class Error
Enum that represents the possible error types in case of a transaction processing failure.
Status enum class Status
Enum representing the status of a Transaction.

Properties

Name Summary
error abstract val error: Transaction.Error
Error object representing the cause of failure if the upload fails or transaction stops retrying for any reason. Error.NO_ERROR if no error occurred.
externalTransactionId abstract val ~~externalTransactionId~~: String?
Unique identifier of the ExternalAccountTransaction tied to Receipt Upload.
image abstract val ~~image~~: Bitmap?
Image of the captured receipt that is tied to this upload event
localId abstract val localId: String
Unique local identifier representing this Transaction in the SDK’s local database.
receiptId abstract val receiptId: String?
Unique identifier of the processed Sensibill Receipt.
status abstract val status: Transaction.Status
Processing status of this Transaction
transactionId abstract val transactionId: String?
Unique identifier of the Receipt Processing Transaction on the backend
userId abstract val userId: String?
Unique identifier of the Sensibill User that uploaded the receipt