Package net.gini.android.models
Class CompoundExtraction
- java.lang.Object
-
- net.gini.android.models.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.
-
-
Field Summary
Fields Modifier and Type Field Description static android.os.Parcelable.Creator<CompoundExtraction>
CREATOR
-
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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
describeContents()
java.lang.String
getName()
java.util.List<java.util.Map<java.lang.String,SpecificExtraction>>
getSpecificExtractionMaps()
void
writeToParcel(android.os.Parcel dest, int flags)
-
-
-
Field Detail
-
CREATOR
public static final android.os.Parcelable.Creator<CompoundExtraction> CREATOR
-
-
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 interfaceandroid.os.Parcelable
-
writeToParcel
public void writeToParcel(@NonNull android.os.Parcel dest, int flags)
- Specified by:
writeToParcel
in interfaceandroid.os.Parcelable
-
-