InboxItem class
Properties
category
↔ String ?
Category is the expense account the scanner proposed, as a chart number — a PROPOSAL, not a posting: nothing is booked until it is accepted.
getter/setter pair
confidence
↔ String ?
Confidence is how sure the scanner is of that reading, and is the signal for whether a person needs to check it before it is booked.
getter/setter pair
createdAt
↔ String ?
CreatedAt is when the document was uploaded.
getter/setter pair
Extracted is what the scanner read off the document. Absent until it has been scanned, so its absence is "not read yet", never "nothing on it".
getter/setter pair
filename
↔ String ?
Filename is the name the document was uploaded under, for a person to recognise it by. It is not part of the item's identity.
getter/setter pair
hashCode
→ int
The hash code for this object.
no setter override
id
↔ String ?
ID is the CONTENT HASH of the uploaded bytes, which is what makes the queue idempotent: re-uploading the same document returns this item rather than adding a second one. It is also the id the scan of this document carries.
getter/setter pair
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
status
↔ String ?
Status is where the document is in the queue — unsorted until the scanner has read it, and thereafter whether it is waiting on a person or has been booked.
getter/setter pair
vendor
↔ String ?
Vendor is the supplier the scanner identified, surfaced beside the item so a queue renders without opening each document.
getter/setter pair