public class ThreeDSecureRequest
extends java.lang.Object
implements android.os.Parcelable
| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<ThreeDSecureRequest> |
CREATOR |
static java.lang.String |
CREDIT |
static java.lang.String |
DEBIT |
static java.lang.String |
VERSION_1 |
static java.lang.String |
VERSION_2 |
| Constructor and Description |
|---|
ThreeDSecureRequest() |
ThreeDSecureRequest(android.os.Parcel in) |
| Modifier and Type | Method and Description |
|---|---|
ThreeDSecureRequest |
accountType(java.lang.String accountType)
Optional.
|
ThreeDSecureRequest |
additionalInformation(ThreeDSecureAdditionalInformation additionalInformation)
Optional.
|
ThreeDSecureRequest |
amount(java.lang.String amount)
Set the amount
|
ThreeDSecureRequest |
billingAddress(ThreeDSecurePostalAddress billingAddress)
Optional.
|
java.lang.String |
build(java.lang.String dfReferenceId) |
ThreeDSecureRequest |
challengeRequested(boolean challengeRequested)
Optional If set to true, the customer will be asked to complete the authentication challenge if possible
|
ThreeDSecureRequest |
dataOnlyRequested(boolean dataOnlyRequested) |
int |
describeContents() |
ThreeDSecureRequest |
email(java.lang.String email)
Optional.
|
ThreeDSecureRequest |
exemptionRequested(boolean exemptionRequested)
Optional If set to true, an exemption to the authentication challenge will be requested
|
java.lang.String |
getAccountType() |
ThreeDSecureAdditionalInformation |
getAdditionalInformation() |
java.lang.String |
getAmount() |
ThreeDSecurePostalAddress |
getBillingAddress() |
java.lang.String |
getEmail() |
java.lang.String |
getMobilePhoneNumber() |
java.lang.String |
getNonce() |
java.lang.String |
getShippingMethod() |
UiCustomization |
getUiCustomization() |
ThreeDSecureV1UiCustomization |
getV1UiCustomization() |
java.lang.String |
getVersionRequested() |
boolean |
isChallengeRequested() |
boolean |
isDataOnlyRequested() |
boolean |
isExemptionRequested() |
ThreeDSecureRequest |
mobilePhoneNumber(java.lang.String mobilePhoneNumber)
Optional.
|
ThreeDSecureRequest |
nonce(java.lang.String nonce)
Set the nonce
|
ThreeDSecureRequest |
shippingMethod(java.lang.String shippingMethod)
Optional.
|
ThreeDSecureRequest |
uiCustomization(UiCustomization uiCustomization)
Optional UI Customization for the 3DS2 challenge views.
|
ThreeDSecureRequest |
v1UiCustomization(ThreeDSecureV1UiCustomization v1UiCustomization)
Optional UI Customization for the 3DS1 challenge views.
|
ThreeDSecureRequest |
versionRequested(java.lang.String versionRequested)
Optional.
|
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final java.lang.String VERSION_1
public static final java.lang.String VERSION_2
public static final java.lang.String CREDIT
public static final java.lang.String DEBIT
public static final android.os.Parcelable.Creator<ThreeDSecureRequest> CREATOR
public ThreeDSecureRequest()
public ThreeDSecureRequest(android.os.Parcel in)
public ThreeDSecureRequest nonce(java.lang.String nonce)
nonce - The nonce that represents a card to perform a 3D Secure verification against.public ThreeDSecureRequest amount(java.lang.String amount)
amount - The amount of the transaction in the current merchant account's currency. This must be expressed in numbers with an optional decimal (using `.`) and precision up to the hundredths place. For example, if you're processing a transaction for 1.234,56 € then `amount` should be `1234.56`.public ThreeDSecureRequest mobilePhoneNumber(java.lang.String mobilePhoneNumber)
mobilePhoneNumber - The mobile phone number used for verification. Only numbers. Remove dashes, parentheses and other characters.public ThreeDSecureRequest email(java.lang.String email)
email - The email used for verification.public ThreeDSecureRequest shippingMethod(java.lang.String shippingMethod)
shippingMethod - The 2-digit string indicating the shipping method chosen for the transaction.public ThreeDSecureRequest billingAddress(ThreeDSecurePostalAddress billingAddress)
billingAddress - The billing address used for verification.public ThreeDSecureRequest versionRequested(java.lang.String versionRequested)
ThreeDSecureVersion.
VERSION_2 if ThreeDSecure V2 flows are desired, when possible.VERSION_1 if only ThreeDSecure V1 flows are desired. Default value.
Will default to VERSION_1.
versionRequested - ThreeDSecureVersion The desired ThreeDSecure version.public ThreeDSecureRequest accountType(java.lang.String accountType)
ThreeDSecureAccountType.accountType - ThreeDSecureAccountType The account type selected by the cardholder.public ThreeDSecureRequest additionalInformation(ThreeDSecureAdditionalInformation additionalInformation)
additionalInformation - Additional information.public ThreeDSecureRequest challengeRequested(boolean challengeRequested)
challengeRequested - decides if a challenge will be forced.public ThreeDSecureRequest dataOnlyRequested(boolean dataOnlyRequested)
public ThreeDSecureRequest exemptionRequested(boolean exemptionRequested)
exemptionRequested - decides if a exemption will be requested.public ThreeDSecureRequest uiCustomization(UiCustomization uiCustomization)
uiCustomization - specifies how 3DS2 challenge views should be customized.public ThreeDSecureRequest v1UiCustomization(ThreeDSecureV1UiCustomization v1UiCustomization)
v1UiCustomization - specifies how 3DS1 challenge views should be customized.public java.lang.String getNonce()
public java.lang.String getAmount()
public java.lang.String getMobilePhoneNumber()
public java.lang.String getEmail()
public java.lang.String getShippingMethod()
public ThreeDSecurePostalAddress getBillingAddress()
public java.lang.String getVersionRequested()
public java.lang.String getAccountType()
public ThreeDSecureAdditionalInformation getAdditionalInformation()
ThreeDSecureAdditionalInformation is only used for
VERSION_2 requests.public boolean isChallengeRequested()
public boolean isDataOnlyRequested()
public boolean isExemptionRequested()
public UiCustomization getUiCustomization()
public ThreeDSecureV1UiCustomization getV1UiCustomization()
public int describeContents()
describeContents in interface android.os.Parcelablepublic void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.Parcelablepublic java.lang.String build(java.lang.String dfReferenceId)
ThreeDSecureRequest for API use.