Class Account.EditableAccount

    • Method Detail

      • getContacts

        public List<URIgetContacts()
        Returns the list of all contact URIs for modification. Use the List methods to modify the contact list.

        The modified list is not validated. If you change entries, you have to make sure that they are valid according to the RFC. It is recommended to use the addContact() methods below to add new contacts to the list.

      • addEmail

        public Account.EditableAccount addEmail​(String email)
        Adds a new Contact email to the account.

        This is a convenience call for addContact(String) that doesn't require to prepend the email address with the "mailto" scheme.

        Parameters:
        email - Contact email without "mailto" scheme (e.g. test@gmail.com)
        Returns:
        itself