Class WebData
- java.lang.Object
-
- com.adyen.model.legalentitymanagement.WebData
-
public class WebData extends Object
WebData
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_WEB_ADDRESSstatic StringJSON_PROPERTY_WEB_ADDRESS_ID
-
Constructor Summary
Constructors Constructor Description WebData()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this WebData object is equal to o.static WebDatafromJson(String jsonString)Create an instance of WebData given an JSON stringStringgetWebAddress()The URL of the website or the app store URL.StringgetWebAddressId()The unique identifier of the web address.inthashCode()voidsetWebAddress(String webAddress)The URL of the website or the app store URL.voidsetWebAddressId(String webAddressId)The unique identifier of the web address.StringtoJson()Convert an instance of WebData to an JSON stringStringtoString()WebDatawebAddress(String webAddress)WebDatawebAddressId(String webAddressId)
-
-
-
Field Detail
-
JSON_PROPERTY_WEB_ADDRESS
public static final String JSON_PROPERTY_WEB_ADDRESS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_WEB_ADDRESS_ID
public static final String JSON_PROPERTY_WEB_ADDRESS_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getWebAddress
public String getWebAddress()
The URL of the website or the app store URL.- Returns:
- webAddress
-
setWebAddress
public void setWebAddress(String webAddress)
The URL of the website or the app store URL.- Parameters:
webAddress-
-
getWebAddressId
public String getWebAddressId()
The unique identifier of the web address.- Returns:
- webAddressId
-
setWebAddressId
public void setWebAddressId(String webAddressId)
The unique identifier of the web address.- Parameters:
webAddressId-
-
equals
public boolean equals(Object o)
Return true if this WebData object is equal to o.
-
fromJson
public static WebData fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of WebData given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of WebData
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to WebData
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of WebData to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-