Package com.adyen.model.management
Class NotificationUrl
- java.lang.Object
-
- com.adyen.model.management.NotificationUrl
-
public class NotificationUrl extends Object
NotificationUrl
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_LOCAL_URLSstatic StringJSON_PROPERTY_PUBLIC_URLS
-
Constructor Summary
Constructors Constructor Description NotificationUrl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NotificationUrladdLocalUrlsItem(Url localUrlsItem)NotificationUrladdPublicUrlsItem(Url publicUrlsItem)booleanequals(Object o)Return true if this NotificationUrl object is equal to o.static NotificationUrlfromJson(String jsonString)Create an instance of NotificationUrl given an JSON stringList<Url>getLocalUrls()One or more local URLs to send notifications to when using Terminal API.List<Url>getPublicUrls()One or more public URLs to send notifications to when using Terminal API.inthashCode()NotificationUrllocalUrls(List<Url> localUrls)NotificationUrlpublicUrls(List<Url> publicUrls)voidsetLocalUrls(List<Url> localUrls)One or more local URLs to send notifications to when using Terminal API.voidsetPublicUrls(List<Url> publicUrls)One or more public URLs to send notifications to when using Terminal API.StringtoJson()Convert an instance of NotificationUrl to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_LOCAL_URLS
public static final String JSON_PROPERTY_LOCAL_URLS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PUBLIC_URLS
public static final String JSON_PROPERTY_PUBLIC_URLS
- See Also:
- Constant Field Values
-
-
Method Detail
-
localUrls
public NotificationUrl localUrls(List<Url> localUrls)
-
addLocalUrlsItem
public NotificationUrl addLocalUrlsItem(Url localUrlsItem)
-
getLocalUrls
public List<Url> getLocalUrls()
One or more local URLs to send notifications to when using Terminal API.- Returns:
- localUrls
-
setLocalUrls
public void setLocalUrls(List<Url> localUrls)
One or more local URLs to send notifications to when using Terminal API.- Parameters:
localUrls-
-
publicUrls
public NotificationUrl publicUrls(List<Url> publicUrls)
-
addPublicUrlsItem
public NotificationUrl addPublicUrlsItem(Url publicUrlsItem)
-
getPublicUrls
public List<Url> getPublicUrls()
One or more public URLs to send notifications to when using Terminal API.- Returns:
- publicUrls
-
setPublicUrls
public void setPublicUrls(List<Url> publicUrls)
One or more public URLs to send notifications to when using Terminal API.- Parameters:
publicUrls-
-
equals
public boolean equals(Object o)
Return true if this NotificationUrl object is equal to o.
-
fromJson
public static NotificationUrl fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of NotificationUrl given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of NotificationUrl
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to NotificationUrl
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of NotificationUrl to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-