BareCapturedReceiptData

open class BareCapturedReceiptData : Serializable

Serializable class representing a captured receipt.

Contains the bitmaps representing the cropped (if applicable) and uncropped receipts.

The appropriate final receipt file to use can be fetched using receiptFile. When finished with this class, it should be cleaned up with cleanup. This will delete the receipt image files.

Functions

cleanup
Link copied to clipboard
open fun cleanup()
Delete all receipt image files contained within this object
partialCleanup
Link copied to clipboard
fun partialCleanup()
If there are multiple files in this class representing the receipt, delete all but the file representing the final receipt.

Properties

receiptFile
Link copied to clipboard
val receiptFile: File
The file representing the final receipt.