Package com.adyen.model.transfers
Class ThreeDSecure
- java.lang.Object
-
- com.adyen.model.transfers.ThreeDSecure
-
public class ThreeDSecure extends Object
ThreeDSecure
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACS_TRANSACTION_ID
-
Constructor Summary
Constructors Constructor Description ThreeDSecure()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ThreeDSecureacsTransactionId(String acsTransactionId)The transaction identifier for the Access Control Serverbooleanequals(Object o)Return true if this ThreeDSecure object is equal to o.static ThreeDSecurefromJson(String jsonString)Create an instance of ThreeDSecure given an JSON stringStringgetAcsTransactionId()The transaction identifier for the Access Control ServerMap<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.inthashCode()ThreeDSecureincludeNullValues(boolean includeNullValues)Configures whether null values are explicitly serialized in the JSON payload.booleanisIncludeNullValues()Returns whether null values are explicitly serialized in the JSON payload.voidsetAcsTransactionId(String acsTransactionId)The transaction identifier for the Access Control ServervoidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.StringtoJson()Convert an instance of ThreeDSecure to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ACS_TRANSACTION_ID
public static final String JSON_PROPERTY_ACS_TRANSACTION_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
acsTransactionId
public ThreeDSecure acsTransactionId(String acsTransactionId)
The transaction identifier for the Access Control Server- Parameters:
acsTransactionId- The transaction identifier for the Access Control Server- Returns:
- the current
ThreeDSecureinstance, allowing for method chaining
-
getAcsTransactionId
public String getAcsTransactionId()
The transaction identifier for the Access Control Server- Returns:
- acsTransactionId The transaction identifier for the Access Control Server
-
setAcsTransactionId
public void setAcsTransactionId(String acsTransactionId)
The transaction identifier for the Access Control Server- Parameters:
acsTransactionId- The transaction identifier for the Access Control Server
-
includeNullValues
public ThreeDSecure includeNullValues(boolean includeNullValues)
Configures whether null values are explicitly serialized in the JSON payload. Default is false.
-
isIncludeNullValues
public boolean isIncludeNullValues()
Returns whether null values are explicitly serialized in the JSON payload.
-
setIncludeNullValues
public void setIncludeNullValues(boolean includeNullValues)
Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
-
equals
public boolean equals(Object o)
Return true if this ThreeDSecure object is equal to o.
-
getExplicitNulls
public Map<String,Object> getExplicitNulls()
Returns a map of properties to be merged into the JSON payload as explicit null values.
-
fromJson
public static ThreeDSecure fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of ThreeDSecure given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ThreeDSecure
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to ThreeDSecure
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of ThreeDSecure to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-