Class CardHash

java.lang.Object
com.creditcall.chipdnamobile.CardHash
All Implemented Interfaces:
android.os.Parcelable

public class CardHash extends 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 enum 
    Scope defines the set of devices that would generate this same hash for a particular card.
    static enum 
    Source from where the CardHash was generated.

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

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

    Fields
    Modifier and Type
    Field
    Description
    static final android.os.Parcelable.Creator<CardHash>
     

    Fields inherited from interface android.os.Parcelable

    CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
  • Constructor Summary

    Constructors
    Constructor
    Description
    CardHash(android.os.Parcel in)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    Scope defines the set of devices that would generate this same hash for a particular card.
    Source from where the CardHash was generated.
    Get the card hash value.
    void
    writeToParcel(android.os.Parcel dest, int flags)
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • CREATOR

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

    • CardHash

      public CardHash(android.os.Parcel in)
  • Method Details

    • getValue

      public 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