Class ContactDetails
- java.lang.Object
-
- com.adyen.model.configurationwebhooks.ContactDetails
-
@Deprecated public class ContactDetails extends Object
Deprecated.ContactDetails
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ADDRESSDeprecated.static StringJSON_PROPERTY_EMAILDeprecated.static StringJSON_PROPERTY_PHONEDeprecated.static StringJSON_PROPERTY_WEB_ADDRESSDeprecated.
-
Constructor Summary
Constructors Constructor Description ContactDetails()Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ContactDetailsaddress(Address address)Deprecated.addressContactDetailsemail(String email)Deprecated.The email address of the account holder.booleanequals(Object o)Deprecated.Return true if this ContactDetails object is equal to o.static ContactDetailsfromJson(String jsonString)Deprecated.Create an instance of ContactDetails given an JSON stringAddressgetAddress()Deprecated.addressStringgetEmail()Deprecated.The email address of the account holder.PhonegetPhone()Deprecated.phoneStringgetWebAddress()Deprecated.The URL of the account holder's website.inthashCode()Deprecated.ContactDetailsphone(Phone phone)Deprecated.phonevoidsetAddress(Address address)Deprecated.addressvoidsetEmail(String email)Deprecated.The email address of the account holder.voidsetPhone(Phone phone)Deprecated.phonevoidsetWebAddress(String webAddress)Deprecated.The URL of the account holder's website.StringtoJson()Deprecated.Convert an instance of ContactDetails to an JSON stringStringtoString()Deprecated.ContactDetailswebAddress(String webAddress)Deprecated.The URL of the account holder's website.
-
-
-
Field Detail
-
JSON_PROPERTY_ADDRESS
public static final String JSON_PROPERTY_ADDRESS
Deprecated.- See Also:
- Constant Field Values
-
JSON_PROPERTY_EMAIL
public static final String JSON_PROPERTY_EMAIL
Deprecated.- See Also:
- Constant Field Values
-
JSON_PROPERTY_PHONE
public static final String JSON_PROPERTY_PHONE
Deprecated.- See Also:
- Constant Field Values
-
JSON_PROPERTY_WEB_ADDRESS
public static final String JSON_PROPERTY_WEB_ADDRESS
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
address
public ContactDetails address(Address address)
Deprecated.address- Parameters:
address-- Returns:
- the current
ContactDetailsinstance, allowing for method chaining
-
getAddress
public Address getAddress()
Deprecated.address- Returns:
- address
-
setAddress
public void setAddress(Address address)
Deprecated.address- Parameters:
address-
-
email
public ContactDetails email(String email)
Deprecated.The email address of the account holder.- Parameters:
email-- Returns:
- the current
ContactDetailsinstance, allowing for method chaining
-
getEmail
public String getEmail()
Deprecated.The email address of the account holder.- Returns:
-
setEmail
public void setEmail(String email)
Deprecated.The email address of the account holder.- Parameters:
email-
-
phone
public ContactDetails phone(Phone phone)
Deprecated.phone- Parameters:
phone-- Returns:
- the current
ContactDetailsinstance, allowing for method chaining
-
getPhone
public Phone getPhone()
Deprecated.phone- Returns:
- phone
-
setPhone
public void setPhone(Phone phone)
Deprecated.phone- Parameters:
phone-
-
webAddress
public ContactDetails webAddress(String webAddress)
Deprecated.The URL of the account holder's website.- Parameters:
webAddress-- Returns:
- the current
ContactDetailsinstance, allowing for method chaining
-
getWebAddress
public String getWebAddress()
Deprecated.The URL of the account holder's website.- Returns:
- webAddress
-
setWebAddress
public void setWebAddress(String webAddress)
Deprecated.The URL of the account holder's website.- Parameters:
webAddress-
-
equals
public boolean equals(Object o)
Deprecated.Return true if this ContactDetails object is equal to o.
-
fromJson
public static ContactDetails fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Deprecated.Create an instance of ContactDetails given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ContactDetails
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to ContactDetails
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Deprecated.Convert an instance of ContactDetails to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-