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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-textract/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

#label_detectionTypes::ExpenseDetection

The explicitly stated label of a detected element.



722
723
724
725
726
727
728
729
# File 'gems/aws-sdk-textract/lib/aws-sdk-textract/types.rb', line 722

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

#page_numberInteger

The page number the value was detected on.

Returns:

  • (Integer)


722
723
724
725
726
727
728
729
# File 'gems/aws-sdk-textract/lib/aws-sdk-textract/types.rb', line 722

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

#typeTypes::ExpenseType

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

Returns:



722
723
724
725
726
727
728
729
# File 'gems/aws-sdk-textract/lib/aws-sdk-textract/types.rb', line 722

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

#value_detectionTypes::ExpenseDetection

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



722
723
724
725
726
727
728
729
# File 'gems/aws-sdk-textract/lib/aws-sdk-textract/types.rb', line 722

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