SBLTransaction
Provides a data model for an ongoing receipt uploading operation. In Swift, use Transaction typealias.
-
Identifies transaction uniquely on device. Local transaction identifier is generated when instance is created, and does not change.
-
Identifier of user tied to receipt upload transaction
-
Identifier of transaction on the server. When
remoteIDis received, status of transaction is set toprocessing -
Receipt Transaction(Upload) Date
-
Transaction processing time estimated by the server (
fast,medium, orslow) -
Transaction type
-
Identifier of receipt tied to transaction. Only present when transaction is completed (
statusis set to.completed) -
Source email address of an email that is being converted to a receipt. If this property is set, the
typeis set to.email -
Image of receipt to upload. Must be 5 MB or less.
-
Receipt date, category, merchant name, and currency code
-
Receipt folders, expense type, and note
-
Receipt’s external account transaction id
-
Transaction status
-
Set to a failure reason when transaction status is
failed, or tonoErrorotherwise -
Indicates that provided image failed on server, and must be replaced (retrying the same image is not recommended)
-
Transaction Observer to monitor transaction progress
SBLTransaction Class Reference