com.getsensibill.capturestandalone.models / BareCapturedReceiptData
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.
Properties
Name | Summary |
---|---|
receiptFile | val receiptFile: File The file representing the final receipt. This will be a file referencing the cropped receipt if it exists, otherwise it will be the uncropped receipt image. |
Functions
Name | Summary |
---|---|
cleanup | open fun cleanup(): Unit Delete all receipt image files contained within this object |
partialCleanup | fun partialCleanup(): Unit If there are multiple files in this class representing the receipt, delete all but the file representing the final receipt. |
Inheritors
Name | Summary |
---|---|
CapturedReceiptData | class CapturedReceiptData : BareCapturedReceiptData Class representing a captured receipt. |