ExtractionsContainer

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.

Constructors

ExtractionsContainer
Link copied to clipboard
void ExtractionsContainer(@NonNull() Map<String, SpecificExtraction> specificExtractions, @NonNull() Map<String, CompoundExtraction> compoundExtractions, @NonNull() List<ReturnReason> returnReasons)
Contains a document's extractions from the Gini API.

Functions

describeContents
Link copied to clipboard
int describeContents()
getCompoundExtractions
Link copied to clipboard
Map<String, CompoundExtractiongetCompoundExtractions()
getReturnReasons
Link copied to clipboard
List<ReturnReasongetReturnReasons()
getSpecificExtractions
Link copied to clipboard
Map<String, SpecificExtractiongetSpecificExtractions()
writeToParcel
Link copied to clipboard
void writeToParcel(@NonNull() Parcel dest, int flags)

Properties

CREATOR
Link copied to clipboard
public final static Parcelable.Creator<ExtractionsContainerCREATOR