Package com.adyen.model.management
Class EventUrl
- java.lang.Object
-
- com.adyen.model.management.EventUrl
-
public class EventUrl extends Object
EventUrl
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_EVENT_LOCAL_URLSstatic StringJSON_PROPERTY_EVENT_PUBLIC_URLS
-
Constructor Summary
Constructors Constructor Description EventUrl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description EventUrladdEventLocalUrlsItem(Url eventLocalUrlsItem)EventUrladdEventPublicUrlsItem(Url eventPublicUrlsItem)booleanequals(Object o)Return true if this EventUrl object is equal to o.EventUrleventLocalUrls(List<Url> eventLocalUrls)One or more local URLs to send event notifications to when using Terminal API.EventUrleventPublicUrls(List<Url> eventPublicUrls)One or more public URLs to send event notifications to when using Terminal API.static EventUrlfromJson(String jsonString)Create an instance of EventUrl given an JSON stringList<Url>getEventLocalUrls()One or more local URLs to send event notifications to when using Terminal API.List<Url>getEventPublicUrls()One or more public URLs to send event notifications to when using Terminal API.Map<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.inthashCode()EventUrlincludeNullValues(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.voidsetEventLocalUrls(List<Url> eventLocalUrls)One or more local URLs to send event notifications to when using Terminal API.voidsetEventPublicUrls(List<Url> eventPublicUrls)One or more public URLs to send event notifications to when using Terminal API.voidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.StringtoJson()Convert an instance of EventUrl to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_EVENT_LOCAL_URLS
public static final String JSON_PROPERTY_EVENT_LOCAL_URLS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EVENT_PUBLIC_URLS
public static final String JSON_PROPERTY_EVENT_PUBLIC_URLS
- See Also:
- Constant Field Values
-
-
Method Detail
-
eventLocalUrls
public EventUrl eventLocalUrls(List<Url> eventLocalUrls)
One or more local URLs to send event notifications to when using Terminal API.- Parameters:
eventLocalUrls- One or more local URLs to send event notifications to when using Terminal API.- Returns:
- the current
EventUrlinstance, allowing for method chaining
-
getEventLocalUrls
public List<Url> getEventLocalUrls()
One or more local URLs to send event notifications to when using Terminal API.- Returns:
- eventLocalUrls One or more local URLs to send event notifications to when using Terminal API.
-
setEventLocalUrls
public void setEventLocalUrls(List<Url> eventLocalUrls)
One or more local URLs to send event notifications to when using Terminal API.- Parameters:
eventLocalUrls- One or more local URLs to send event notifications to when using Terminal API.
-
eventPublicUrls
public EventUrl eventPublicUrls(List<Url> eventPublicUrls)
One or more public URLs to send event notifications to when using Terminal API.- Parameters:
eventPublicUrls- One or more public URLs to send event notifications to when using Terminal API.- Returns:
- the current
EventUrlinstance, allowing for method chaining
-
getEventPublicUrls
public List<Url> getEventPublicUrls()
One or more public URLs to send event notifications to when using Terminal API.- Returns:
- eventPublicUrls One or more public URLs to send event notifications to when using Terminal API.
-
setEventPublicUrls
public void setEventPublicUrls(List<Url> eventPublicUrls)
One or more public URLs to send event notifications to when using Terminal API.- Parameters:
eventPublicUrls- One or more public URLs to send event notifications to when using Terminal API.
-
includeNullValues
public EventUrl 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 EventUrl 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 EventUrl fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of EventUrl given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of EventUrl
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to EventUrl
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of EventUrl to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-