Package com.adyen.model.checkout
Class SDKEphemPubKey
- java.lang.Object
-
- com.adyen.model.checkout.SDKEphemPubKey
-
public class SDKEphemPubKey extends Object
SDKEphemPubKey
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSDKEphemPubKey.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CRVstatic StringSERIALIZED_NAME_KTYstatic StringSERIALIZED_NAME_Xstatic StringSERIALIZED_NAME_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)booleanequals(Object 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.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()SDKEphemPubKeykty(String kty)voidsetCrv(String crv)voidsetKty(String kty)voidsetX(String x)voidsetY(String y)StringtoJson()Convert an instance of SDKEphemPubKey to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues foundSDKEphemPubKeyx(String x)SDKEphemPubKeyy(String y)
-
-
-
Field Detail
-
SERIALIZED_NAME_CRV
public static final String SERIALIZED_NAME_CRV
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_KTY
public static final String SERIALIZED_NAME_KTY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_X
public static final String SERIALIZED_NAME_X
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_Y
public static final String SERIALIZED_NAME_Y
- See Also:
- Constant Field Values
-
-
Method Detail
-
crv
public SDKEphemPubKey crv(String crv)
-
getCrv
public String getCrv()
The `crv` value as received from the 3D Secure 2 SDK.- Returns:
- crv
-
setCrv
public void setCrv(String crv)
-
kty
public SDKEphemPubKey kty(String kty)
-
getKty
public String getKty()
The `kty` value as received from the 3D Secure 2 SDK.- Returns:
- kty
-
setKty
public void setKty(String kty)
-
x
public SDKEphemPubKey x(String x)
-
getX
public String getX()
The `x` value as received from the 3D Secure 2 SDK.- Returns:
- x
-
setX
public void setX(String x)
-
y
public SDKEphemPubKey y(String y)
-
getY
public String getY()
The `y` value as received from the 3D Secure 2 SDK.- Returns:
- y
-
setY
public void setY(String y)
-
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 SDKEphemPubKey
-
fromJson
public static SDKEphemPubKey fromJson(String jsonString) throws IOException
Create an instance of SDKEphemPubKey given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SDKEphemPubKey
- Throws:
IOException- if the JSON string is invalid with respect to SDKEphemPubKey
-
toJson
public String toJson()
Convert an instance of SDKEphemPubKey to an JSON string- Returns:
- JSON string
-
-