public class ThreeDSecureLookup
extends java.lang.Object
implements android.os.Parcelable
| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<ThreeDSecureLookup> |
CREATOR |
| Constructor and Description |
|---|
ThreeDSecureLookup() |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
static ThreeDSecureLookup |
fromJson(java.lang.String jsonString)
Used to parse a response from the Braintree Gateway to be used for 3D Secure.
|
java.lang.String |
getAcsUrl() |
CardNonce |
getCardNonce() |
java.lang.String |
getMd() |
java.lang.String |
getPareq() |
java.lang.String |
getTermUrl() |
java.lang.String |
getThreeDSecureVersion() |
java.lang.String |
getTransactionId() |
boolean |
requiresUserAuthentication() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<ThreeDSecureLookup> CREATOR
public static ThreeDSecureLookup fromJson(java.lang.String jsonString) throws org.json.JSONException
jsonString - The json response from the Braintree Gateway 3D Secure lookup route.ThreeDSecureLookup to use when
performing 3D Secure authentication.org.json.JSONException - when parsing fails.public CardNonce getCardNonce()
CardNonce from the 3D Secure lookup.
If getAcsUrl() is null this card may be used immediately and will benefit
from 3D Secure.public java.lang.String getAcsUrl()
null in which case no
authentication will be performed.public java.lang.String getMd()
public java.lang.String getTermUrl()
public java.lang.String getPareq()
public java.lang.String getThreeDSecureVersion()
public java.lang.String getTransactionId()
public boolean requiresUserAuthentication()
boolean
When `true`, the user will be presented with a 3D Secure challenge when calling
ThreeDSecure.continuePerformVerification(BraintreeFragment, ThreeDSecureRequest, ThreeDSecureLookup)public int describeContents()
describeContents in interface android.os.Parcelablepublic void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.Parcelable