Class: Aws::Textract::Types::ExpenseField

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-textract/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#currencyTypes::ExpenseCurrency

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



799
800
801
802
803
804
805
806
807
808
# File 'lib/aws-sdk-textract/types.rb', line 799

class ExpenseField < Struct.new(
  :type,
  :label_detection,
  :value_detection,
  :page_number,
  :currency,
  :group_properties)
  SENSITIVE = []
  include Aws::Structure
end

#group_propertiesArray<Types::ExpenseGroupProperty>

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.

Returns:



799
800
801
802
803
804
805
806
807
808
# File 'lib/aws-sdk-textract/types.rb', line 799

class ExpenseField < Struct.new(
  :type,
  :label_detection,
  :value_detection,
  :page_number,
  :currency,
  :group_properties)
  SENSITIVE = []
  include Aws::Structure
end

#label_detectionTypes::ExpenseDetection

The explicitly stated label of a detected element.



799
800
801
802
803
804
805
806
807
808
# File 'lib/aws-sdk-textract/types.rb', line 799

class ExpenseField < Struct.new(
  :type,
  :label_detection,
  :value_detection,
  :page_number,
  :currency,
  :group_properties)
  SENSITIVE = []
  include Aws::Structure
end

#page_numberInteger

The page number the value was detected on.

Returns:

  • (Integer)


799
800
801
802
803
804
805
806
807
808
# File 'lib/aws-sdk-textract/types.rb', line 799

class ExpenseField < Struct.new(
  :type,
  :label_detection,
  :value_detection,
  :page_number,
  :currency,
  :group_properties)
  SENSITIVE = []
  include Aws::Structure
end

#typeTypes::ExpenseType

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

Returns:



799
800
801
802
803
804
805
806
807
808
# File 'lib/aws-sdk-textract/types.rb', line 799

class ExpenseField < Struct.new(
  :type,
  :label_detection,
  :value_detection,
  :page_number,
  :currency,
  :group_properties)
  SENSITIVE = []
  include Aws::Structure
end

#value_detectionTypes::ExpenseDetection

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



799
800
801
802
803
804
805
806
807
808
# File 'lib/aws-sdk-textract/types.rb', line 799

class ExpenseField < Struct.new(
  :type,
  :label_detection,
  :value_detection,
  :page_number,
  :currency,
  :group_properties)
  SENSITIVE = []
  include Aws::Structure
end