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, com.novomind.ecom.common.api.persistence.WithId

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

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
    This enumeration describes the type of an account.
  • Method Summary

    Modifier and Type
    Method
    Description
    The method returns the AccountType of this account.
    Returns the Account's email address.
     
     
     
    boolean
    Returns the enabled status
    boolean
    Returns if the account is allowed to send answers

    Methods inherited from interface com.novomind.ecom.common.api.persistence.Entity

    compareTo, isDeleted, isNotDeleted

    Methods inherited from interface com.novomind.ecom.common.api.attribute.Named

    getName

    Methods inherited from interface com.novomind.ecom.api.iagent.provider.StorageProvider

    getStorage

    Methods inherited from interface com.novomind.ecom.api.iagent.provider.TenantProvider

    getTenant

    Methods inherited from interface com.novomind.ecom.common.api.persistence.WithId

    getId
  • 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