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
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enum
This enumeration describes the type of an account. -
Method Summary
Modifier and TypeMethodDescriptionThe method returns theAccountType
of this account.Returns the Account's email address.boolean
Returns the enabled statusboolean
Returns if the account is allowed to send answersMethods inherited from interface com.novomind.ecom.common.api.persistence.Entity
compareTo, getId, 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
-
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
- Returns:
- the optional alternative outgoing account used to send messages
- Since:
- 10.0.142
-
getAccountType
Account.AccountType getAccountType()The method returns theAccountType
of this account.- Returns:
- the AccountType of the account
- Since:
- 11.24
-