Package com.oppwa.mobile.connect.payment
Class DeviceIdForPaymentInfo
-
- All Implemented Interfaces:
-
android.os.Parcelable
public class DeviceIdForPaymentInfo implements Parcelable
Configuration for CyberSource device-fingerprint (device-ID) collection, delivered as part of the checkout info and later consumed by the fingerprint collector to enrich the transaction with a device identifier before the payment is submitted.
The values are supplied by the server and are opaque to the SDK:
- isEnable — whether device-ID collection is turned on for this checkout.
- getMerchantId — the merchant identifier passed to the fingerprint provider.
- getOrganizationId — the CyberSource organization identifier used to scope the fingerprint session.
- getFingerPrintSessionId — the per-checkout session identifier that ties the collected device data to this transaction.
- getFingerPrintSrcUrl — the source URL from which the fingerprint script/resources are loaded.
Instances are immutable and Parcelable, so they can be passed safely across process boundaries alongside the checkout info.
-
-
Field Summary
Fields Modifier and Type Field Description public final StringmerchantIdpublic final StringorganizationIdpublic final StringfingerPrintSessionIdpublic final StringfingerPrintSrcUrlpublic final static Parcelable.Creator<DeviceIdForPaymentInfo>CREATOR
-
Constructor Summary
Constructors Constructor Description DeviceIdForPaymentInfo(boolean enable, String merchantId, String organizationId, String fingerPrintSessionId, String fingerPrintSrcUrl)
-
Method Summary
Modifier and Type Method Description StringgetMerchantId()StringgetOrganizationId()StringgetFingerPrintSessionId()StringgetFingerPrintSrcUrl()booleanisEnable()voidwriteToParcel(@NonNull() Parcel dest, int flags)intdescribeContents()booleanequals(Object o)inthashCode()-
-
Method Detail
-
getMerchantId
String getMerchantId()
-
getOrganizationId
String getOrganizationId()
-
getFingerPrintSessionId
String getFingerPrintSessionId()
-
getFingerPrintSrcUrl
String getFingerPrintSrcUrl()
-
isEnable
boolean isEnable()
-
writeToParcel
void writeToParcel(@NonNull() Parcel dest, int flags)
-
describeContents
int describeContents()
-
hashCode
int hashCode()
-
-
-
-