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.ExpenseGroupProperty

Description

 
Synopsis

Documentation

data ExpenseGroupProperty Source #

Shows the group that a certain key belongs to. This helps differentiate between names and addresses for different organizations, that can be hard to determine via JSON response.

See: newExpenseGroupProperty smart constructor.

Constructors

ExpenseGroupProperty' 

Fields

  • id :: Maybe Text

    Provides a group Id number, which will be the same for each in the group.

  • types :: Maybe [Text]

    Informs you on whether the expense group is a name or an address.

Instances

Instances details
FromJSON ExpenseGroupProperty Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseGroupProperty

Generic ExpenseGroupProperty Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseGroupProperty

Associated Types

type Rep ExpenseGroupProperty :: Type -> Type #

Read ExpenseGroupProperty Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseGroupProperty

Show ExpenseGroupProperty Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseGroupProperty

NFData ExpenseGroupProperty Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseGroupProperty

Methods

rnf :: ExpenseGroupProperty -> () #

Eq ExpenseGroupProperty Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseGroupProperty

Hashable ExpenseGroupProperty Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseGroupProperty

type Rep ExpenseGroupProperty Source # 
Instance details

Defined in Amazonka.Textract.Types.ExpenseGroupProperty

type Rep ExpenseGroupProperty = D1 ('MetaData "ExpenseGroupProperty" "Amazonka.Textract.Types.ExpenseGroupProperty" "amazonka-textract-2.0-6i5mJlqzS4xCepXxXFK6UK" 'False) (C1 ('MetaCons "ExpenseGroupProperty'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "types") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))

newExpenseGroupProperty :: ExpenseGroupProperty Source #

Create a value of ExpenseGroupProperty 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:id:ExpenseGroupProperty', expenseGroupProperty_id - Provides a group Id number, which will be the same for each in the group.

$sel:types:ExpenseGroupProperty', expenseGroupProperty_types - Informs you on whether the expense group is a name or an address.

expenseGroupProperty_id :: Lens' ExpenseGroupProperty (Maybe Text) Source #

Provides a group Id number, which will be the same for each in the group.

expenseGroupProperty_types :: Lens' ExpenseGroupProperty (Maybe [Text]) Source #

Informs you on whether the expense group is a name or an address.