Class CyberSourceDeviceFingerprint
-
- All Implemented Interfaces:
-
com.oppwa.mobile.connect.payment.fingerprint.OPPDeviceFingerprint
public class CyberSourceDeviceFingerprint implements OPPDeviceFingerprint
OPPDeviceFingerprint implementation backed by CyberSource (ThreatMetrix TMX). Collects the TMX profiling session id and stores it on the transaction as
customer.browserFingerprint.id.
-
-
Constructor Summary
Constructors Constructor Description CyberSourceDeviceFingerprint(Context appContext)
-
Method Summary
Modifier and Type Method Description voidsetDeviceFingerPrint(@NonNull() Transaction transaction, @NonNull() OppPaymentProvider provider, @Nullable() CheckoutInfo checkoutInfo, @NonNull() FingerPrintListener listener)Runs a CyberSource TMX profile call, adds the resulting session id to the transaction's payment params, and reports the transaction back via listener.-
-
Constructor Detail
-
CyberSourceDeviceFingerprint
CyberSourceDeviceFingerprint(Context appContext)
-
-
Method Detail
-
setDeviceFingerPrint
void setDeviceFingerPrint(@NonNull() Transaction transaction, @NonNull() OppPaymentProvider provider, @Nullable() CheckoutInfo checkoutInfo, @NonNull() FingerPrintListener listener)
Runs a CyberSource TMX profile call, adds the resulting session id to the transaction's payment params, and reports the transaction back via
listener. Returns a PaymentError through the listener if required fields are missing, the TMX call throws, or no session id is returned.
-
-
-
-