amazonka-textract-2.0: Amazon Textract SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Textract.Types.ExpenseField

Description

 
Synopsis

Documentation

data ExpenseField Source #

Breakdown of detected information, seperated into the catagories Type, LabelDetection, and ValueDetection

See: newExpenseField smart constructor.

Constructors

ExpenseField' 

Fields

Instances

Instances details
FromJSON ExpenseField Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseField

Generic ExpenseField Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseField

Associated Types

type Rep ExpenseField :: Type -> Type #

Read ExpenseField Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseField

Show ExpenseField Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseField

NFData ExpenseField Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseField

Methods

rnf :: ExpenseField -> () #

Eq ExpenseField Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseField

Hashable ExpenseField Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseField

type Rep ExpenseField Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseField

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:currency:ExpenseField', expenseField_currency - Shows the kind of currency, both the code and confidence associated with any monatary value detected.

$sel:groupProperties:ExpenseField', expenseField_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.

$sel:labelDetection:ExpenseField', expenseField_labelDetection - The explicitly stated label of a detected element.

$sel:pageNumber:ExpenseField', expenseField_pageNumber - The page number the value was detected on.

$sel:type':ExpenseField', expenseField_type - The implied label of a detected element. Present alongside LabelDetection for explicit elements.

$sel:valueDetection:ExpenseField', expenseField_valueDetection - The value of a detected element. Present in explicit and implicit elements.

expenseField_currency :: Lens' ExpenseField (Maybe ExpenseCurrency) Source #

Shows the kind of currency, both the code and confidence associated with any monatary value detected.

expenseField_groupProperties :: Lens' ExpenseField (Maybe [ExpenseGroupProperty]) Source #

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_labelDetection :: Lens' ExpenseField (Maybe ExpenseDetection) Source #

The explicitly stated label of a detected element.

expenseField_pageNumber :: Lens' ExpenseField (Maybe Natural) Source #

The page number the value was detected on.

expenseField_type :: Lens' ExpenseField (Maybe ExpenseType) Source #

The implied label of a detected element. Present alongside LabelDetection for explicit elements.

expenseField_valueDetection :: Lens' ExpenseField (Maybe ExpenseDetection) Source #

The value of a detected element. Present in explicit and implicit elements.