Package com.adyen.model.payments
Class ExternalPlatform
- java.lang.Object
-
- com.adyen.model.payments.ExternalPlatform
-
public class ExternalPlatform extends Object
ExternalPlatform
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExternalPlatform.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_INTEGRATORstatic StringSERIALIZED_NAME_NAMEstatic StringSERIALIZED_NAME_VERSION
-
Constructor Summary
Constructors Constructor Description ExternalPlatform()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static ExternalPlatformfromJson(String jsonString)Create an instance of ExternalPlatform given an JSON stringStringgetIntegrator()External platform integrator.StringgetName()Name of the field.StringgetVersion()Version of the field.inthashCode()ExternalPlatformintegrator(String integrator)ExternalPlatformname(String name)voidsetIntegrator(String integrator)voidsetName(String name)voidsetVersion(String version)StringtoJson()Convert an instance of ExternalPlatform to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues foundExternalPlatformversion(String version)
-
-
-
Field Detail
-
SERIALIZED_NAME_INTEGRATOR
public static final String SERIALIZED_NAME_INTEGRATOR
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VERSION
public static final String SERIALIZED_NAME_VERSION
- See Also:
- Constant Field Values
-
-
Method Detail
-
integrator
public ExternalPlatform integrator(String integrator)
-
getIntegrator
public String getIntegrator()
External platform integrator.- Returns:
- integrator
-
setIntegrator
public void setIntegrator(String integrator)
-
name
public ExternalPlatform name(String name)
-
getName
public String getName()
Name of the field. For example, Name of External Platform.- Returns:
- name
-
setName
public void setName(String name)
-
version
public ExternalPlatform version(String version)
-
getVersion
public String getVersion()
Version of the field. For example, Version of External Platform.- Returns:
- version
-
setVersion
public void setVersion(String version)
-
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 ExternalPlatform
-
fromJson
public static ExternalPlatform fromJson(String jsonString) throws IOException
Create an instance of ExternalPlatform given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ExternalPlatform
- Throws:
IOException- if the JSON string is invalid with respect to ExternalPlatform
-
toJson
public String toJson()
Convert an instance of ExternalPlatform to an JSON string- Returns:
- JSON string
-
-