com.avaya.ccs.api

## Interface EmailListEntryI

-     public interface EmailListEntryI

  The `EmailListEntryI` object represents an email address administered for a customer that is associated with an `InteractionI`.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getEmailAddress()`
    `java.lang.String` | `getId()`
    `boolean` | `isDefault()`
    `void` | `setDefault(boolean isDefault)` Allows the `UserI` processing an `InteractionI` to set this as the default email address for the customer
    `void` | `setEmailAddress(java.lang.String emailAddress)` Allows a `UserI` on an `InteractionI` with a customer to update the email record for the customer server.

- - ### Method Detail

    - #### getId

          java.lang.String getId()

      Returns:
        the unique id for the email entry

    - #### getEmailAddress

          java.lang.String getEmailAddress()

      Returns:
        the email address for the customer or an empty string if not administered

    - #### isDefault

          boolean isDefault()

      Returns:
        true if this is the default email address as configured in AACC; otherwise false.

    - #### setEmailAddress

          void setEmailAddress(java.lang.String emailAddress)

      Allows a `UserI` on an `InteractionI` with a customer to update the email record for the customer server.

      To push the update to the server, `InteractionI.updateCustomerEmail(com.avaya.ccs.api.EmailListEntryI)` must be invoked after modifying the email address with an invocation of this method.

      Parameters:
        `emailAddress` - the new email address value

    - #### setDefault

          void setDefault(boolean isDefault)

      Allows the `UserI` processing an `InteractionI` to set this as the default email address for the customer
      Parameters:
        `isDefault` - true/false