Class CompoundExtraction

  • All Implemented Interfaces:
    android.os.Parcelable

    public class CompoundExtraction
    extends java.lang.Object
    implements android.os.Parcelable
    Created by Alpar Szotyori on 13.02.2020. Copyright (c) 2020 Gini GmbH.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface android.os.Parcelable

        android.os.Parcelable.ClassLoaderCreator<T extends java.lang.Object>, android.os.Parcelable.Creator<T extends java.lang.Object>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static android.os.Parcelable.Creator<CompoundExtraction> CREATOR  
      • Fields inherited from interface android.os.Parcelable

        CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected CompoundExtraction​(android.os.Parcel in)  
        CompoundExtraction​(java.lang.String name, java.util.List<java.util.Map<java.lang.String,​SpecificExtraction>> specificExtractionMaps)
      Value object for a compound extraction from the Gini API.
    • Field Detail

    • Constructor Detail

      • CompoundExtraction

        public CompoundExtraction​(@NonNull
                                  java.lang.String name,
                                  @NonNull
                                  java.util.List<java.util.Map<java.lang.String,​SpecificExtraction>> specificExtractionMaps)
        Value object for a compound extraction from the Gini API.
        Parameters:
        name - The compound extraction's name, e.g. "amountToPay".
        specificExtractionMaps - A list of specific extractions bundled into separate maps.
      • CompoundExtraction

        protected CompoundExtraction​(android.os.Parcel in)
    • Method Detail

      • getName

        @NonNull
        public java.lang.String getName()
      • getSpecificExtractionMaps

        @NonNull
        public java.util.List<java.util.Map<java.lang.String,​SpecificExtraction>> getSpecificExtractionMaps()
      • describeContents

        public int describeContents()
        Specified by:
        describeContents in interface android.os.Parcelable
      • writeToParcel

        public void writeToParcel​(@NonNull
                                  android.os.Parcel dest,
                                  int flags)
        Specified by:
        writeToParcel in interface android.os.Parcelable