Package 

Class ExtractionMapper

  • All Implemented Interfaces:

    
    public final class ExtractionMapper
    
                        

    Helper class to map the Extraction from the Gini Bank API lib to the Gini Capture SDK's GiniCaptureExtraction and vice versa.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      static List<GiniCaptureExtraction> mapListToGiniCapture(@NonNull() List<Extraction> sourceList) Map a list of Extractions from the Gini Bank API lib to a list of Gini Capture SDK GiniCaptureExtractions.
      static GiniCaptureExtraction map(@NonNull() Extraction source) Map an Extraction from the Gini Bank API lib to the Gini Capture SDK's .
      static List<Extraction> mapListToApiSdk(@NonNull() List<GiniCaptureExtraction> sourceList) Map a list of GiniCaptureExtractions from the Gini Capture SDK to a list of Gini API SDK Extractions.
      static Extraction map(@NonNull() GiniCaptureExtraction source) Map a GiniCaptureExtraction from the Gini Capture SDK to the Gini Bank API lib's .
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • mapListToGiniCapture

        @NonNull() static List<GiniCaptureExtraction> mapListToGiniCapture(@NonNull() List<Extraction> sourceList)

        Map a list of Extractions from the Gini Bank API lib to a list of Gini Capture SDK GiniCaptureExtractions.

        Parameters:
        sourceList - list of Gini Bank API lib Extractions
      • map

        @NonNull() static GiniCaptureExtraction map(@NonNull() Extraction source)

        Map an Extraction from the Gini Bank API lib to the Gini Capture SDK's .

        Parameters:
        source - Gini Bank API lib Extraction
      • mapListToApiSdk

        @NonNull() static List<Extraction> mapListToApiSdk(@NonNull() List<GiniCaptureExtraction> sourceList)

        Map a list of GiniCaptureExtractions from the Gini Capture SDK to a list of Gini API SDK Extractions.

        Parameters:
        sourceList - list of Gini Capture SDK GiniCaptureExtractions
      • map

        @NonNull() static Extraction map(@NonNull() GiniCaptureExtraction source)

        Map a GiniCaptureExtraction from the Gini Capture SDK to the Gini Bank API lib's .

        Parameters:
        source - Gini Capture SDK GiniCaptureExtraction