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

Link copied to clipboard

Enum that represents the possible error types in case of a transaction processing failure.

Link copied to clipboard

Enum representing the status of a Transaction.

Properties

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. Error.NO_ERROR if no error occurred.

Link copied to clipboard

Unique identifier of the ExternalAccountTransaction tied to Receipt Upload.

Link copied to clipboard
abstract val localId: String

Unique local identifier representing this Transaction in the SDK's local database.

Link copied to clipboard
abstract val receiptId: String?

Unique identifier of the processed Sensibill Receipt.

Link copied to clipboard

Processing status of this Transaction

Link copied to clipboard
abstract val transactionId: String?

Unique identifier of the Receipt Processing Transaction on the backend

Link copied to clipboard
abstract val userId: String?

Unique identifier of the Sensibill User that uploaded the receipt