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)displayUrlsNexoencryptionKey(Key encryptionKey)encryptionKeybooleanequals(Object o)Return true if this Nexo object is equal to o.NexoeventUrls(EventUrl eventUrls)eventUrlsstatic NexofromJson(String jsonString)Create an instance of Nexo given an JSON stringNotificationUrlgetDisplayUrls()displayUrlsKeygetEncryptionKey()encryptionKeyEventUrlgetEventUrls()eventUrlsList<String>getNexoEventUrls()Deprecated.since Management API v1 Use `eventUrls` instead.NotificationgetNotification()notificationinthashCode()NexonexoEventUrls(List<String> nexoEventUrls)Deprecated.since Management API v1 Use `eventUrls` instead.Nexonotification(Notification notification)notificationvoidsetDisplayUrls(NotificationUrl displayUrls)displayUrlsvoidsetEncryptionKey(Key encryptionKey)encryptionKeyvoidsetEventUrls(EventUrl eventUrls)eventUrlsvoidsetNexoEventUrls(List<String> nexoEventUrls)Deprecated.since Management API v1 Use `eventUrls` instead.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)
displayUrls- Parameters:
displayUrls-- Returns:
- the current
Nexoinstance, allowing for method chaining
-
getDisplayUrls
public NotificationUrl getDisplayUrls()
displayUrls- Returns:
- displayUrls
-
setDisplayUrls
public void setDisplayUrls(NotificationUrl displayUrls)
displayUrls- Parameters:
displayUrls-
-
encryptionKey
public Nexo encryptionKey(Key encryptionKey)
encryptionKey- Parameters:
encryptionKey-- Returns:
- the current
Nexoinstance, allowing for method chaining
-
getEncryptionKey
public Key getEncryptionKey()
encryptionKey- Returns:
- encryptionKey
-
setEncryptionKey
public void setEncryptionKey(Key encryptionKey)
encryptionKey- Parameters:
encryptionKey-
-
eventUrls
public Nexo eventUrls(EventUrl eventUrls)
eventUrls- Parameters:
eventUrls-- Returns:
- the current
Nexoinstance, allowing for method chaining
-
getEventUrls
public EventUrl getEventUrls()
eventUrls- Returns:
- eventUrls
-
setEventUrls
public void setEventUrls(EventUrl eventUrls)
eventUrls- Parameters:
eventUrls-
-
nexoEventUrls
@Deprecated public Nexo nexoEventUrls(List<String> nexoEventUrls)
Deprecated.since Management API v1 Use `eventUrls` instead.One or more URLs to send event messages to when using Terminal API.- Parameters:
nexoEventUrls-- Returns:
- the current
Nexoinstance, allowing for method chaining
-
getNexoEventUrls
@Deprecated public List<String> getNexoEventUrls()
Deprecated.since Management API v1 Use `eventUrls` instead.One or more URLs to send event messages to when using Terminal API.- Returns:
- nexoEventUrls
-
setNexoEventUrls
@Deprecated public void setNexoEventUrls(List<String> nexoEventUrls)
Deprecated.since Management API v1 Use `eventUrls` instead.One or more URLs to send event messages to when using Terminal API.- Parameters:
nexoEventUrls-
-
notification
public Nexo notification(Notification notification)
notification- Parameters:
notification-- Returns:
- the current
Nexoinstance, allowing for method chaining
-
getNotification
public Notification getNotification()
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
-
-