Total Price Text
Defined in library scandit_datacapture_label
- TotalPriceText
class TotalPriceText : TextField
Added in version 7.2.0
A specialized text field for capturing total price information from labels. This predefined field type is optimized for recognizing price values typically found on retail product labels, receipts, and price tags.
Use the builder pattern with TotalPriceTextBuilder for convenient configuration.
- TotalPriceText(name)
TotalPriceText(String name)
Added in version 7.2.0
Builds a new instance of this class with the provided name.
- valueRegexes
List<String> get valueRegexes
Added in version 8.0.0
The regexes that identify the target string in the scanned content.
- isOptional
bool get isOptional
Added in version 7.2.0
Whether the field is optional or mandatory. This is helpful when certain fields may not be present on every scan.
- anchorRegexes
List<String> get anchorRegexes
Added in version 8.0.0
Used to specify keywords or phrases that help identify the context of the field. This is particularly useful when the label contains multiple fields that could match the same regex (e.g., when both packaging and expiry dates are present).