Package com.adyen.model.management
Class Nexo
- java.lang.Object
-
- com.adyen.model.management.Nexo
-
public class Nexo extends Object
Nexo
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNexo.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_DISPLAY_URLSstatic StringSERIALIZED_NAME_ENCRYPTION_KEYstatic StringSERIALIZED_NAME_EVENT_URLSstatic StringSERIALIZED_NAME_NEXO_EVENT_URLS
-
Constructor Summary
Constructors Constructor Description Nexo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description NexoaddNexoEventUrlsItem(String nexoEventUrlsItem)NexodisplayUrls(NotificationUrl displayUrls)NexoencryptionKey(Key encryptionKey)booleanequals(Object o)NexoeventUrls(EventUrl eventUrls)static NexofromJson(String jsonString)Create an instance of Nexo given an JSON stringNotificationUrlgetDisplayUrls()Get displayUrlsKeygetEncryptionKey()Get encryptionKeyEventUrlgetEventUrls()Get eventUrlsList<String>getNexoEventUrls()Deprecated.inthashCode()NexonexoEventUrls(List<String> nexoEventUrls)Deprecated.voidsetDisplayUrls(NotificationUrl displayUrls)voidsetEncryptionKey(Key encryptionKey)voidsetEventUrls(EventUrl eventUrls)voidsetNexoEventUrls(List<String> nexoEventUrls)Deprecated.StringtoJson()Convert an instance of Nexo 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_DISPLAY_URLS
public static final String SERIALIZED_NAME_DISPLAY_URLS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ENCRYPTION_KEY
public static final String SERIALIZED_NAME_ENCRYPTION_KEY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EVENT_URLS
public static final String SERIALIZED_NAME_EVENT_URLS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NEXO_EVENT_URLS
public static final String SERIALIZED_NAME_NEXO_EVENT_URLS
- See Also:
- Constant Field Values
-
-
Method Detail
-
displayUrls
public Nexo displayUrls(NotificationUrl displayUrls)
-
getDisplayUrls
public NotificationUrl getDisplayUrls()
Get displayUrls- Returns:
- displayUrls
-
setDisplayUrls
public void setDisplayUrls(NotificationUrl displayUrls)
-
getEncryptionKey
public Key getEncryptionKey()
Get encryptionKey- Returns:
- encryptionKey
-
setEncryptionKey
public void setEncryptionKey(Key encryptionKey)
-
getEventUrls
public EventUrl getEventUrls()
Get eventUrls- Returns:
- eventUrls
-
setEventUrls
public void setEventUrls(EventUrl eventUrls)
-
nexoEventUrls
@Deprecated public Nexo nexoEventUrls(List<String> nexoEventUrls)
Deprecated.
-
getNexoEventUrls
@Deprecated public List<String> getNexoEventUrls()
Deprecated.One or more URLs to send event messages to when using Terminal API.- Returns:
- nexoEventUrls
-
setNexoEventUrls
@Deprecated public void setNexoEventUrls(List<String> nexoEventUrls)
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 Nexo
-
fromJson
public static Nexo fromJson(String jsonString) throws IOException
Create an instance of Nexo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Nexo
- Throws:
IOException- if the JSON string is invalid with respect to Nexo
-
toJson
public String toJson()
Convert an instance of Nexo to an JSON string- Returns:
- JSON string
-
-