-
- All Implemented Interfaces:
-
android.os.Parcelable
public class ExtractionsContainer extends ExtractionsContainerThe 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 Bank 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 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, List<ReturnReason> returnReasons)Contains a document's extractions from the Gini Bank API.
-
Method Summary
Modifier and Type Method Description List<ReturnReason>getReturnReasons()intdescribeContents()voidwriteToParcel(@NonNull() Parcel dest, int flags)-
-
Method Detail
-
getReturnReasons
@NonNull() List<ReturnReason> getReturnReasons()
-
describeContents
int describeContents()
-
writeToParcel
void writeToParcel(@NonNull() Parcel dest, int flags)
-
-
-
-