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.inthashCode()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.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-- 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
-
setEventLocalUrls
public void setEventLocalUrls(List<Url> eventLocalUrls)
One or more local URLs to send event notifications to when using Terminal API.- Parameters:
eventLocalUrls-
-
eventPublicUrls
public EventUrl eventPublicUrls(List<Url> eventPublicUrls)
One or more public URLs to send event notifications to when using Terminal API.- Parameters:
eventPublicUrls-- 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
-
setEventPublicUrls
public void setEventPublicUrls(List<Url> eventPublicUrls)
One or more public URLs to send event notifications to when using Terminal API.- Parameters:
eventPublicUrls-
-
equals
public boolean equals(Object o)
Return true if this EventUrl object is equal to o.
-
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
-
-