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 ErrorEnum that represents the possible error types in case of a transaction processing failure. |
| Status | enum class StatusEnum representing the status of a Transaction. |
Properties
| Name | Summary |
|---|---|
| error | abstract val error: Transaction.ErrorError 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: StringUnique 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.StatusProcessing 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 |