Interface ReplenishmentPrepService


public interface ReplenishmentPrepService
This interface contains the method Replenishment preparation.
  • Method Summary

    Modifier and Type
    Method
    Description
    This is a way to get DeviceCVMVerifier object for the cvm method of wallet Internally CHVerifierCreator is the SoftwareCHVerifierCreator responsible to create DeviceCVMVerifier Object according to BioFP or Device key guard authentication set for wallet
    void
    needsAuthentication(AuthenticationStateListener authenticationCheckerCallback)
    This method is to check if authentication is needed or not for replenishment of keys for specified token id of Visa LUK card installed and this card needs replenishment.
    void
    needsAuthentication(AuthenticationStateListener authenticationCheckerCallback, String tokenId)
    This method is to check if authentication is needed or not for replenishment of keys for specified token id of Visa LUK card installed and this card needs replenishment.
    void
    This method is to do the actual preparation for replenishment of the all required cards.
  • Method Details

    • needsAuthentication

      void needsAuthentication(AuthenticationStateListener authenticationCheckerCallback)
      This method is to check if authentication is needed or not for replenishment of keys for specified token id of Visa LUK card installed and this card needs replenishment. Null parameter on tokenId means any Visa card that needs to be replenished for LUK key
    • needsAuthentication

      void needsAuthentication(AuthenticationStateListener authenticationCheckerCallback, String tokenId)
      This method is to check if authentication is needed or not for replenishment of keys for specified token id of Visa LUK card installed and this card needs replenishment. Null parameter on tokenId means any Visa card that needs to be replenished for LUK key
      Parameters:
      tokenId - of card/token for which state is to be checked
    • prepareForReplenishment

      void prepareForReplenishment(ReplenishmentPrepListener listener)
      This method is to do the actual preparation for replenishment of the all required cards. Right now, the preparation needed is to calculate TVL for Visa LUK cards with no payment done on current LUK yet. This is to be called only after authentication (fingerprint or Device Keyguard) is successful.
      Parameters:
      listener - of preparation process @ReplenishmentPrepService
    • getDeviceCVMVerifier

      DeviceCVMVerifier getDeviceCVMVerifier()
      This is a way to get DeviceCVMVerifier object for the cvm method of wallet Internally CHVerifierCreator is the SoftwareCHVerifierCreator responsible to create DeviceCVMVerifier Object according to BioFP or Device key guard authentication set for wallet
      Returns:
      DeviceCVMVerifier object @DeviceCVMVerifier