Class CardHash

  • All Implemented Interfaces:
    android.os.Parcelable

    public class CardHash
    extends java.lang.Object
    implements android.os.Parcelable
    Contains data representing information about a generated card hash.
    Author:
    Creditcall Ltd
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  CardHash.Scope
      Scope defines the set of devices that would generate this same hash for a particular card.
      static class  CardHash.Source
      Source from where the CardHash was generated.
      • 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<CardHash> CREATOR  
      • Fields inherited from interface android.os.Parcelable

        CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
    • Constructor Summary

      Constructors 
      Constructor Description
      CardHash​(android.os.Parcel in)  
    • Field Detail

      • CREATOR

        public static final android.os.Parcelable.Creator<CardHash> CREATOR
    • Constructor Detail

      • CardHash

        public CardHash​(android.os.Parcel in)
    • Method Detail

      • getValue

        public java.lang.String getValue()
        Get the card hash value.
        Returns:
        The card hash value.
      • getScope

        public CardHash.Scope getScope()
        Scope defines the set of devices that would generate this same hash for a particular card.
        Returns:
        The scope of the card hash.
      • getSource

        public CardHash.Source getSource()
        Source from where the CardHash was generated.
        Returns:
        The source of the card hash.
      • writeToParcel

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

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