Interface OPPDeviceFingerprint

  • All Implemented Interfaces:

    
    public interface OPPDeviceFingerprint
    
                        

    Abstraction over a device-fingerprint collector that enriches a payment Transaction with a device identifier before the transaction is submitted.

    • 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
    • Constructor Detail

    • Method Detail

      • setDeviceFingerPrint

         abstract void setDeviceFingerPrint(@NonNull() Transaction transaction, @NonNull() OppPaymentProvider provider, @Nullable() CheckoutInfo info, @NonNull() FingerPrintListener listener)

        Collects the device fingerprint and applies it to transaction's payment params, then reports the (possibly enriched) transaction back through listener.

        Implementations must always invoke the listener — on success with a null error, on failure with a com.oppwa.mobile.connect.exception.PaymentError — so the caller's payment flow is never blocked by a fingerprinting failure.

        Parameters:
        transaction - the transaction to enrich
        provider - the payment provider
        info - the already-loaded checkout info, or null to fetch it via provider
        listener - the completion callback