Package com.adyen.model.balanceplatform
Class ContactDetails
- java.lang.Object
-
- com.adyen.model.balanceplatform.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.Get addressStringgetEmail()Deprecated.The email address of the account holder.Map<String,Object>getExplicitNulls()Deprecated.Returns a map of properties to be merged into the JSON payload as explicit null values.PhonegetPhone()Deprecated.Get phoneStringgetWebAddress()Deprecated.The URL of the account holder's website.inthashCode()Deprecated.ContactDetailsincludeNullValues(boolean includeNullValues)Deprecated.Configures whether null values are explicitly serialized in the JSON payload.booleanisIncludeNullValues()Deprecated.Returns whether null values are explicitly serialized in the JSON payload.ContactDetailsphone(Phone phone)Deprecated.phonevoidsetAddress(Address address)Deprecated.addressvoidsetEmail(String email)Deprecated.The email address of the account holder.voidsetIncludeNullValues(boolean includeNullValues)Deprecated.Sets whether null values should be explicitly serialized in the JSON payload.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.Get 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- The email address of the account holder.- Returns:
- the current
ContactDetailsinstance, allowing for method chaining
-
getEmail
public String getEmail()
Deprecated.The email address of the account holder.- Returns:
- email The email address of the account holder.
-
setEmail
public void setEmail(String email)
Deprecated.The email address of the account holder.- Parameters:
email- The email address of the account holder.
-
phone
public ContactDetails phone(Phone phone)
Deprecated.phone- Parameters:
phone-- Returns:
- the current
ContactDetailsinstance, allowing for method chaining
-
getPhone
public Phone getPhone()
Deprecated.Get 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- The URL of the account holder's website.- Returns:
- the current
ContactDetailsinstance, allowing for method chaining
-
getWebAddress
public String getWebAddress()
Deprecated.The URL of the account holder's website.- Returns:
- webAddress The URL of the account holder's website.
-
setWebAddress
public void setWebAddress(String webAddress)
Deprecated.The URL of the account holder's website.- Parameters:
webAddress- The URL of the account holder's website.
-
includeNullValues
public ContactDetails includeNullValues(boolean includeNullValues)
Deprecated.Configures whether null values are explicitly serialized in the JSON payload. Default is false.
-
isIncludeNullValues
public boolean isIncludeNullValues()
Deprecated.Returns whether null values are explicitly serialized in the JSON payload.
-
setIncludeNullValues
public void setIncludeNullValues(boolean includeNullValues)
Deprecated.Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
-
equals
public boolean equals(Object o)
Deprecated.Return true if this ContactDetails object is equal to o.
-
getExplicitNulls
public Map<String,Object> getExplicitNulls()
Deprecated.Returns a map of properties to be merged into the JSON payload as explicit null values.
-
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
-
-