Package com.adyen.model.payments
Class ResponseAdditionalData3DSecure
- java.lang.Object
-
- com.adyen.model.payments.ResponseAdditionalData3DSecure
-
public class ResponseAdditionalData3DSecure extends Object
ResponseAdditionalData3DSecure
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResponseAdditionalData3DSecure.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CARD_HOLDER_INFOstatic StringSERIALIZED_NAME_CAVVstatic StringSERIALIZED_NAME_CAVV_ALGORITHMstatic StringSERIALIZED_NAME_SCA_EXEMPTION_REQUESTEDstatic StringSERIALIZED_NAME_THREEDS2_CARD_ENROLLED
-
Constructor Summary
Constructors Constructor Description ResponseAdditionalData3DSecure()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ResponseAdditionalData3DSecurecardHolderInfo(String cardHolderInfo)ResponseAdditionalData3DSecurecavv(String cavv)ResponseAdditionalData3DSecurecavvAlgorithm(String cavvAlgorithm)booleanequals(Object o)static ResponseAdditionalData3DSecurefromJson(String jsonString)Create an instance of ResponseAdditionalData3DSecure given an JSON stringStringgetCardHolderInfo()Information provided by the issuer to the cardholder.StringgetCavv()The Cardholder Authentication Verification Value (CAVV) for the 3D Secure authentication session, as a Base64-encoded 20-byte array.StringgetCavvAlgorithm()The CAVV algorithm used.StringgetScaExemptionRequested()Shows the [exemption type](https://docs.adyen.com/payments-fundamentals/psd2-sca-compliance-and-implementation-guide#specifypreferenceinyourapirequest) that Adyen requested for the payment.BooleangetThreeds2CardEnrolled()Indicates whether a card is enrolled for 3D Secure 2.inthashCode()ResponseAdditionalData3DSecurescaExemptionRequested(String scaExemptionRequested)voidsetCardHolderInfo(String cardHolderInfo)voidsetCavv(String cavv)voidsetCavvAlgorithm(String cavvAlgorithm)voidsetScaExemptionRequested(String scaExemptionRequested)voidsetThreeds2CardEnrolled(Boolean threeds2CardEnrolled)ResponseAdditionalData3DSecurethreeds2CardEnrolled(Boolean threeds2CardEnrolled)StringtoJson()Convert an instance of ResponseAdditionalData3DSecure to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_CARD_HOLDER_INFO
public static final String SERIALIZED_NAME_CARD_HOLDER_INFO
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CAVV
public static final String SERIALIZED_NAME_CAVV
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CAVV_ALGORITHM
public static final String SERIALIZED_NAME_CAVV_ALGORITHM
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SCA_EXEMPTION_REQUESTED
public static final String SERIALIZED_NAME_SCA_EXEMPTION_REQUESTED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_THREEDS2_CARD_ENROLLED
public static final String SERIALIZED_NAME_THREEDS2_CARD_ENROLLED
- See Also:
- Constant Field Values
-
-
Method Detail
-
cardHolderInfo
public ResponseAdditionalData3DSecure cardHolderInfo(String cardHolderInfo)
-
getCardHolderInfo
public String getCardHolderInfo()
Information provided by the issuer to the cardholder. If this field is present, you need to display this information to the cardholder.- Returns:
- cardHolderInfo
-
setCardHolderInfo
public void setCardHolderInfo(String cardHolderInfo)
-
cavv
public ResponseAdditionalData3DSecure cavv(String cavv)
-
getCavv
public String getCavv()
The Cardholder Authentication Verification Value (CAVV) for the 3D Secure authentication session, as a Base64-encoded 20-byte array.- Returns:
- cavv
-
setCavv
public void setCavv(String cavv)
-
cavvAlgorithm
public ResponseAdditionalData3DSecure cavvAlgorithm(String cavvAlgorithm)
-
getCavvAlgorithm
public String getCavvAlgorithm()
The CAVV algorithm used.- Returns:
- cavvAlgorithm
-
setCavvAlgorithm
public void setCavvAlgorithm(String cavvAlgorithm)
-
scaExemptionRequested
public ResponseAdditionalData3DSecure scaExemptionRequested(String scaExemptionRequested)
-
getScaExemptionRequested
public String getScaExemptionRequested()
Shows the [exemption type](https://docs.adyen.com/payments-fundamentals/psd2-sca-compliance-and-implementation-guide#specifypreferenceinyourapirequest) that Adyen requested for the payment. Possible values: * **lowValue** * **secureCorporate** * **trustedBeneficiary** * **transactionRiskAnalysis**- Returns:
- scaExemptionRequested
-
setScaExemptionRequested
public void setScaExemptionRequested(String scaExemptionRequested)
-
threeds2CardEnrolled
public ResponseAdditionalData3DSecure threeds2CardEnrolled(Boolean threeds2CardEnrolled)
-
getThreeds2CardEnrolled
public Boolean getThreeds2CardEnrolled()
Indicates whether a card is enrolled for 3D Secure 2.- Returns:
- threeds2CardEnrolled
-
setThreeds2CardEnrolled
public void setThreeds2CardEnrolled(Boolean threeds2CardEnrolled)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to ResponseAdditionalData3DSecure
-
fromJson
public static ResponseAdditionalData3DSecure fromJson(String jsonString) throws IOException
Create an instance of ResponseAdditionalData3DSecure given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ResponseAdditionalData3DSecure
- Throws:
IOException- if the JSON string is invalid with respect to ResponseAdditionalData3DSecure
-
toJson
public String toJson()
Convert an instance of ResponseAdditionalData3DSecure to an JSON string- Returns:
- JSON string
-
-