Class ContactDetails

    • Constructor Detail

      • ContactDetails

        public ContactDetails()
        Deprecated.
    • Method Detail

      • address

        public ContactDetails address​(Address address)
        Deprecated.
        address
        Parameters:
        address -
        Returns:
        the current ContactDetails instance, 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 ContactDetails instance, 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 ContactDetails instance, 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 ContactDetails instance, 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.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class Object
      • 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