Total Price Text Builder

Defined in package com.scandit.datacapture.label

TotalPriceTextBuilder
class TotalPriceTextBuilder : TextFieldBuilder

Added in version 6.21.0

setDataTypePatterns(dataTypePatterns)
@NonNull TotalPriceTextBuilder setDataTypePatterns(
        @NonNull String dataTypePatterns)

Added in version 7.3.0

Sets the identifying text patterns (data type patterns) from a single string.

setDataTypePatterns(dataTypePatterns)
@NonNull TotalPriceTextBuilder setDataTypePatterns(
        @NonNull Iterable<@NonNull String> dataTypePatterns)

Added in version 7.3.0

Sets the identifying text patterns (data type patterns) from a list of strings.

setDataTypePattern(dataTypePattern)
@NonNull TotalPriceTextBuilder setDataTypePattern(@NonNull Regex dataTypePattern)

Added in version 7.3.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 pattern (e.g., when both packaging and expiry dates are present).

resetDataTypePatterns()
@NonNull TotalPriceTextBuilder resetDataTypePatterns()

Added in version 7.3.0

All pre-built fields come with default patterns and dataTypePatterns that are suitable for most use cases. Using either method is optional and will override the defaults.

This method can be used to remove the default dataTypePattern, allowing you to rely solely on the patterns for detection.

build(name)
@NonNull TotalPriceText build(@NonNull String name)

Added in version 6.21.0

getThis()
@NonNull TotalPriceTextBuilder getThis()

Added in version 6.21.0