Package com.adyen.model.checkout
Class ThreeDS2RequestData2
- java.lang.Object
-
- com.adyen.model.checkout.ThreeDS2RequestData2
-
public class ThreeDS2RequestData2 extends Object
ThreeDS2RequestData2
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classThreeDS2RequestData2.AcctTypeEnumIndicates the type of account.static classThreeDS2RequestData2.AddrMatchEnumIndicates whether the Cardholder Shipping Address and Cardholder Billing Address are the same.static classThreeDS2RequestData2.ChallengeIndicatorEnumPossibility to specify a preference for receiving a challenge from the issuer.static classThreeDS2RequestData2.ThreeDSRequestorChallengeIndEnumIndicates whether a challenge is requested for this transaction.static classThreeDS2RequestData2.TransactionTypeEnumIdentify the type of the transaction being authenticated.static classThreeDS2RequestData2.TransTypeEnumIdentifies the type of transaction being authenticated.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ThreeDS2RequestData2()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ThreeDS2RequestData2acctInfo(AcctInfo acctInfo)ThreeDS2RequestData2acctType(ThreeDS2RequestData2.AcctTypeEnum acctType)ThreeDS2RequestData2acquirerBIN(String acquirerBIN)ThreeDS2RequestData2acquirerMerchantID(String acquirerMerchantID)ThreeDS2RequestData2addrMatch(ThreeDS2RequestData2.AddrMatchEnum addrMatch)ThreeDS2RequestData2authenticationOnly(Boolean authenticationOnly)ThreeDS2RequestData2challengeIndicator(ThreeDS2RequestData2.ChallengeIndicatorEnum challengeIndicator)ThreeDS2RequestData2deviceRenderOptions(DeviceRenderOptions deviceRenderOptions)booleanequals(Object o)Return true if this ThreeDS2RequestData-2 object is equal to o.static ThreeDS2RequestData2fromJson(String jsonString)Create an instance of ThreeDS2RequestData2 given an JSON stringAcctInfogetAcctInfo()Get acctInfoThreeDS2RequestData2.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).ThreeDS2RequestData2.AddrMatchEnumgetAddrMatch()Indicates whether the Cardholder Shipping Address and Cardholder Billing Address are the same.BooleangetAuthenticationOnly()Deprecated.ThreeDS2RequestData2.ChallengeIndicatorEnumgetChallengeIndicator()Deprecated.DeviceRenderOptionsgetDeviceRenderOptions()Get deviceRenderOptionsPhonegetHomePhone()Get 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()Get 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.SDKEphemPubKeygetSdkEphemPubKey()Get 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.StringgetThreeDSCompInd()Completion indicator for the device fingerprinting.StringgetThreeDSRequestorAuthenticationInd()Indicates the type of Authentication request.ThreeDSRequestorAuthenticationInfogetThreeDSRequestorAuthenticationInfo()Get threeDSRequestorAuthenticationInfoThreeDS2RequestData2.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()Get 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.ThreeDS2RequestData2.TransactionTypeEnumgetTransactionType()Identify the type of the transaction being authenticated.ThreeDS2RequestData2.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()Get workPhoneinthashCode()ThreeDS2RequestData2homePhone(Phone homePhone)ThreeDS2RequestData2mcc(String mcc)ThreeDS2RequestData2merchantName(String merchantName)ThreeDS2RequestData2messageVersion(String messageVersion)ThreeDS2RequestData2mobilePhone(Phone mobilePhone)ThreeDS2RequestData2notificationURL(String notificationURL)ThreeDS2RequestData2paymentAuthenticationUseCase(String paymentAuthenticationUseCase)ThreeDS2RequestData2payTokenInd(Boolean payTokenInd)ThreeDS2RequestData2purchaseInstalData(String purchaseInstalData)ThreeDS2RequestData2recurringExpiry(String recurringExpiry)ThreeDS2RequestData2recurringFrequency(String recurringFrequency)ThreeDS2RequestData2sdkAppID(String sdkAppID)ThreeDS2RequestData2sdkEphemPubKey(SDKEphemPubKey sdkEphemPubKey)ThreeDS2RequestData2sdkMaxTimeout(Integer sdkMaxTimeout)ThreeDS2RequestData2sdkReferenceNumber(String sdkReferenceNumber)ThreeDS2RequestData2sdkTransID(String sdkTransID)voidsetAcctInfo(AcctInfo acctInfo)voidsetAcctType(ThreeDS2RequestData2.AcctTypeEnum acctType)voidsetAcquirerBIN(String acquirerBIN)voidsetAcquirerMerchantID(String acquirerMerchantID)voidsetAddrMatch(ThreeDS2RequestData2.AddrMatchEnum addrMatch)voidsetAuthenticationOnly(Boolean authenticationOnly)Deprecated.voidsetChallengeIndicator(ThreeDS2RequestData2.ChallengeIndicatorEnum challengeIndicator)Deprecated.voidsetDeviceRenderOptions(DeviceRenderOptions deviceRenderOptions)voidsetHomePhone(Phone homePhone)voidsetMcc(String mcc)voidsetMerchantName(String merchantName)voidsetMessageVersion(String messageVersion)voidsetMobilePhone(Phone mobilePhone)voidsetNotificationURL(String notificationURL)voidsetPaymentAuthenticationUseCase(String paymentAuthenticationUseCase)voidsetPayTokenInd(Boolean payTokenInd)voidsetPurchaseInstalData(String purchaseInstalData)voidsetRecurringExpiry(String recurringExpiry)voidsetRecurringFrequency(String recurringFrequency)voidsetSdkAppID(String sdkAppID)voidsetSdkEphemPubKey(SDKEphemPubKey sdkEphemPubKey)voidsetSdkMaxTimeout(Integer sdkMaxTimeout)voidsetSdkReferenceNumber(String sdkReferenceNumber)voidsetSdkTransID(String sdkTransID)voidsetThreeDSCompInd(String threeDSCompInd)voidsetThreeDSRequestorAuthenticationInd(String threeDSRequestorAuthenticationInd)voidsetThreeDSRequestorAuthenticationInfo(ThreeDSRequestorAuthenticationInfo threeDSRequestorAuthenticationInfo)voidsetThreeDSRequestorChallengeInd(ThreeDS2RequestData2.ThreeDSRequestorChallengeIndEnum threeDSRequestorChallengeInd)voidsetThreeDSRequestorID(String threeDSRequestorID)voidsetThreeDSRequestorName(String threeDSRequestorName)voidsetThreeDSRequestorPriorAuthenticationInfo(ThreeDSRequestorPriorAuthenticationInfo threeDSRequestorPriorAuthenticationInfo)voidsetThreeDSRequestorURL(String threeDSRequestorURL)voidsetTransactionType(ThreeDS2RequestData2.TransactionTypeEnum transactionType)voidsetTransType(ThreeDS2RequestData2.TransTypeEnum transType)voidsetWhiteListStatus(String whiteListStatus)voidsetWorkPhone(Phone workPhone)ThreeDS2RequestData2threeDSCompInd(String threeDSCompInd)ThreeDS2RequestData2threeDSRequestorAuthenticationInd(String threeDSRequestorAuthenticationInd)ThreeDS2RequestData2threeDSRequestorAuthenticationInfo(ThreeDSRequestorAuthenticationInfo threeDSRequestorAuthenticationInfo)ThreeDS2RequestData2threeDSRequestorChallengeInd(ThreeDS2RequestData2.ThreeDSRequestorChallengeIndEnum threeDSRequestorChallengeInd)ThreeDS2RequestData2threeDSRequestorID(String threeDSRequestorID)ThreeDS2RequestData2threeDSRequestorName(String threeDSRequestorName)ThreeDS2RequestData2threeDSRequestorPriorAuthenticationInfo(ThreeDSRequestorPriorAuthenticationInfo threeDSRequestorPriorAuthenticationInfo)ThreeDS2RequestData2threeDSRequestorURL(String threeDSRequestorURL)StringtoJson()Convert an instance of ThreeDS2RequestData2 to an JSON stringStringtoString()ThreeDS2RequestData2transactionType(ThreeDS2RequestData2.TransactionTypeEnum transactionType)ThreeDS2RequestData2transType(ThreeDS2RequestData2.TransTypeEnum transType)ThreeDS2RequestData2whiteListStatus(String whiteListStatus)ThreeDS2RequestData2workPhone(Phone 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_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_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_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 ThreeDS2RequestData2 acctInfo(AcctInfo acctInfo)
-
getAcctInfo
public AcctInfo getAcctInfo()
Get acctInfo- Returns:
- acctInfo
-
setAcctInfo
public void setAcctInfo(AcctInfo acctInfo)
-
acctType
public ThreeDS2RequestData2 acctType(ThreeDS2RequestData2.AcctTypeEnum acctType)
-
getAcctType
public ThreeDS2RequestData2.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(ThreeDS2RequestData2.AcctTypeEnum acctType)
-
acquirerBIN
public ThreeDS2RequestData2 acquirerBIN(String acquirerBIN)
-
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)
-
acquirerMerchantID
public ThreeDS2RequestData2 acquirerMerchantID(String acquirerMerchantID)
-
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)
-
addrMatch
public ThreeDS2RequestData2 addrMatch(ThreeDS2RequestData2.AddrMatchEnum addrMatch)
-
getAddrMatch
public ThreeDS2RequestData2.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(ThreeDS2RequestData2.AddrMatchEnum addrMatch)
-
authenticationOnly
public ThreeDS2RequestData2 authenticationOnly(Boolean authenticationOnly)
-
getAuthenticationOnly
@Deprecated public Boolean getAuthenticationOnly()
Deprecated.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.
-
challengeIndicator
public ThreeDS2RequestData2 challengeIndicator(ThreeDS2RequestData2.ChallengeIndicatorEnum challengeIndicator)
-
getChallengeIndicator
@Deprecated public ThreeDS2RequestData2.ChallengeIndicatorEnum getChallengeIndicator()
Deprecated.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(ThreeDS2RequestData2.ChallengeIndicatorEnum challengeIndicator)
Deprecated.
-
deviceRenderOptions
public ThreeDS2RequestData2 deviceRenderOptions(DeviceRenderOptions deviceRenderOptions)
-
getDeviceRenderOptions
public DeviceRenderOptions getDeviceRenderOptions()
Get deviceRenderOptions- Returns:
- deviceRenderOptions
-
setDeviceRenderOptions
public void setDeviceRenderOptions(DeviceRenderOptions deviceRenderOptions)
-
homePhone
public ThreeDS2RequestData2 homePhone(Phone homePhone)
-
getHomePhone
public Phone getHomePhone()
Get homePhone- Returns:
- homePhone
-
setHomePhone
public void setHomePhone(Phone homePhone)
-
mcc
public ThreeDS2RequestData2 mcc(String mcc)
-
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)
-
merchantName
public ThreeDS2RequestData2 merchantName(String merchantName)
-
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)
-
messageVersion
public ThreeDS2RequestData2 messageVersion(String messageVersion)
-
getMessageVersion
public String getMessageVersion()
The `messageVersion` value indicating the 3D Secure 2 protocol version.- Returns:
- messageVersion
-
setMessageVersion
public void setMessageVersion(String messageVersion)
-
mobilePhone
public ThreeDS2RequestData2 mobilePhone(Phone mobilePhone)
-
getMobilePhone
public Phone getMobilePhone()
Get mobilePhone- Returns:
- mobilePhone
-
setMobilePhone
public void setMobilePhone(Phone mobilePhone)
-
notificationURL
public ThreeDS2RequestData2 notificationURL(String notificationURL)
-
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)
-
payTokenInd
public ThreeDS2RequestData2 payTokenInd(Boolean payTokenInd)
-
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)
-
paymentAuthenticationUseCase
public ThreeDS2RequestData2 paymentAuthenticationUseCase(String paymentAuthenticationUseCase)
-
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)
-
purchaseInstalData
public ThreeDS2RequestData2 purchaseInstalData(String purchaseInstalData)
-
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)
-
recurringExpiry
public ThreeDS2RequestData2 recurringExpiry(String recurringExpiry)
-
getRecurringExpiry
public String getRecurringExpiry()
Date after which no further authorisations shall be performed. Format: YYYYMMDD- Returns:
- recurringExpiry
-
setRecurringExpiry
public void setRecurringExpiry(String recurringExpiry)
-
recurringFrequency
public ThreeDS2RequestData2 recurringFrequency(String recurringFrequency)
-
getRecurringFrequency
public String getRecurringFrequency()
Indicates the minimum number of days between authorisations. Maximum length: 4 characters.- Returns:
- recurringFrequency
-
setRecurringFrequency
public void setRecurringFrequency(String recurringFrequency)
-
sdkAppID
public ThreeDS2RequestData2 sdkAppID(String sdkAppID)
-
getSdkAppID
public String getSdkAppID()
The `sdkAppID` value as received from the 3D Secure 2 SDK.- Returns:
- sdkAppID
-
setSdkAppID
public void setSdkAppID(String sdkAppID)
-
sdkEphemPubKey
public ThreeDS2RequestData2 sdkEphemPubKey(SDKEphemPubKey sdkEphemPubKey)
-
getSdkEphemPubKey
public SDKEphemPubKey getSdkEphemPubKey()
Get sdkEphemPubKey- Returns:
- sdkEphemPubKey
-
setSdkEphemPubKey
public void setSdkEphemPubKey(SDKEphemPubKey sdkEphemPubKey)
-
sdkMaxTimeout
public ThreeDS2RequestData2 sdkMaxTimeout(Integer sdkMaxTimeout)
-
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)
-
sdkReferenceNumber
public ThreeDS2RequestData2 sdkReferenceNumber(String sdkReferenceNumber)
-
getSdkReferenceNumber
public String getSdkReferenceNumber()
The `sdkReferenceNumber` value as received from the 3D Secure 2 SDK.- Returns:
- sdkReferenceNumber
-
setSdkReferenceNumber
public void setSdkReferenceNumber(String sdkReferenceNumber)
-
sdkTransID
public ThreeDS2RequestData2 sdkTransID(String sdkTransID)
-
getSdkTransID
public String getSdkTransID()
The `sdkTransID` value as received from the 3D Secure 2 SDK.- Returns:
- sdkTransID
-
setSdkTransID
public void setSdkTransID(String sdkTransID)
-
threeDSCompInd
public ThreeDS2RequestData2 threeDSCompInd(String threeDSCompInd)
-
getThreeDSCompInd
public String getThreeDSCompInd()
Completion indicator for the device fingerprinting.- Returns:
- threeDSCompInd
-
setThreeDSCompInd
public void setThreeDSCompInd(String threeDSCompInd)
-
threeDSRequestorAuthenticationInd
public ThreeDS2RequestData2 threeDSRequestorAuthenticationInd(String threeDSRequestorAuthenticationInd)
-
getThreeDSRequestorAuthenticationInd
public String getThreeDSRequestorAuthenticationInd()
Indicates the type of Authentication request.- Returns:
- threeDSRequestorAuthenticationInd
-
setThreeDSRequestorAuthenticationInd
public void setThreeDSRequestorAuthenticationInd(String threeDSRequestorAuthenticationInd)
-
threeDSRequestorAuthenticationInfo
public ThreeDS2RequestData2 threeDSRequestorAuthenticationInfo(ThreeDSRequestorAuthenticationInfo threeDSRequestorAuthenticationInfo)
-
getThreeDSRequestorAuthenticationInfo
public ThreeDSRequestorAuthenticationInfo getThreeDSRequestorAuthenticationInfo()
Get threeDSRequestorAuthenticationInfo- Returns:
- threeDSRequestorAuthenticationInfo
-
setThreeDSRequestorAuthenticationInfo
public void setThreeDSRequestorAuthenticationInfo(ThreeDSRequestorAuthenticationInfo threeDSRequestorAuthenticationInfo)
-
threeDSRequestorChallengeInd
public ThreeDS2RequestData2 threeDSRequestorChallengeInd(ThreeDS2RequestData2.ThreeDSRequestorChallengeIndEnum threeDSRequestorChallengeInd)
-
getThreeDSRequestorChallengeInd
public ThreeDS2RequestData2.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(ThreeDS2RequestData2.ThreeDSRequestorChallengeIndEnum threeDSRequestorChallengeInd)
-
threeDSRequestorID
public ThreeDS2RequestData2 threeDSRequestorID(String threeDSRequestorID)
-
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)
-
threeDSRequestorName
public ThreeDS2RequestData2 threeDSRequestorName(String threeDSRequestorName)
-
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)
-
threeDSRequestorPriorAuthenticationInfo
public ThreeDS2RequestData2 threeDSRequestorPriorAuthenticationInfo(ThreeDSRequestorPriorAuthenticationInfo threeDSRequestorPriorAuthenticationInfo)
-
getThreeDSRequestorPriorAuthenticationInfo
public ThreeDSRequestorPriorAuthenticationInfo getThreeDSRequestorPriorAuthenticationInfo()
Get threeDSRequestorPriorAuthenticationInfo- Returns:
- threeDSRequestorPriorAuthenticationInfo
-
setThreeDSRequestorPriorAuthenticationInfo
public void setThreeDSRequestorPriorAuthenticationInfo(ThreeDSRequestorPriorAuthenticationInfo threeDSRequestorPriorAuthenticationInfo)
-
threeDSRequestorURL
public ThreeDS2RequestData2 threeDSRequestorURL(String threeDSRequestorURL)
-
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)
-
transType
public ThreeDS2RequestData2 transType(ThreeDS2RequestData2.TransTypeEnum transType)
-
getTransType
public ThreeDS2RequestData2.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(ThreeDS2RequestData2.TransTypeEnum transType)
-
transactionType
public ThreeDS2RequestData2 transactionType(ThreeDS2RequestData2.TransactionTypeEnum transactionType)
-
getTransactionType
public ThreeDS2RequestData2.TransactionTypeEnum getTransactionType()
Identify the type of the transaction being authenticated.- Returns:
- transactionType
-
setTransactionType
public void setTransactionType(ThreeDS2RequestData2.TransactionTypeEnum transactionType)
-
whiteListStatus
public ThreeDS2RequestData2 whiteListStatus(String whiteListStatus)
-
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)
-
workPhone
public ThreeDS2RequestData2 workPhone(Phone workPhone)
-
getWorkPhone
public Phone getWorkPhone()
Get workPhone- Returns:
- workPhone
-
setWorkPhone
public void setWorkPhone(Phone workPhone)
-
equals
public boolean equals(Object o)
Return true if this ThreeDS2RequestData-2 object is equal to o.
-
fromJson
public static ThreeDS2RequestData2 fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of ThreeDS2RequestData2 given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ThreeDS2RequestData2
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to ThreeDS2RequestData2
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of ThreeDS2RequestData2 to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-