Package com.adyen.model.checkout
Class DetailsRequest
- java.lang.Object
-
- com.adyen.model.checkout.DetailsRequest
-
public class DetailsRequest extends Object
DetailsRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDetailsRequest.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_AUTHENTICATION_DATAstatic StringSERIALIZED_NAME_DETAILSstatic StringSERIALIZED_NAME_PAYMENT_DATAstatic StringSERIALIZED_NAME_THREE_D_S_AUTHENTICATION_ONLY
-
Constructor Summary
Constructors Constructor Description DetailsRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description DetailsRequestauthenticationData(DetailsRequestAuthenticationData authenticationData)DetailsRequestdetails(PaymentCompletionDetails details)booleanequals(Object o)static DetailsRequestfromJson(String jsonString)Create an instance of DetailsRequest given an JSON stringDetailsRequestAuthenticationDatagetAuthenticationData()Get authenticationDataPaymentCompletionDetailsgetDetails()Get detailsStringgetPaymentData()The `paymentData` value from the `/payments` response.BooleangetThreeDSAuthenticationOnly()Deprecated.inthashCode()DetailsRequestpaymentData(String paymentData)voidsetAuthenticationData(DetailsRequestAuthenticationData authenticationData)voidsetDetails(PaymentCompletionDetails details)voidsetPaymentData(String paymentData)voidsetThreeDSAuthenticationOnly(Boolean threeDSAuthenticationOnly)Deprecated.DetailsRequestthreeDSAuthenticationOnly(Boolean threeDSAuthenticationOnly)Deprecated.StringtoJson()Convert an instance of DetailsRequest 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_AUTHENTICATION_DATA
public static final String SERIALIZED_NAME_AUTHENTICATION_DATA
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DETAILS
public static final String SERIALIZED_NAME_DETAILS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PAYMENT_DATA
public static final String SERIALIZED_NAME_PAYMENT_DATA
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_THREE_D_S_AUTHENTICATION_ONLY
public static final String SERIALIZED_NAME_THREE_D_S_AUTHENTICATION_ONLY
- See Also:
- Constant Field Values
-
-
Method Detail
-
authenticationData
public DetailsRequest authenticationData(DetailsRequestAuthenticationData authenticationData)
-
getAuthenticationData
public DetailsRequestAuthenticationData getAuthenticationData()
Get authenticationData- Returns:
- authenticationData
-
setAuthenticationData
public void setAuthenticationData(DetailsRequestAuthenticationData authenticationData)
-
details
public DetailsRequest details(PaymentCompletionDetails details)
-
getDetails
public PaymentCompletionDetails getDetails()
Get details- Returns:
- details
-
setDetails
public void setDetails(PaymentCompletionDetails details)
-
paymentData
public DetailsRequest paymentData(String paymentData)
-
getPaymentData
public String getPaymentData()
The `paymentData` value from the `/payments` response. Required if the `/payments` response returns this value.- Returns:
- paymentData
-
setPaymentData
public void setPaymentData(String paymentData)
-
threeDSAuthenticationOnly
@Deprecated public DetailsRequest threeDSAuthenticationOnly(Boolean threeDSAuthenticationOnly)
Deprecated.
-
getThreeDSAuthenticationOnly
@Deprecated public Boolean getThreeDSAuthenticationOnly()
Deprecated.Change the `authenticationOnly` indicator originally set in the `/payments` request. Only needs to be set if you want to modify the value set previously.- Returns:
- threeDSAuthenticationOnly
-
setThreeDSAuthenticationOnly
@Deprecated public void setThreeDSAuthenticationOnly(Boolean threeDSAuthenticationOnly)
Deprecated.
-
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 DetailsRequest
-
fromJson
public static DetailsRequest fromJson(String jsonString) throws IOException
Create an instance of DetailsRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of DetailsRequest
- Throws:
IOException- if the JSON string is invalid with respect to DetailsRequest
-
toJson
public String toJson()
Convert an instance of DetailsRequest to an JSON string- Returns:
- JSON string
-
-