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.



1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
# File 'lib/aws-sdk-textract/types.rb', line 1224

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:



1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
# File 'lib/aws-sdk-textract/types.rb', line 1224

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.



1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
# File 'lib/aws-sdk-textract/types.rb', line 1224

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)


1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
# File 'lib/aws-sdk-textract/types.rb', line 1224

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:



1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
# File 'lib/aws-sdk-textract/types.rb', line 1224

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.



1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
# File 'lib/aws-sdk-textract/types.rb', line 1224

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