Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data ExpenseField = ExpenseField' {}
- newExpenseField :: ExpenseField
- expenseField_labelDetection :: Lens' ExpenseField (Maybe ExpenseDetection)
- expenseField_valueDetection :: Lens' ExpenseField (Maybe ExpenseDetection)
- expenseField_type :: Lens' ExpenseField (Maybe ExpenseType)
- expenseField_pageNumber :: Lens' ExpenseField (Maybe Natural)
Documentation
data ExpenseField Source #
Breakdown of detected information, seperated into the catagories Type, LableDetection, and ValueDetection
See: newExpenseField
smart constructor.
ExpenseField' | |
|
Instances
newExpenseField :: ExpenseField Source #
Create a value of ExpenseField
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:labelDetection:ExpenseField'
, expenseField_labelDetection
- The explicitly stated label of a detected element.
$sel:valueDetection:ExpenseField'
, expenseField_valueDetection
- The value of a detected element. Present in explicit and implicit
elements.
$sel:type':ExpenseField'
, expenseField_type
- The implied label of a detected element. Present alongside
LabelDetection for explicit elements.
$sel:pageNumber:ExpenseField'
, expenseField_pageNumber
- The page number the value was detected on.
expenseField_labelDetection :: Lens' ExpenseField (Maybe ExpenseDetection) Source #
The explicitly stated label of a detected element.
expenseField_valueDetection :: Lens' ExpenseField (Maybe ExpenseDetection) Source #
The value of a detected element. Present in explicit and implicit elements.
expenseField_type :: Lens' ExpenseField (Maybe ExpenseType) Source #
The implied label of a detected element. Present alongside LabelDetection for explicit elements.
expenseField_pageNumber :: Lens' ExpenseField (Maybe Natural) Source #
The page number the value was detected on.