Package com.adyen.model.management
Class EventUrl
- java.lang.Object
-
- com.adyen.model.management.EventUrl
-
public class EventUrl extends Object
EventUrl
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEventUrl.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_EVENT_LOCAL_URLSstatic StringSERIALIZED_NAME_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)EventUrleventLocalUrls(List<Url> eventLocalUrls)EventUrleventPublicUrls(List<Url> eventPublicUrls)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)voidsetEventPublicUrls(List<Url> eventPublicUrls)StringtoJson()Convert an instance of EventUrl to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_EVENT_LOCAL_URLS
public static final String SERIALIZED_NAME_EVENT_LOCAL_URLS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EVENT_PUBLIC_URLS
public static final String SERIALIZED_NAME_EVENT_PUBLIC_URLS
- See Also:
- Constant Field Values
-
-
Method Detail
-
getEventLocalUrls
public List<Url> getEventLocalUrls()
One or more local URLs to send event notifications to when using Terminal API.- Returns:
- eventLocalUrls
-
getEventPublicUrls
public List<Url> getEventPublicUrls()
One or more public URLs to send event notifications to when using Terminal API.- Returns:
- eventPublicUrls
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to EventUrl
-
fromJson
public static EventUrl fromJson(String jsonString) throws IOException
Create an instance of EventUrl given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of EventUrl
- Throws:
IOException- if the JSON string is invalid with respect to EventUrl
-
toJson
public String toJson()
Convert an instance of EventUrl to an JSON string- Returns:
- JSON string
-
-