public class Account extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
active |
protected Boolean |
activeOrRestrictedActive |
protected Long |
createdBy |
protected OffsetDateTime |
createdOn |
protected Long |
deletedBy |
protected OffsetDateTime |
deletedOn |
protected Long |
id |
protected OffsetDateTime |
lastModifiedDate |
protected String |
name |
protected Account |
parentAccount |
protected OffsetDateTime |
plannedPurgeDate |
protected Boolean |
restrictedActive |
protected Long |
scope |
protected AccountState |
state |
protected Long |
subaccountLimit |
protected AccountType |
type |
protected Integer |
version |
| Constructor and Description |
|---|
Account() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Long |
getCreatedBy()
The ID of the user who created this entity.
|
OffsetDateTime |
getCreatedOn()
The date and time when this entity was created.
|
Long |
getDeletedBy()
The ID of a user that deleted this entity.
|
OffsetDateTime |
getDeletedOn()
The date and time when this entity was deleted.
|
Long |
getId()
A unique identifier for the object.
|
OffsetDateTime |
getLastModifiedDate()
The date and time when the object was last modified.
|
String |
getName()
The name of the account identifies the account within the administrative interface.
|
Account |
getParentAccount()
The account which is responsible for administering the account.
|
OffsetDateTime |
getPlannedPurgeDate()
The date and time when the object is planned to be permanently removed.
|
Long |
getScope()
This is the scope to which the account belongs to.
|
AccountState |
getState()
The object's current state.
|
Long |
getSubaccountLimit()
This property restricts the number of subaccounts which can be created within this account.
|
AccountType |
getType()
The account type defines which role and capabilities it has.
|
Integer |
getVersion()
The version is used for optimistic locking and incremented whenever the object is updated.
|
int |
hashCode() |
Boolean |
isActive()
Active means that this account and all accounts in the hierarchy are active.
|
Boolean |
isActiveOrRestrictedActive()
This property is true when all accounts in the hierarchy are active or restricted active.
|
Boolean |
isRestrictedActive()
Restricted active means that at least one account in the hierarchy is only restricted active, but all are either restricted active or active.
|
String |
toString() |
protected Boolean active
protected Boolean activeOrRestrictedActive
protected Long createdBy
protected OffsetDateTime createdOn
protected Long deletedBy
protected OffsetDateTime deletedOn
protected Long id
protected OffsetDateTime lastModifiedDate
protected String name
protected Account parentAccount
protected OffsetDateTime plannedPurgeDate
protected Boolean restrictedActive
protected Long scope
protected AccountState state
protected Long subaccountLimit
protected AccountType type
protected Integer version
public Boolean isActive()
public Boolean isActiveOrRestrictedActive()
public Long getCreatedBy()
public OffsetDateTime getCreatedOn()
public Long getDeletedBy()
public OffsetDateTime getDeletedOn()
public Long getId()
public OffsetDateTime getLastModifiedDate()
public String getName()
public Account getParentAccount()
public OffsetDateTime getPlannedPurgeDate()
public Boolean isRestrictedActive()
public Long getScope()
public AccountState getState()
public Long getSubaccountLimit()
public AccountType getType()
public Integer getVersion()
Copyright © 2023. All rights reserved.