-
- All Implemented Interfaces:
-
android.os.Parcelable
public class ExtractionsContainer implements Parcelable
The ExtractionsContainer contains specific extractions (e.g. "amountToPay"), compound extractions (e.g. "lineItems") and return reasons (used to allow users to specify in the Return Assistant why they return an item).
See the Gini API documentation for a list of the names of the specific extractions and compound specific extractions.
-
-
Field Summary
Fields Modifier and Type Field Description public final static Parcelable.Creator<ExtractionsContainer>CREATORpublic final static intCONTENTS_FILE_DESCRIPTORpublic final static intPARCELABLE_WRITE_RETURN_VALUE
-
Constructor Summary
Constructors Constructor Description ExtractionsContainer(Map<String, SpecificExtraction> specificExtractions, Map<String, CompoundExtraction> compoundExtractions)Contains a document's extractions from the Gini API.
-
Method Summary
Modifier and Type Method Description Map<String, SpecificExtraction>getSpecificExtractions()Map<String, CompoundExtraction>getCompoundExtractions()intdescribeContents()voidwriteToParcel(@NonNull() Parcel dest, int flags)-
-
Constructor Detail
-
ExtractionsContainer
ExtractionsContainer(Map<String, SpecificExtraction> specificExtractions, Map<String, CompoundExtraction> compoundExtractions)
Contains a document's extractions from the Gini API.
-
-
Method Detail
-
getSpecificExtractions
@NonNull() Map<String, SpecificExtraction> getSpecificExtractions()
-
getCompoundExtractions
@NonNull() Map<String, CompoundExtraction> getCompoundExtractions()
-
describeContents
int describeContents()
-
writeToParcel
void writeToParcel(@NonNull() Parcel dest, int flags)
-
-
-
-