Package com.adyen.model.management
Class Nexo
- java.lang.Object
-
- com.adyen.model.management.Nexo
-
public class Nexo extends Object
Nexo
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_DISPLAY_URLSstatic StringJSON_PROPERTY_ENCRYPTION_KEYstatic StringJSON_PROPERTY_EVENT_URLSstatic StringJSON_PROPERTY_NEXO_EVENT_URLSstatic StringJSON_PROPERTY_NOTIFICATION
-
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)Return true if this Nexo object is equal to 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.NotificationgetNotification()Get notificationinthashCode()NexonexoEventUrls(List<String> nexoEventUrls)Deprecated.Nexonotification(Notification notification)voidsetDisplayUrls(NotificationUrl displayUrls)displayUrlsvoidsetEncryptionKey(Key encryptionKey)encryptionKeyvoidsetEventUrls(EventUrl eventUrls)eventUrlsvoidsetNexoEventUrls(List<String> nexoEventUrls)Deprecated.voidsetNotification(Notification notification)notificationStringtoJson()Convert an instance of Nexo to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_DISPLAY_URLS
public static final String JSON_PROPERTY_DISPLAY_URLS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ENCRYPTION_KEY
public static final String JSON_PROPERTY_ENCRYPTION_KEY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EVENT_URLS
public static final String JSON_PROPERTY_EVENT_URLS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NEXO_EVENT_URLS
public static final String JSON_PROPERTY_NEXO_EVENT_URLS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NOTIFICATION
public static final String JSON_PROPERTY_NOTIFICATION
- 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)
displayUrls- Parameters:
displayUrls-
-
getEncryptionKey
public Key getEncryptionKey()
Get encryptionKey- Returns:
- encryptionKey
-
setEncryptionKey
public void setEncryptionKey(Key encryptionKey)
encryptionKey- Parameters:
encryptionKey-
-
getEventUrls
public EventUrl getEventUrls()
Get eventUrls- Returns:
- eventUrls
-
setEventUrls
public void setEventUrls(EventUrl eventUrls)
eventUrls- Parameters:
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.One or more URLs to send event messages to when using Terminal API.- Parameters:
nexoEventUrls-
-
notification
public Nexo notification(Notification notification)
-
getNotification
public Notification getNotification()
Get notification- Returns:
- notification
-
setNotification
public void setNotification(Notification notification)
notification- Parameters:
notification-
-
equals
public boolean equals(Object o)
Return true if this Nexo object is equal to o.
-
fromJson
public static Nexo fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of Nexo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Nexo
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to Nexo
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of Nexo to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-