Class ExpenseDetection

    • Method Detail

      • text

        public final String text()

        The word or line of text recognized by Amazon Textract

        Returns:
        The word or line of text recognized by Amazon Textract
      • geometry

        public final Geometry geometry()
        Returns the value of the Geometry property for this object.
        Returns:
        The value of the Geometry property for this object.
      • confidence

        public final Float confidence()

        The confidence in detection, as a percentage

        Returns:
        The confidence in detection, as a percentage
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)