Package com.adyen.model.payment
Class ThreeDS2RequestData
- java.lang.Object
-
- com.adyen.model.payment.ThreeDS2RequestData
-
public class ThreeDS2RequestData extends Object
ThreeDS2RequestData
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classThreeDS2RequestData.AcctTypeEnumIndicates the type of account.static classThreeDS2RequestData.AddrMatchEnumIndicates whether the Cardholder Shipping Address and Cardholder Billing Address are the same.static classThreeDS2RequestData.ChallengeIndicatorEnumPossibility to specify a preference for receiving a challenge from the issuer.static classThreeDS2RequestData.ThreeDSRequestorChallengeIndEnumIndicates whether a challenge is requested for this transaction.static classThreeDS2RequestData.TransactionTypeEnumIdentify the type of the transaction being authenticated.static classThreeDS2RequestData.TransTypeEnumIdentifies the type of transaction being authenticated.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ThreeDS2RequestData()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ThreeDS2RequestDataacctInfo(AcctInfo acctInfo)acctInfoThreeDS2RequestDataacctType(ThreeDS2RequestData.AcctTypeEnum acctType)Indicates the type of account.ThreeDS2RequestDataacquirerBIN(String acquirerBIN)Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only).ThreeDS2RequestDataacquirerMerchantID(String acquirerMerchantID)Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only).ThreeDS2RequestDataaddrMatch(ThreeDS2RequestData.AddrMatchEnum addrMatch)Indicates whether the Cardholder Shipping Address and Cardholder Billing Address are the same.ThreeDS2RequestDataauthenticationOnly(Boolean authenticationOnly)Deprecated.since Adyen Payment API v50 Use `threeDSAuthenticationOnly` instead.ThreeDS2RequestDatachallengeIndicator(ThreeDS2RequestData.ChallengeIndicatorEnum challengeIndicator)Deprecated.since Adyen Payment API v68 Use `threeDSRequestorChallengeInd` instead.ThreeDS2RequestDatadeviceChannel(String deviceChannel)The environment of the shopper.ThreeDS2RequestDatadeviceRenderOptions(DeviceRenderOptions deviceRenderOptions)deviceRenderOptionsbooleanequals(Object o)Return true if this ThreeDS2RequestData object is equal to o.static ThreeDS2RequestDatafromJson(String jsonString)Create an instance of ThreeDS2RequestData given an JSON stringAcctInfogetAcctInfo()acctInfoThreeDS2RequestData.AcctTypeEnumgetAcctType()Indicates the type of account.StringgetAcquirerBIN()Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only).StringgetAcquirerMerchantID()Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only).ThreeDS2RequestData.AddrMatchEnumgetAddrMatch()Indicates whether the Cardholder Shipping Address and Cardholder Billing Address are the same.BooleangetAuthenticationOnly()Deprecated.since Adyen Payment API v50 Use `threeDSAuthenticationOnly` instead.ThreeDS2RequestData.ChallengeIndicatorEnumgetChallengeIndicator()Deprecated.since Adyen Payment API v68 Use `threeDSRequestorChallengeInd` instead.StringgetDeviceChannel()The environment of the shopper.DeviceRenderOptionsgetDeviceRenderOptions()deviceRenderOptionsPhonegetHomePhone()homePhoneStringgetMcc()Required for merchants that have been enrolled for 3D Secure 2 by another party than Adyen, mostly [authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only).StringgetMerchantName()Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only).StringgetMessageVersion()The `messageVersion` value indicating the 3D Secure 2 protocol version.PhonegetMobilePhone()mobilePhoneStringgetNotificationURL()URL to where the issuer should send the `CRes`.StringgetPaymentAuthenticationUseCase()Indicates the type of payment for which an authentication is requested (message extension)BooleangetPayTokenInd()Value **true** indicates that the transaction was de-tokenised prior to being received by the ACS.StringgetPurchaseInstalData()Indicates the maximum number of authorisations permitted for instalment payments.StringgetRecurringExpiry()Date after which no further authorisations shall be performed.StringgetRecurringFrequency()Indicates the minimum number of days between authorisations.StringgetSdkAppID()The `sdkAppID` value as received from the 3D Secure 2 SDK.StringgetSdkEncData()The `sdkEncData` value as received from the 3D Secure 2 SDK.SDKEphemPubKeygetSdkEphemPubKey()sdkEphemPubKeyIntegergetSdkMaxTimeout()The maximum amount of time in minutes for the 3D Secure 2 authentication process.StringgetSdkReferenceNumber()The `sdkReferenceNumber` value as received from the 3D Secure 2 SDK.StringgetSdkTransID()The `sdkTransID` value as received from the 3D Secure 2 SDK.StringgetSdkVersion()Version of the 3D Secure 2 mobile SDK.StringgetThreeDSCompInd()Completion indicator for the device fingerprinting.StringgetThreeDSRequestorAuthenticationInd()Indicates the type of Authentication request.ThreeDSRequestorAuthenticationInfogetThreeDSRequestorAuthenticationInfo()threeDSRequestorAuthenticationInfoThreeDS2RequestData.ThreeDSRequestorChallengeIndEnumgetThreeDSRequestorChallengeInd()Indicates whether a challenge is requested for this transaction.StringgetThreeDSRequestorID()Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only) for Visa.StringgetThreeDSRequestorName()Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only) for Visa.ThreeDSRequestorPriorAuthenticationInfogetThreeDSRequestorPriorAuthenticationInfo()threeDSRequestorPriorAuthenticationInfoStringgetThreeDSRequestorURL()URL of the (customer service) website that will be shown to the shopper in case of technical errors during the 3D Secure 2 process.ThreeDS2RequestData.TransactionTypeEnumgetTransactionType()Identify the type of the transaction being authenticated.ThreeDS2RequestData.TransTypeEnumgetTransType()Identifies the type of transaction being authenticated.StringgetWhiteListStatus()The `whiteListStatus` value returned from a previous 3D Secure 2 transaction, only applicable for 3D Secure 2 protocol version 2.2.0.PhonegetWorkPhone()workPhoneinthashCode()ThreeDS2RequestDatahomePhone(Phone homePhone)homePhoneThreeDS2RequestDatamcc(String mcc)Required for merchants that have been enrolled for 3D Secure 2 by another party than Adyen, mostly [authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only).ThreeDS2RequestDatamerchantName(String merchantName)Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only).ThreeDS2RequestDatamessageVersion(String messageVersion)The `messageVersion` value indicating the 3D Secure 2 protocol version.ThreeDS2RequestDatamobilePhone(Phone mobilePhone)mobilePhoneThreeDS2RequestDatanotificationURL(String notificationURL)URL to where the issuer should send the `CRes`.ThreeDS2RequestDatapaymentAuthenticationUseCase(String paymentAuthenticationUseCase)Indicates the type of payment for which an authentication is requested (message extension)ThreeDS2RequestDatapayTokenInd(Boolean payTokenInd)Value **true** indicates that the transaction was de-tokenised prior to being received by the ACS.ThreeDS2RequestDatapurchaseInstalData(String purchaseInstalData)Indicates the maximum number of authorisations permitted for instalment payments.ThreeDS2RequestDatarecurringExpiry(String recurringExpiry)Date after which no further authorisations shall be performed.ThreeDS2RequestDatarecurringFrequency(String recurringFrequency)Indicates the minimum number of days between authorisations.ThreeDS2RequestDatasdkAppID(String sdkAppID)The `sdkAppID` value as received from the 3D Secure 2 SDK.ThreeDS2RequestDatasdkEncData(String sdkEncData)The `sdkEncData` value as received from the 3D Secure 2 SDK.ThreeDS2RequestDatasdkEphemPubKey(SDKEphemPubKey sdkEphemPubKey)sdkEphemPubKeyThreeDS2RequestDatasdkMaxTimeout(Integer sdkMaxTimeout)The maximum amount of time in minutes for the 3D Secure 2 authentication process.ThreeDS2RequestDatasdkReferenceNumber(String sdkReferenceNumber)The `sdkReferenceNumber` value as received from the 3D Secure 2 SDK.ThreeDS2RequestDatasdkTransID(String sdkTransID)The `sdkTransID` value as received from the 3D Secure 2 SDK.ThreeDS2RequestDatasdkVersion(String sdkVersion)Version of the 3D Secure 2 mobile SDK.voidsetAcctInfo(AcctInfo acctInfo)acctInfovoidsetAcctType(ThreeDS2RequestData.AcctTypeEnum acctType)Indicates the type of account.voidsetAcquirerBIN(String acquirerBIN)Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only).voidsetAcquirerMerchantID(String acquirerMerchantID)Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only).voidsetAddrMatch(ThreeDS2RequestData.AddrMatchEnum addrMatch)Indicates whether the Cardholder Shipping Address and Cardholder Billing Address are the same.voidsetAuthenticationOnly(Boolean authenticationOnly)Deprecated.since Adyen Payment API v50 Use `threeDSAuthenticationOnly` instead.voidsetChallengeIndicator(ThreeDS2RequestData.ChallengeIndicatorEnum challengeIndicator)Deprecated.since Adyen Payment API v68 Use `threeDSRequestorChallengeInd` instead.voidsetDeviceChannel(String deviceChannel)The environment of the shopper.voidsetDeviceRenderOptions(DeviceRenderOptions deviceRenderOptions)deviceRenderOptionsvoidsetHomePhone(Phone homePhone)homePhonevoidsetMcc(String mcc)Required for merchants that have been enrolled for 3D Secure 2 by another party than Adyen, mostly [authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only).voidsetMerchantName(String merchantName)Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only).voidsetMessageVersion(String messageVersion)The `messageVersion` value indicating the 3D Secure 2 protocol version.voidsetMobilePhone(Phone mobilePhone)mobilePhonevoidsetNotificationURL(String notificationURL)URL to where the issuer should send the `CRes`.voidsetPaymentAuthenticationUseCase(String paymentAuthenticationUseCase)Indicates the type of payment for which an authentication is requested (message extension)voidsetPayTokenInd(Boolean payTokenInd)Value **true** indicates that the transaction was de-tokenised prior to being received by the ACS.voidsetPurchaseInstalData(String purchaseInstalData)Indicates the maximum number of authorisations permitted for instalment payments.voidsetRecurringExpiry(String recurringExpiry)Date after which no further authorisations shall be performed.voidsetRecurringFrequency(String recurringFrequency)Indicates the minimum number of days between authorisations.voidsetSdkAppID(String sdkAppID)The `sdkAppID` value as received from the 3D Secure 2 SDK.voidsetSdkEncData(String sdkEncData)The `sdkEncData` value as received from the 3D Secure 2 SDK.voidsetSdkEphemPubKey(SDKEphemPubKey sdkEphemPubKey)sdkEphemPubKeyvoidsetSdkMaxTimeout(Integer sdkMaxTimeout)The maximum amount of time in minutes for the 3D Secure 2 authentication process.voidsetSdkReferenceNumber(String sdkReferenceNumber)The `sdkReferenceNumber` value as received from the 3D Secure 2 SDK.voidsetSdkTransID(String sdkTransID)The `sdkTransID` value as received from the 3D Secure 2 SDK.voidsetSdkVersion(String sdkVersion)Version of the 3D Secure 2 mobile SDK.voidsetThreeDSCompInd(String threeDSCompInd)Completion indicator for the device fingerprinting.voidsetThreeDSRequestorAuthenticationInd(String threeDSRequestorAuthenticationInd)Indicates the type of Authentication request.voidsetThreeDSRequestorAuthenticationInfo(ThreeDSRequestorAuthenticationInfo threeDSRequestorAuthenticationInfo)threeDSRequestorAuthenticationInfovoidsetThreeDSRequestorChallengeInd(ThreeDS2RequestData.ThreeDSRequestorChallengeIndEnum threeDSRequestorChallengeInd)Indicates whether a challenge is requested for this transaction.voidsetThreeDSRequestorID(String threeDSRequestorID)Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only) for Visa.voidsetThreeDSRequestorName(String threeDSRequestorName)Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only) for Visa.voidsetThreeDSRequestorPriorAuthenticationInfo(ThreeDSRequestorPriorAuthenticationInfo threeDSRequestorPriorAuthenticationInfo)threeDSRequestorPriorAuthenticationInfovoidsetThreeDSRequestorURL(String threeDSRequestorURL)URL of the (customer service) website that will be shown to the shopper in case of technical errors during the 3D Secure 2 process.voidsetTransactionType(ThreeDS2RequestData.TransactionTypeEnum transactionType)Identify the type of the transaction being authenticated.voidsetTransType(ThreeDS2RequestData.TransTypeEnum transType)Identifies the type of transaction being authenticated.voidsetWhiteListStatus(String whiteListStatus)The `whiteListStatus` value returned from a previous 3D Secure 2 transaction, only applicable for 3D Secure 2 protocol version 2.2.0.voidsetWorkPhone(Phone workPhone)workPhoneThreeDS2RequestDatathreeDSCompInd(String threeDSCompInd)Completion indicator for the device fingerprinting.ThreeDS2RequestDatathreeDSRequestorAuthenticationInd(String threeDSRequestorAuthenticationInd)Indicates the type of Authentication request.ThreeDS2RequestDatathreeDSRequestorAuthenticationInfo(ThreeDSRequestorAuthenticationInfo threeDSRequestorAuthenticationInfo)threeDSRequestorAuthenticationInfoThreeDS2RequestDatathreeDSRequestorChallengeInd(ThreeDS2RequestData.ThreeDSRequestorChallengeIndEnum threeDSRequestorChallengeInd)Indicates whether a challenge is requested for this transaction.ThreeDS2RequestDatathreeDSRequestorID(String threeDSRequestorID)Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only) for Visa.ThreeDS2RequestDatathreeDSRequestorName(String threeDSRequestorName)Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only) for Visa.ThreeDS2RequestDatathreeDSRequestorPriorAuthenticationInfo(ThreeDSRequestorPriorAuthenticationInfo threeDSRequestorPriorAuthenticationInfo)threeDSRequestorPriorAuthenticationInfoThreeDS2RequestDatathreeDSRequestorURL(String threeDSRequestorURL)URL of the (customer service) website that will be shown to the shopper in case of technical errors during the 3D Secure 2 process.StringtoJson()Convert an instance of ThreeDS2RequestData to an JSON stringStringtoString()ThreeDS2RequestDatatransactionType(ThreeDS2RequestData.TransactionTypeEnum transactionType)Identify the type of the transaction being authenticated.ThreeDS2RequestDatatransType(ThreeDS2RequestData.TransTypeEnum transType)Identifies the type of transaction being authenticated.ThreeDS2RequestDatawhiteListStatus(String whiteListStatus)The `whiteListStatus` value returned from a previous 3D Secure 2 transaction, only applicable for 3D Secure 2 protocol version 2.2.0.ThreeDS2RequestDataworkPhone(Phone workPhone)workPhone
-
-
-
Field Detail
-
JSON_PROPERTY_ACCT_INFO
public static final String JSON_PROPERTY_ACCT_INFO
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ACCT_TYPE
public static final String JSON_PROPERTY_ACCT_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ACQUIRER_B_I_N
public static final String JSON_PROPERTY_ACQUIRER_B_I_N
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ACQUIRER_MERCHANT_I_D
public static final String JSON_PROPERTY_ACQUIRER_MERCHANT_I_D
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ADDR_MATCH
public static final String JSON_PROPERTY_ADDR_MATCH
- See Also:
- Constant Field Values
-
JSON_PROPERTY_AUTHENTICATION_ONLY
public static final String JSON_PROPERTY_AUTHENTICATION_ONLY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CHALLENGE_INDICATOR
public static final String JSON_PROPERTY_CHALLENGE_INDICATOR
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DEVICE_CHANNEL
public static final String JSON_PROPERTY_DEVICE_CHANNEL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DEVICE_RENDER_OPTIONS
public static final String JSON_PROPERTY_DEVICE_RENDER_OPTIONS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_HOME_PHONE
public static final String JSON_PROPERTY_HOME_PHONE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MCC
public static final String JSON_PROPERTY_MCC
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MERCHANT_NAME
public static final String JSON_PROPERTY_MERCHANT_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MESSAGE_VERSION
public static final String JSON_PROPERTY_MESSAGE_VERSION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MOBILE_PHONE
public static final String JSON_PROPERTY_MOBILE_PHONE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NOTIFICATION_U_R_L
public static final String JSON_PROPERTY_NOTIFICATION_U_R_L
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAY_TOKEN_IND
public static final String JSON_PROPERTY_PAY_TOKEN_IND
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAYMENT_AUTHENTICATION_USE_CASE
public static final String JSON_PROPERTY_PAYMENT_AUTHENTICATION_USE_CASE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PURCHASE_INSTAL_DATA
public static final String JSON_PROPERTY_PURCHASE_INSTAL_DATA
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RECURRING_EXPIRY
public static final String JSON_PROPERTY_RECURRING_EXPIRY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RECURRING_FREQUENCY
public static final String JSON_PROPERTY_RECURRING_FREQUENCY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SDK_APP_I_D
public static final String JSON_PROPERTY_SDK_APP_I_D
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SDK_ENC_DATA
public static final String JSON_PROPERTY_SDK_ENC_DATA
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SDK_EPHEM_PUB_KEY
public static final String JSON_PROPERTY_SDK_EPHEM_PUB_KEY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SDK_MAX_TIMEOUT
public static final String JSON_PROPERTY_SDK_MAX_TIMEOUT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SDK_REFERENCE_NUMBER
public static final String JSON_PROPERTY_SDK_REFERENCE_NUMBER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SDK_TRANS_I_D
public static final String JSON_PROPERTY_SDK_TRANS_I_D
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SDK_VERSION
public static final String JSON_PROPERTY_SDK_VERSION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_THREE_D_S_COMP_IND
public static final String JSON_PROPERTY_THREE_D_S_COMP_IND
- See Also:
- Constant Field Values
-
JSON_PROPERTY_THREE_D_S_REQUESTOR_AUTHENTICATION_IND
public static final String JSON_PROPERTY_THREE_D_S_REQUESTOR_AUTHENTICATION_IND
- See Also:
- Constant Field Values
-
JSON_PROPERTY_THREE_D_S_REQUESTOR_AUTHENTICATION_INFO
public static final String JSON_PROPERTY_THREE_D_S_REQUESTOR_AUTHENTICATION_INFO
- See Also:
- Constant Field Values
-
JSON_PROPERTY_THREE_D_S_REQUESTOR_CHALLENGE_IND
public static final String JSON_PROPERTY_THREE_D_S_REQUESTOR_CHALLENGE_IND
- See Also:
- Constant Field Values
-
JSON_PROPERTY_THREE_D_S_REQUESTOR_I_D
public static final String JSON_PROPERTY_THREE_D_S_REQUESTOR_I_D
- See Also:
- Constant Field Values
-
JSON_PROPERTY_THREE_D_S_REQUESTOR_NAME
public static final String JSON_PROPERTY_THREE_D_S_REQUESTOR_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_THREE_D_S_REQUESTOR_PRIOR_AUTHENTICATION_INFO
public static final String JSON_PROPERTY_THREE_D_S_REQUESTOR_PRIOR_AUTHENTICATION_INFO
- See Also:
- Constant Field Values
-
JSON_PROPERTY_THREE_D_S_REQUESTOR_U_R_L
public static final String JSON_PROPERTY_THREE_D_S_REQUESTOR_U_R_L
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TRANS_TYPE
public static final String JSON_PROPERTY_TRANS_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TRANSACTION_TYPE
public static final String JSON_PROPERTY_TRANSACTION_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_WHITE_LIST_STATUS
public static final String JSON_PROPERTY_WHITE_LIST_STATUS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_WORK_PHONE
public static final String JSON_PROPERTY_WORK_PHONE
- See Also:
- Constant Field Values
-
-
Method Detail
-
acctInfo
public ThreeDS2RequestData acctInfo(AcctInfo acctInfo)
acctInfo- Parameters:
acctInfo-- Returns:
- the current
ThreeDS2RequestDatainstance, allowing for method chaining
-
getAcctInfo
public AcctInfo getAcctInfo()
acctInfo- Returns:
- acctInfo
-
setAcctInfo
public void setAcctInfo(AcctInfo acctInfo)
acctInfo- Parameters:
acctInfo-
-
acctType
public ThreeDS2RequestData acctType(ThreeDS2RequestData.AcctTypeEnum acctType)
Indicates the type of account. For example, for a multi-account card product. Length: 2 characters. Allowed values: * **01** — Not applicable * **02** — Credit * **03** — Debit- Parameters:
acctType-- Returns:
- the current
ThreeDS2RequestDatainstance, allowing for method chaining
-
getAcctType
public ThreeDS2RequestData.AcctTypeEnum getAcctType()
Indicates the type of account. For example, for a multi-account card product. Length: 2 characters. Allowed values: * **01** — Not applicable * **02** — Credit * **03** — Debit- Returns:
- acctType
-
setAcctType
public void setAcctType(ThreeDS2RequestData.AcctTypeEnum acctType)
Indicates the type of account. For example, for a multi-account card product. Length: 2 characters. Allowed values: * **01** — Not applicable * **02** — Credit * **03** — Debit- Parameters:
acctType-
-
acquirerBIN
public ThreeDS2RequestData acquirerBIN(String acquirerBIN)
Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The acquiring BIN enrolled for 3D Secure 2. This string should match the value that you will use in the authorisation. Use 123456 on the Test platform.- Parameters:
acquirerBIN-- Returns:
- the current
ThreeDS2RequestDatainstance, allowing for method chaining
-
getAcquirerBIN
public String getAcquirerBIN()
Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The acquiring BIN enrolled for 3D Secure 2. This string should match the value that you will use in the authorisation. Use 123456 on the Test platform.- Returns:
- acquirerBIN
-
setAcquirerBIN
public void setAcquirerBIN(String acquirerBIN)
Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The acquiring BIN enrolled for 3D Secure 2. This string should match the value that you will use in the authorisation. Use 123456 on the Test platform.- Parameters:
acquirerBIN-
-
acquirerMerchantID
public ThreeDS2RequestData acquirerMerchantID(String acquirerMerchantID)
Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The merchantId that is enrolled for 3D Secure 2 by the merchant's acquirer. This string should match the value that you will use in the authorisation. Use 123456 on the Test platform.- Parameters:
acquirerMerchantID-- Returns:
- the current
ThreeDS2RequestDatainstance, allowing for method chaining
-
getAcquirerMerchantID
public String getAcquirerMerchantID()
Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The merchantId that is enrolled for 3D Secure 2 by the merchant's acquirer. This string should match the value that you will use in the authorisation. Use 123456 on the Test platform.- Returns:
- acquirerMerchantID
-
setAcquirerMerchantID
public void setAcquirerMerchantID(String acquirerMerchantID)
Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The merchantId that is enrolled for 3D Secure 2 by the merchant's acquirer. This string should match the value that you will use in the authorisation. Use 123456 on the Test platform.- Parameters:
acquirerMerchantID-
-
addrMatch
public ThreeDS2RequestData addrMatch(ThreeDS2RequestData.AddrMatchEnum addrMatch)
Indicates whether the Cardholder Shipping Address and Cardholder Billing Address are the same. Allowed values: * **Y** — Shipping Address matches Billing Address. * **N** — Shipping Address does not match Billing Address.- Parameters:
addrMatch-- Returns:
- the current
ThreeDS2RequestDatainstance, allowing for method chaining
-
getAddrMatch
public ThreeDS2RequestData.AddrMatchEnum getAddrMatch()
Indicates whether the Cardholder Shipping Address and Cardholder Billing Address are the same. Allowed values: * **Y** — Shipping Address matches Billing Address. * **N** — Shipping Address does not match Billing Address.- Returns:
- addrMatch
-
setAddrMatch
public void setAddrMatch(ThreeDS2RequestData.AddrMatchEnum addrMatch)
Indicates whether the Cardholder Shipping Address and Cardholder Billing Address are the same. Allowed values: * **Y** — Shipping Address matches Billing Address. * **N** — Shipping Address does not match Billing Address.- Parameters:
addrMatch-
-
authenticationOnly
@Deprecated public ThreeDS2RequestData authenticationOnly(Boolean authenticationOnly)
Deprecated.since Adyen Payment API v50 Use `threeDSAuthenticationOnly` instead.If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation.- Parameters:
authenticationOnly-- Returns:
- the current
ThreeDS2RequestDatainstance, allowing for method chaining
-
getAuthenticationOnly
@Deprecated public Boolean getAuthenticationOnly()
Deprecated.since Adyen Payment API v50 Use `threeDSAuthenticationOnly` instead.If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation.- Returns:
- authenticationOnly
-
setAuthenticationOnly
@Deprecated public void setAuthenticationOnly(Boolean authenticationOnly)
Deprecated.since Adyen Payment API v50 Use `threeDSAuthenticationOnly` instead.If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation.- Parameters:
authenticationOnly-
-
challengeIndicator
@Deprecated public ThreeDS2RequestData challengeIndicator(ThreeDS2RequestData.ChallengeIndicatorEnum challengeIndicator)
Deprecated.since Adyen Payment API v68 Use `threeDSRequestorChallengeInd` instead.Possibility to specify a preference for receiving a challenge from the issuer. Allowed values: * `noPreference` * `requestNoChallenge` * `requestChallenge` * `requestChallengeAsMandate`- Parameters:
challengeIndicator-- Returns:
- the current
ThreeDS2RequestDatainstance, allowing for method chaining
-
getChallengeIndicator
@Deprecated public ThreeDS2RequestData.ChallengeIndicatorEnum getChallengeIndicator()
Deprecated.since Adyen Payment API v68 Use `threeDSRequestorChallengeInd` instead.Possibility to specify a preference for receiving a challenge from the issuer. Allowed values: * `noPreference` * `requestNoChallenge` * `requestChallenge` * `requestChallengeAsMandate`- Returns:
- challengeIndicator
-
setChallengeIndicator
@Deprecated public void setChallengeIndicator(ThreeDS2RequestData.ChallengeIndicatorEnum challengeIndicator)
Deprecated.since Adyen Payment API v68 Use `threeDSRequestorChallengeInd` instead.Possibility to specify a preference for receiving a challenge from the issuer. Allowed values: * `noPreference` * `requestNoChallenge` * `requestChallenge` * `requestChallengeAsMandate`- Parameters:
challengeIndicator-
-
deviceChannel
public ThreeDS2RequestData deviceChannel(String deviceChannel)
The environment of the shopper. Allowed values: * `app` * `browser`- Parameters:
deviceChannel-- Returns:
- the current
ThreeDS2RequestDatainstance, allowing for method chaining
-
getDeviceChannel
public String getDeviceChannel()
The environment of the shopper. Allowed values: * `app` * `browser`- Returns:
- deviceChannel
-
setDeviceChannel
public void setDeviceChannel(String deviceChannel)
The environment of the shopper. Allowed values: * `app` * `browser`- Parameters:
deviceChannel-
-
deviceRenderOptions
public ThreeDS2RequestData deviceRenderOptions(DeviceRenderOptions deviceRenderOptions)
deviceRenderOptions- Parameters:
deviceRenderOptions-- Returns:
- the current
ThreeDS2RequestDatainstance, allowing for method chaining
-
getDeviceRenderOptions
public DeviceRenderOptions getDeviceRenderOptions()
deviceRenderOptions- Returns:
- deviceRenderOptions
-
setDeviceRenderOptions
public void setDeviceRenderOptions(DeviceRenderOptions deviceRenderOptions)
deviceRenderOptions- Parameters:
deviceRenderOptions-
-
homePhone
public ThreeDS2RequestData homePhone(Phone homePhone)
homePhone- Parameters:
homePhone-- Returns:
- the current
ThreeDS2RequestDatainstance, allowing for method chaining
-
getHomePhone
public Phone getHomePhone()
homePhone- Returns:
- homePhone
-
setHomePhone
public void setHomePhone(Phone homePhone)
homePhone- Parameters:
homePhone-
-
mcc
public ThreeDS2RequestData mcc(String mcc)
Required for merchants that have been enrolled for 3D Secure 2 by another party than Adyen, mostly [authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The `mcc` is a four-digit code with which the previously given `acquirerMerchantID` is registered at the scheme.- Parameters:
mcc-- Returns:
- the current
ThreeDS2RequestDatainstance, allowing for method chaining
-
getMcc
public String getMcc()
Required for merchants that have been enrolled for 3D Secure 2 by another party than Adyen, mostly [authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The `mcc` is a four-digit code with which the previously given `acquirerMerchantID` is registered at the scheme.- Returns:
- mcc
-
setMcc
public void setMcc(String mcc)
Required for merchants that have been enrolled for 3D Secure 2 by another party than Adyen, mostly [authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The `mcc` is a four-digit code with which the previously given `acquirerMerchantID` is registered at the scheme.- Parameters:
mcc-
-
merchantName
public ThreeDS2RequestData merchantName(String merchantName)
Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The merchant name that the issuer presents to the shopper if they get a challenge. We recommend to use the same value that you will use in the authorization. Maximum length is 40 characters. > Optional for a [full 3D Secure 2 integration](https://docs.adyen.com/online-payments/3d-secure/native-3ds2/api-integration). Use this field if you are enrolled for 3D Secure 2 with us and want to override the merchant name already configured on your account.- Parameters:
merchantName-- Returns:
- the current
ThreeDS2RequestDatainstance, allowing for method chaining
-
getMerchantName
public String getMerchantName()
Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The merchant name that the issuer presents to the shopper if they get a challenge. We recommend to use the same value that you will use in the authorization. Maximum length is 40 characters. > Optional for a [full 3D Secure 2 integration](https://docs.adyen.com/online-payments/3d-secure/native-3ds2/api-integration). Use this field if you are enrolled for 3D Secure 2 with us and want to override the merchant name already configured on your account.- Returns:
- merchantName
-
setMerchantName
public void setMerchantName(String merchantName)
Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The merchant name that the issuer presents to the shopper if they get a challenge. We recommend to use the same value that you will use in the authorization. Maximum length is 40 characters. > Optional for a [full 3D Secure 2 integration](https://docs.adyen.com/online-payments/3d-secure/native-3ds2/api-integration). Use this field if you are enrolled for 3D Secure 2 with us and want to override the merchant name already configured on your account.- Parameters:
merchantName-
-
messageVersion
public ThreeDS2RequestData messageVersion(String messageVersion)
The `messageVersion` value indicating the 3D Secure 2 protocol version.- Parameters:
messageVersion-- Returns:
- the current
ThreeDS2RequestDatainstance, allowing for method chaining
-
getMessageVersion
public String getMessageVersion()
The `messageVersion` value indicating the 3D Secure 2 protocol version.- Returns:
- messageVersion
-
setMessageVersion
public void setMessageVersion(String messageVersion)
The `messageVersion` value indicating the 3D Secure 2 protocol version.- Parameters:
messageVersion-
-
mobilePhone
public ThreeDS2RequestData mobilePhone(Phone mobilePhone)
mobilePhone- Parameters:
mobilePhone-- Returns:
- the current
ThreeDS2RequestDatainstance, allowing for method chaining
-
getMobilePhone
public Phone getMobilePhone()
mobilePhone- Returns:
- mobilePhone
-
setMobilePhone
public void setMobilePhone(Phone mobilePhone)
mobilePhone- Parameters:
mobilePhone-
-
notificationURL
public ThreeDS2RequestData notificationURL(String notificationURL)
URL to where the issuer should send the `CRes`. Required if you are not using components for `channel` **Web** or if you are using classic integration `deviceChannel` **browser**.- Parameters:
notificationURL-- Returns:
- the current
ThreeDS2RequestDatainstance, allowing for method chaining
-
getNotificationURL
public String getNotificationURL()
URL to where the issuer should send the `CRes`. Required if you are not using components for `channel` **Web** or if you are using classic integration `deviceChannel` **browser**.- Returns:
- notificationURL
-
setNotificationURL
public void setNotificationURL(String notificationURL)
URL to where the issuer should send the `CRes`. Required if you are not using components for `channel` **Web** or if you are using classic integration `deviceChannel` **browser**.- Parameters:
notificationURL-
-
payTokenInd
public ThreeDS2RequestData payTokenInd(Boolean payTokenInd)
Value **true** indicates that the transaction was de-tokenised prior to being received by the ACS.- Parameters:
payTokenInd-- Returns:
- the current
ThreeDS2RequestDatainstance, allowing for method chaining
-
getPayTokenInd
public Boolean getPayTokenInd()
Value **true** indicates that the transaction was de-tokenised prior to being received by the ACS.- Returns:
- payTokenInd
-
setPayTokenInd
public void setPayTokenInd(Boolean payTokenInd)
Value **true** indicates that the transaction was de-tokenised prior to being received by the ACS.- Parameters:
payTokenInd-
-
paymentAuthenticationUseCase
public ThreeDS2RequestData paymentAuthenticationUseCase(String paymentAuthenticationUseCase)
Indicates the type of payment for which an authentication is requested (message extension)- Parameters:
paymentAuthenticationUseCase-- Returns:
- the current
ThreeDS2RequestDatainstance, allowing for method chaining
-
getPaymentAuthenticationUseCase
public String getPaymentAuthenticationUseCase()
Indicates the type of payment for which an authentication is requested (message extension)- Returns:
- paymentAuthenticationUseCase
-
setPaymentAuthenticationUseCase
public void setPaymentAuthenticationUseCase(String paymentAuthenticationUseCase)
Indicates the type of payment for which an authentication is requested (message extension)- Parameters:
paymentAuthenticationUseCase-
-
purchaseInstalData
public ThreeDS2RequestData purchaseInstalData(String purchaseInstalData)
Indicates the maximum number of authorisations permitted for instalment payments. Length: 1–3 characters.- Parameters:
purchaseInstalData-- Returns:
- the current
ThreeDS2RequestDatainstance, allowing for method chaining
-
getPurchaseInstalData
public String getPurchaseInstalData()
Indicates the maximum number of authorisations permitted for instalment payments. Length: 1–3 characters.- Returns:
- purchaseInstalData
-
setPurchaseInstalData
public void setPurchaseInstalData(String purchaseInstalData)
Indicates the maximum number of authorisations permitted for instalment payments. Length: 1–3 characters.- Parameters:
purchaseInstalData-
-
recurringExpiry
public ThreeDS2RequestData recurringExpiry(String recurringExpiry)
Date after which no further authorisations shall be performed. Format: YYYYMMDD- Parameters:
recurringExpiry-- Returns:
- the current
ThreeDS2RequestDatainstance, allowing for method chaining
-
getRecurringExpiry
public String getRecurringExpiry()
Date after which no further authorisations shall be performed. Format: YYYYMMDD- Returns:
- recurringExpiry
-
setRecurringExpiry
public void setRecurringExpiry(String recurringExpiry)
Date after which no further authorisations shall be performed. Format: YYYYMMDD- Parameters:
recurringExpiry-
-
recurringFrequency
public ThreeDS2RequestData recurringFrequency(String recurringFrequency)
Indicates the minimum number of days between authorisations. Maximum length: 4 characters.- Parameters:
recurringFrequency-- Returns:
- the current
ThreeDS2RequestDatainstance, allowing for method chaining
-
getRecurringFrequency
public String getRecurringFrequency()
Indicates the minimum number of days between authorisations. Maximum length: 4 characters.- Returns:
- recurringFrequency
-
setRecurringFrequency
public void setRecurringFrequency(String recurringFrequency)
Indicates the minimum number of days between authorisations. Maximum length: 4 characters.- Parameters:
recurringFrequency-
-
sdkAppID
public ThreeDS2RequestData sdkAppID(String sdkAppID)
The `sdkAppID` value as received from the 3D Secure 2 SDK. Required for `deviceChannel` set to **app**.- Parameters:
sdkAppID-- Returns:
- the current
ThreeDS2RequestDatainstance, allowing for method chaining
-
getSdkAppID
public String getSdkAppID()
The `sdkAppID` value as received from the 3D Secure 2 SDK. Required for `deviceChannel` set to **app**.- Returns:
- sdkAppID
-
setSdkAppID
public void setSdkAppID(String sdkAppID)
The `sdkAppID` value as received from the 3D Secure 2 SDK. Required for `deviceChannel` set to **app**.- Parameters:
sdkAppID-
-
sdkEncData
public ThreeDS2RequestData sdkEncData(String sdkEncData)
The `sdkEncData` value as received from the 3D Secure 2 SDK. Required for `deviceChannel` set to **app**.- Parameters:
sdkEncData-- Returns:
- the current
ThreeDS2RequestDatainstance, allowing for method chaining
-
getSdkEncData
public String getSdkEncData()
The `sdkEncData` value as received from the 3D Secure 2 SDK. Required for `deviceChannel` set to **app**.- Returns:
- sdkEncData
-
setSdkEncData
public void setSdkEncData(String sdkEncData)
The `sdkEncData` value as received from the 3D Secure 2 SDK. Required for `deviceChannel` set to **app**.- Parameters:
sdkEncData-
-
sdkEphemPubKey
public ThreeDS2RequestData sdkEphemPubKey(SDKEphemPubKey sdkEphemPubKey)
sdkEphemPubKey- Parameters:
sdkEphemPubKey-- Returns:
- the current
ThreeDS2RequestDatainstance, allowing for method chaining
-
getSdkEphemPubKey
public SDKEphemPubKey getSdkEphemPubKey()
sdkEphemPubKey- Returns:
- sdkEphemPubKey
-
setSdkEphemPubKey
public void setSdkEphemPubKey(SDKEphemPubKey sdkEphemPubKey)
sdkEphemPubKey- Parameters:
sdkEphemPubKey-
-
sdkMaxTimeout
public ThreeDS2RequestData sdkMaxTimeout(Integer sdkMaxTimeout)
The maximum amount of time in minutes for the 3D Secure 2 authentication process. Optional and only for `deviceChannel` set to **app**. Defaults to **60** minutes.- Parameters:
sdkMaxTimeout-- Returns:
- the current
ThreeDS2RequestDatainstance, allowing for method chaining
-
getSdkMaxTimeout
public Integer getSdkMaxTimeout()
The maximum amount of time in minutes for the 3D Secure 2 authentication process. Optional and only for `deviceChannel` set to **app**. Defaults to **60** minutes.- Returns:
- sdkMaxTimeout
-
setSdkMaxTimeout
public void setSdkMaxTimeout(Integer sdkMaxTimeout)
The maximum amount of time in minutes for the 3D Secure 2 authentication process. Optional and only for `deviceChannel` set to **app**. Defaults to **60** minutes.- Parameters:
sdkMaxTimeout-
-
sdkReferenceNumber
public ThreeDS2RequestData sdkReferenceNumber(String sdkReferenceNumber)
The `sdkReferenceNumber` value as received from the 3D Secure 2 SDK. Only for `deviceChannel` set to **app**.- Parameters:
sdkReferenceNumber-- Returns:
- the current
ThreeDS2RequestDatainstance, allowing for method chaining
-
getSdkReferenceNumber
public String getSdkReferenceNumber()
The `sdkReferenceNumber` value as received from the 3D Secure 2 SDK. Only for `deviceChannel` set to **app**.- Returns:
- sdkReferenceNumber
-
setSdkReferenceNumber
public void setSdkReferenceNumber(String sdkReferenceNumber)
The `sdkReferenceNumber` value as received from the 3D Secure 2 SDK. Only for `deviceChannel` set to **app**.- Parameters:
sdkReferenceNumber-
-
sdkTransID
public ThreeDS2RequestData sdkTransID(String sdkTransID)
The `sdkTransID` value as received from the 3D Secure 2 SDK. Only for `deviceChannel` set to **app**.- Parameters:
sdkTransID-- Returns:
- the current
ThreeDS2RequestDatainstance, allowing for method chaining
-
getSdkTransID
public String getSdkTransID()
The `sdkTransID` value as received from the 3D Secure 2 SDK. Only for `deviceChannel` set to **app**.- Returns:
- sdkTransID
-
setSdkTransID
public void setSdkTransID(String sdkTransID)
The `sdkTransID` value as received from the 3D Secure 2 SDK. Only for `deviceChannel` set to **app**.- Parameters:
sdkTransID-
-
sdkVersion
public ThreeDS2RequestData sdkVersion(String sdkVersion)
Version of the 3D Secure 2 mobile SDK. Only for `deviceChannel` set to **app**.- Parameters:
sdkVersion-- Returns:
- the current
ThreeDS2RequestDatainstance, allowing for method chaining
-
getSdkVersion
public String getSdkVersion()
Version of the 3D Secure 2 mobile SDK. Only for `deviceChannel` set to **app**.- Returns:
- sdkVersion
-
setSdkVersion
public void setSdkVersion(String sdkVersion)
Version of the 3D Secure 2 mobile SDK. Only for `deviceChannel` set to **app**.- Parameters:
sdkVersion-
-
threeDSCompInd
public ThreeDS2RequestData threeDSCompInd(String threeDSCompInd)
Completion indicator for the device fingerprinting.- Parameters:
threeDSCompInd-- Returns:
- the current
ThreeDS2RequestDatainstance, allowing for method chaining
-
getThreeDSCompInd
public String getThreeDSCompInd()
Completion indicator for the device fingerprinting.- Returns:
- threeDSCompInd
-
setThreeDSCompInd
public void setThreeDSCompInd(String threeDSCompInd)
Completion indicator for the device fingerprinting.- Parameters:
threeDSCompInd-
-
threeDSRequestorAuthenticationInd
public ThreeDS2RequestData threeDSRequestorAuthenticationInd(String threeDSRequestorAuthenticationInd)
Indicates the type of Authentication request.- Parameters:
threeDSRequestorAuthenticationInd-- Returns:
- the current
ThreeDS2RequestDatainstance, allowing for method chaining
-
getThreeDSRequestorAuthenticationInd
public String getThreeDSRequestorAuthenticationInd()
Indicates the type of Authentication request.- Returns:
- threeDSRequestorAuthenticationInd
-
setThreeDSRequestorAuthenticationInd
public void setThreeDSRequestorAuthenticationInd(String threeDSRequestorAuthenticationInd)
Indicates the type of Authentication request.- Parameters:
threeDSRequestorAuthenticationInd-
-
threeDSRequestorAuthenticationInfo
public ThreeDS2RequestData threeDSRequestorAuthenticationInfo(ThreeDSRequestorAuthenticationInfo threeDSRequestorAuthenticationInfo)
threeDSRequestorAuthenticationInfo- Parameters:
threeDSRequestorAuthenticationInfo-- Returns:
- the current
ThreeDS2RequestDatainstance, allowing for method chaining
-
getThreeDSRequestorAuthenticationInfo
public ThreeDSRequestorAuthenticationInfo getThreeDSRequestorAuthenticationInfo()
threeDSRequestorAuthenticationInfo- Returns:
- threeDSRequestorAuthenticationInfo
-
setThreeDSRequestorAuthenticationInfo
public void setThreeDSRequestorAuthenticationInfo(ThreeDSRequestorAuthenticationInfo threeDSRequestorAuthenticationInfo)
threeDSRequestorAuthenticationInfo- Parameters:
threeDSRequestorAuthenticationInfo-
-
threeDSRequestorChallengeInd
public ThreeDS2RequestData threeDSRequestorChallengeInd(ThreeDS2RequestData.ThreeDSRequestorChallengeIndEnum threeDSRequestorChallengeInd)
Indicates whether a challenge is requested for this transaction. Possible values: * **01** — No preference * **02** — No challenge requested * **03** — Challenge requested (3DS Requestor preference) * **04** — Challenge requested (Mandate) * **05** — No challenge (transactional risk analysis is already performed) * **06** — Data Only- Parameters:
threeDSRequestorChallengeInd-- Returns:
- the current
ThreeDS2RequestDatainstance, allowing for method chaining
-
getThreeDSRequestorChallengeInd
public ThreeDS2RequestData.ThreeDSRequestorChallengeIndEnum getThreeDSRequestorChallengeInd()
Indicates whether a challenge is requested for this transaction. Possible values: * **01** — No preference * **02** — No challenge requested * **03** — Challenge requested (3DS Requestor preference) * **04** — Challenge requested (Mandate) * **05** — No challenge (transactional risk analysis is already performed) * **06** — Data Only- Returns:
- threeDSRequestorChallengeInd
-
setThreeDSRequestorChallengeInd
public void setThreeDSRequestorChallengeInd(ThreeDS2RequestData.ThreeDSRequestorChallengeIndEnum threeDSRequestorChallengeInd)
Indicates whether a challenge is requested for this transaction. Possible values: * **01** — No preference * **02** — No challenge requested * **03** — Challenge requested (3DS Requestor preference) * **04** — Challenge requested (Mandate) * **05** — No challenge (transactional risk analysis is already performed) * **06** — Data Only- Parameters:
threeDSRequestorChallengeInd-
-
threeDSRequestorID
public ThreeDS2RequestData threeDSRequestorID(String threeDSRequestorID)
Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only) for Visa. Unique 3D Secure requestor identifier assigned by the Directory Server when you enrol for 3D Secure 2.- Parameters:
threeDSRequestorID-- Returns:
- the current
ThreeDS2RequestDatainstance, allowing for method chaining
-
getThreeDSRequestorID
public String getThreeDSRequestorID()
Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only) for Visa. Unique 3D Secure requestor identifier assigned by the Directory Server when you enrol for 3D Secure 2.- Returns:
- threeDSRequestorID
-
setThreeDSRequestorID
public void setThreeDSRequestorID(String threeDSRequestorID)
Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only) for Visa. Unique 3D Secure requestor identifier assigned by the Directory Server when you enrol for 3D Secure 2.- Parameters:
threeDSRequestorID-
-
threeDSRequestorName
public ThreeDS2RequestData threeDSRequestorName(String threeDSRequestorName)
Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only) for Visa. Unique 3D Secure requestor name assigned by the Directory Server when you enrol for 3D Secure 2.- Parameters:
threeDSRequestorName-- Returns:
- the current
ThreeDS2RequestDatainstance, allowing for method chaining
-
getThreeDSRequestorName
public String getThreeDSRequestorName()
Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only) for Visa. Unique 3D Secure requestor name assigned by the Directory Server when you enrol for 3D Secure 2.- Returns:
- threeDSRequestorName
-
setThreeDSRequestorName
public void setThreeDSRequestorName(String threeDSRequestorName)
Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only) for Visa. Unique 3D Secure requestor name assigned by the Directory Server when you enrol for 3D Secure 2.- Parameters:
threeDSRequestorName-
-
threeDSRequestorPriorAuthenticationInfo
public ThreeDS2RequestData threeDSRequestorPriorAuthenticationInfo(ThreeDSRequestorPriorAuthenticationInfo threeDSRequestorPriorAuthenticationInfo)
threeDSRequestorPriorAuthenticationInfo- Parameters:
threeDSRequestorPriorAuthenticationInfo-- Returns:
- the current
ThreeDS2RequestDatainstance, allowing for method chaining
-
getThreeDSRequestorPriorAuthenticationInfo
public ThreeDSRequestorPriorAuthenticationInfo getThreeDSRequestorPriorAuthenticationInfo()
threeDSRequestorPriorAuthenticationInfo- Returns:
- threeDSRequestorPriorAuthenticationInfo
-
setThreeDSRequestorPriorAuthenticationInfo
public void setThreeDSRequestorPriorAuthenticationInfo(ThreeDSRequestorPriorAuthenticationInfo threeDSRequestorPriorAuthenticationInfo)
threeDSRequestorPriorAuthenticationInfo- Parameters:
threeDSRequestorPriorAuthenticationInfo-
-
threeDSRequestorURL
public ThreeDS2RequestData threeDSRequestorURL(String threeDSRequestorURL)
URL of the (customer service) website that will be shown to the shopper in case of technical errors during the 3D Secure 2 process.- Parameters:
threeDSRequestorURL-- Returns:
- the current
ThreeDS2RequestDatainstance, allowing for method chaining
-
getThreeDSRequestorURL
public String getThreeDSRequestorURL()
URL of the (customer service) website that will be shown to the shopper in case of technical errors during the 3D Secure 2 process.- Returns:
- threeDSRequestorURL
-
setThreeDSRequestorURL
public void setThreeDSRequestorURL(String threeDSRequestorURL)
URL of the (customer service) website that will be shown to the shopper in case of technical errors during the 3D Secure 2 process.- Parameters:
threeDSRequestorURL-
-
transType
public ThreeDS2RequestData transType(ThreeDS2RequestData.TransTypeEnum transType)
Identifies the type of transaction being authenticated. Length: 2 characters. Allowed values: * **01** — Goods/Service Purchase * **03** — Check Acceptance * **10** — Account Funding * **11** — Quasi-Cash Transaction * **28** — Prepaid Activation and Load- Parameters:
transType-- Returns:
- the current
ThreeDS2RequestDatainstance, allowing for method chaining
-
getTransType
public ThreeDS2RequestData.TransTypeEnum getTransType()
Identifies the type of transaction being authenticated. Length: 2 characters. Allowed values: * **01** — Goods/Service Purchase * **03** — Check Acceptance * **10** — Account Funding * **11** — Quasi-Cash Transaction * **28** — Prepaid Activation and Load- Returns:
- transType
-
setTransType
public void setTransType(ThreeDS2RequestData.TransTypeEnum transType)
Identifies the type of transaction being authenticated. Length: 2 characters. Allowed values: * **01** — Goods/Service Purchase * **03** — Check Acceptance * **10** — Account Funding * **11** — Quasi-Cash Transaction * **28** — Prepaid Activation and Load- Parameters:
transType-
-
transactionType
public ThreeDS2RequestData transactionType(ThreeDS2RequestData.TransactionTypeEnum transactionType)
Identify the type of the transaction being authenticated.- Parameters:
transactionType-- Returns:
- the current
ThreeDS2RequestDatainstance, allowing for method chaining
-
getTransactionType
public ThreeDS2RequestData.TransactionTypeEnum getTransactionType()
Identify the type of the transaction being authenticated.- Returns:
- transactionType
-
setTransactionType
public void setTransactionType(ThreeDS2RequestData.TransactionTypeEnum transactionType)
Identify the type of the transaction being authenticated.- Parameters:
transactionType-
-
whiteListStatus
public ThreeDS2RequestData whiteListStatus(String whiteListStatus)
The `whiteListStatus` value returned from a previous 3D Secure 2 transaction, only applicable for 3D Secure 2 protocol version 2.2.0.- Parameters:
whiteListStatus-- Returns:
- the current
ThreeDS2RequestDatainstance, allowing for method chaining
-
getWhiteListStatus
public String getWhiteListStatus()
The `whiteListStatus` value returned from a previous 3D Secure 2 transaction, only applicable for 3D Secure 2 protocol version 2.2.0.- Returns:
- whiteListStatus
-
setWhiteListStatus
public void setWhiteListStatus(String whiteListStatus)
The `whiteListStatus` value returned from a previous 3D Secure 2 transaction, only applicable for 3D Secure 2 protocol version 2.2.0.- Parameters:
whiteListStatus-
-
workPhone
public ThreeDS2RequestData workPhone(Phone workPhone)
workPhone- Parameters:
workPhone-- Returns:
- the current
ThreeDS2RequestDatainstance, allowing for method chaining
-
getWorkPhone
public Phone getWorkPhone()
workPhone- Returns:
- workPhone
-
setWorkPhone
public void setWorkPhone(Phone workPhone)
workPhone- Parameters:
workPhone-
-
equals
public boolean equals(Object o)
Return true if this ThreeDS2RequestData object is equal to o.
-
fromJson
public static ThreeDS2RequestData fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of ThreeDS2RequestData given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ThreeDS2RequestData
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to ThreeDS2RequestData
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of ThreeDS2RequestData to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-