public static interface ExpenseField.Builder extends SdkPojo, CopyableBuilder<ExpenseField.Builder,ExpenseField>
| Modifier and Type | Method and Description |
|---|---|
default ExpenseField.Builder |
currency(Consumer<ExpenseCurrency.Builder> currency)
Shows the kind of currency, both the code and confidence associated with any monatary value detected.
|
ExpenseField.Builder |
currency(ExpenseCurrency currency)
Shows the kind of currency, both the code and confidence associated with any monatary value detected.
|
ExpenseField.Builder |
groupProperties(Collection<ExpenseGroupProperty> groupProperties)
Shows which group a response object belongs to, such as whether an address line belongs to the vendor's
address or the recipent's address.
|
ExpenseField.Builder |
groupProperties(Consumer<ExpenseGroupProperty.Builder>... groupProperties)
Shows which group a response object belongs to, such as whether an address line belongs to the vendor's
address or the recipent's address.
|
ExpenseField.Builder |
groupProperties(ExpenseGroupProperty... groupProperties)
Shows which group a response object belongs to, such as whether an address line belongs to the vendor's
address or the recipent's address.
|
default ExpenseField.Builder |
labelDetection(Consumer<ExpenseDetection.Builder> labelDetection)
The explicitly stated label of a detected element.
|
ExpenseField.Builder |
labelDetection(ExpenseDetection labelDetection)
The explicitly stated label of a detected element.
|
ExpenseField.Builder |
pageNumber(Integer pageNumber)
The page number the value was detected on.
|
default ExpenseField.Builder |
type(Consumer<ExpenseType.Builder> type)
The implied label of a detected element.
|
ExpenseField.Builder |
type(ExpenseType type)
The implied label of a detected element.
|
default ExpenseField.Builder |
valueDetection(Consumer<ExpenseDetection.Builder> valueDetection)
The value of a detected element.
|
ExpenseField.Builder |
valueDetection(ExpenseDetection valueDetection)
The value of a detected element.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildExpenseField.Builder type(ExpenseType type)
The implied label of a detected element. Present alongside LabelDetection for explicit elements.
type - The implied label of a detected element. Present alongside LabelDetection for explicit elements.default ExpenseField.Builder type(Consumer<ExpenseType.Builder> type)
The implied label of a detected element. Present alongside LabelDetection for explicit elements.
This is a convenience method that creates an instance of theExpenseType.Builder avoiding the need to
create one manually via ExpenseType.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to type(ExpenseType).
type - a consumer that will call methods on ExpenseType.Buildertype(ExpenseType)ExpenseField.Builder labelDetection(ExpenseDetection labelDetection)
The explicitly stated label of a detected element.
labelDetection - The explicitly stated label of a detected element.default ExpenseField.Builder labelDetection(Consumer<ExpenseDetection.Builder> labelDetection)
The explicitly stated label of a detected element.
This is a convenience method that creates an instance of theExpenseDetection.Builder avoiding the
need to create one manually via ExpenseDetection.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to labelDetection(ExpenseDetection).
labelDetection - a consumer that will call methods on ExpenseDetection.BuilderlabelDetection(ExpenseDetection)ExpenseField.Builder valueDetection(ExpenseDetection valueDetection)
The value of a detected element. Present in explicit and implicit elements.
valueDetection - The value of a detected element. Present in explicit and implicit elements.default ExpenseField.Builder valueDetection(Consumer<ExpenseDetection.Builder> valueDetection)
The value of a detected element. Present in explicit and implicit elements.
This is a convenience method that creates an instance of theExpenseDetection.Builder avoiding the
need to create one manually via ExpenseDetection.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to valueDetection(ExpenseDetection).
valueDetection - a consumer that will call methods on ExpenseDetection.BuildervalueDetection(ExpenseDetection)ExpenseField.Builder pageNumber(Integer pageNumber)
The page number the value was detected on.
pageNumber - The page number the value was detected on.ExpenseField.Builder currency(ExpenseCurrency currency)
Shows the kind of currency, both the code and confidence associated with any monatary value detected.
currency - Shows the kind of currency, both the code and confidence associated with any monatary value detected.default ExpenseField.Builder currency(Consumer<ExpenseCurrency.Builder> currency)
Shows the kind of currency, both the code and confidence associated with any monatary value detected.
This is a convenience method that creates an instance of theExpenseCurrency.Builder avoiding the
need to create one manually via ExpenseCurrency.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to currency(ExpenseCurrency).
currency - a consumer that will call methods on ExpenseCurrency.Buildercurrency(ExpenseCurrency)ExpenseField.Builder groupProperties(Collection<ExpenseGroupProperty> groupProperties)
Shows which group a response object belongs to, such as whether an address line belongs to the vendor's address or the recipent's address.
groupProperties - Shows which group a response object belongs to, such as whether an address line belongs to the
vendor's address or the recipent's address.ExpenseField.Builder groupProperties(ExpenseGroupProperty... groupProperties)
Shows which group a response object belongs to, such as whether an address line belongs to the vendor's address or the recipent's address.
groupProperties - Shows which group a response object belongs to, such as whether an address line belongs to the
vendor's address or the recipent's address.ExpenseField.Builder groupProperties(Consumer<ExpenseGroupProperty.Builder>... groupProperties)
Shows which group a response object belongs to, such as whether an address line belongs to the vendor's address or the recipent's address.
This is a convenience method that creates an instance of theExpenseGroupProperty.Builder avoiding the need to
create one manually via ExpenseGroupProperty.builder()
.
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #groupProperties(List.
groupProperties - a consumer that will call methods on
ExpenseGroupProperty.Builder#groupProperties(java.util.Collection) Copyright © 2023. All rights reserved.