Interface Account

All Superinterfaces:
Comparable<com.novomind.ecom.common.api.persistence.Entity>, com.novomind.ecom.common.api.persistence.Entity, MasterEntity, com.novomind.ecom.common.api.attribute.Named, StorageProvider, TenantProvider

public interface Account extends MasterEntity, com.novomind.ecom.common.api.attribute.Named, StorageProvider, TenantProvider
Represents an Account object
Since:
10.0.16
  • Method Details

    • getAddress

      String getAddress()
      Returns the Account's email address. The email address is also a unique identifier for this account.
      Returns:
      the email address as string
      Since:
      10.0.16
    • getChannel

      Channel getChannel()
      Returns:
      the Channel of the account.
      Since:
      10.0.50
    • isEnabled

      boolean isEnabled()
      Returns the enabled status
      Returns:
      true if account is enables otherwise false
      Since:
      10.0.50
    • isSendAllowed

      boolean isSendAllowed()
      Returns if the account is allowed to send answers
      Returns:
      true if account is allowed to send answers
      Since:
      10.0.120
    • getProtocol

      String getProtocol()
      Returns:
      the protocol of the account
      Since:
      10.0.50
    • getAlternativeOutgoingAccount

      Optional<Account> getAlternativeOutgoingAccount()
      Returns:
      the optional alternative outgoing account used to send messages
      Since:
      10.0.142
    • getAccountType

      Account.AccountType getAccountType()
      The method returns the AccountType of this account.
      Returns:
      the AccountType of the account
      Since:
      11.24