Note
The Adaptive Recognition API is still in beta and may change in future versions of Scandit Data Capture SDK.
Receipt Scanning Line Item
Defined under the namespace Scandit.Datacapture.Label
- ReceiptScanningLineItem
class ReceiptScanningLineItemAdded in version 8.2.0
Represents a single line item in a scanned receipt.
- constructor(name, unitPrice, discount, quantity, totalPrice)
constructor(name: string, unitPrice: number |
null, discount: number |null, quantity: number, totalPrice: number |null)Added in version 8.2.0
Constructs a new ReceiptScanningLineItem with the specified parameters.
- name
get name(): string
Added in version 8.2.0
The name or description of the item as it appears on the receipt.
- unitPrice
get unitPrice(): number | null
Added in version 8.2.0
Price for a single unit of the item. Is the same as the totalPrice if only one item is purchased.