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()Get displayUrlsKeygetEncryptionKey()Get encryptionKeyEventUrlgetEventUrls()Get eventUrlsMap<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.List<String>getNexoEventUrls()Deprecated.since Management API v1 Use `eventUrls` instead.NotificationgetNotification()Get notificationinthashCode()NexoincludeNullValues(boolean includeNullValues)Configures whether null values are explicitly serialized in the JSON payload.booleanisIncludeNullValues()Returns whether null values are explicitly serialized in the JSON payload.NexonexoEventUrls(List<String> nexoEventUrls)Deprecated.since Management API v1 Use `eventUrls` instead.Nexonotification(Notification notification)notificationvoidsetDisplayUrls(NotificationUrl displayUrls)displayUrlsvoidsetEncryptionKey(Key encryptionKey)encryptionKeyvoidsetEventUrls(EventUrl eventUrls)eventUrlsvoidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.voidsetNexoEventUrls(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()
Get 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()
Get 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()
Get 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- One or more URLs to send event messages to when using Terminal API.- 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 One or more URLs to send event messages to when using Terminal API.
-
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- One or more URLs to send event messages to when using Terminal API.
-
notification
public Nexo notification(Notification notification)
notification- Parameters:
notification-- Returns:
- the current
Nexoinstance, allowing for method chaining
-
getNotification
public Notification getNotification()
Get notification- Returns:
- notification
-
setNotification
public void setNotification(Notification notification)
notification- Parameters:
notification-
-
includeNullValues
public Nexo includeNullValues(boolean includeNullValues)
Configures whether null values are explicitly serialized in the JSON payload. Default is false.
-
isIncludeNullValues
public boolean isIncludeNullValues()
Returns whether null values are explicitly serialized in the JSON payload.
-
setIncludeNullValues
public void setIncludeNullValues(boolean includeNullValues)
Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
-
equals
public boolean equals(Object o)
Return true if this Nexo object is equal to o.
-
getExplicitNulls
public Map<String,Object> getExplicitNulls()
Returns a map of properties to be merged into the JSON payload as explicit null values.
-
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
-
-