Package com.adyen.model.checkout
Class SDKEphemPubKey
- java.lang.Object
-
- com.adyen.model.checkout.SDKEphemPubKey
-
public class SDKEphemPubKey extends Object
SDKEphemPubKey
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CRVstatic StringJSON_PROPERTY_KTYstatic StringJSON_PROPERTY_Xstatic StringJSON_PROPERTY_Y
-
Constructor Summary
Constructors Constructor Description SDKEphemPubKey()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SDKEphemPubKeycrv(String crv)The `crv` value as received from the 3D Secure 2 SDK.booleanequals(Object o)Return true if this SDKEphemPubKey object is equal to o.static SDKEphemPubKeyfromJson(String jsonString)Create an instance of SDKEphemPubKey given an JSON stringStringgetCrv()The `crv` value as received from the 3D Secure 2 SDK.Map<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.StringgetKty()The `kty` value as received from the 3D Secure 2 SDK.StringgetX()The `x` value as received from the 3D Secure 2 SDK.StringgetY()The `y` value as received from the 3D Secure 2 SDK.inthashCode()SDKEphemPubKeyincludeNullValues(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.SDKEphemPubKeykty(String kty)The `kty` value as received from the 3D Secure 2 SDK.voidsetCrv(String crv)The `crv` value as received from the 3D Secure 2 SDK.voidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.voidsetKty(String kty)The `kty` value as received from the 3D Secure 2 SDK.voidsetX(String x)The `x` value as received from the 3D Secure 2 SDK.voidsetY(String y)The `y` value as received from the 3D Secure 2 SDK.StringtoJson()Convert an instance of SDKEphemPubKey to an JSON stringStringtoString()SDKEphemPubKeyx(String x)The `x` value as received from the 3D Secure 2 SDK.SDKEphemPubKeyy(String y)The `y` value as received from the 3D Secure 2 SDK.
-
-
-
Field Detail
-
JSON_PROPERTY_CRV
public static final String JSON_PROPERTY_CRV
- See Also:
- Constant Field Values
-
JSON_PROPERTY_KTY
public static final String JSON_PROPERTY_KTY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_X
public static final String JSON_PROPERTY_X
- See Also:
- Constant Field Values
-
JSON_PROPERTY_Y
public static final String JSON_PROPERTY_Y
- See Also:
- Constant Field Values
-
-
Method Detail
-
crv
public SDKEphemPubKey crv(String crv)
The `crv` value as received from the 3D Secure 2 SDK.- Parameters:
crv- The `crv` value as received from the 3D Secure 2 SDK.- Returns:
- the current
SDKEphemPubKeyinstance, allowing for method chaining
-
getCrv
public String getCrv()
The `crv` value as received from the 3D Secure 2 SDK.- Returns:
- crv The `crv` value as received from the 3D Secure 2 SDK.
-
setCrv
public void setCrv(String crv)
The `crv` value as received from the 3D Secure 2 SDK.- Parameters:
crv- The `crv` value as received from the 3D Secure 2 SDK.
-
kty
public SDKEphemPubKey kty(String kty)
The `kty` value as received from the 3D Secure 2 SDK.- Parameters:
kty- The `kty` value as received from the 3D Secure 2 SDK.- Returns:
- the current
SDKEphemPubKeyinstance, allowing for method chaining
-
getKty
public String getKty()
The `kty` value as received from the 3D Secure 2 SDK.- Returns:
- kty The `kty` value as received from the 3D Secure 2 SDK.
-
setKty
public void setKty(String kty)
The `kty` value as received from the 3D Secure 2 SDK.- Parameters:
kty- The `kty` value as received from the 3D Secure 2 SDK.
-
x
public SDKEphemPubKey x(String x)
The `x` value as received from the 3D Secure 2 SDK.- Parameters:
x- The `x` value as received from the 3D Secure 2 SDK.- Returns:
- the current
SDKEphemPubKeyinstance, allowing for method chaining
-
getX
public String getX()
The `x` value as received from the 3D Secure 2 SDK.- Returns:
- x The `x` value as received from the 3D Secure 2 SDK.
-
setX
public void setX(String x)
The `x` value as received from the 3D Secure 2 SDK.- Parameters:
x- The `x` value as received from the 3D Secure 2 SDK.
-
y
public SDKEphemPubKey y(String y)
The `y` value as received from the 3D Secure 2 SDK.- Parameters:
y- The `y` value as received from the 3D Secure 2 SDK.- Returns:
- the current
SDKEphemPubKeyinstance, allowing for method chaining
-
getY
public String getY()
The `y` value as received from the 3D Secure 2 SDK.- Returns:
- y The `y` value as received from the 3D Secure 2 SDK.
-
setY
public void setY(String y)
The `y` value as received from the 3D Secure 2 SDK.- Parameters:
y- The `y` value as received from the 3D Secure 2 SDK.
-
includeNullValues
public SDKEphemPubKey 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 SDKEphemPubKey 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 SDKEphemPubKey fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of SDKEphemPubKey given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SDKEphemPubKey
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to SDKEphemPubKey
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of SDKEphemPubKey to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-