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 the account was created by.
|
OffsetDateTime |
getCreatedOn()
The date and time when the account was created.
|
Long |
getDeletedBy()
The ID of a user the account was deleted by.
|
OffsetDateTime |
getDeletedOn()
The date and time when the account 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 used to identify the account.
|
Account |
getParentAccount()
The parent account responsible for administering this account.
|
OffsetDateTime |
getPlannedPurgeDate()
The date and time when the object is planned to be permanently removed.
|
Long |
getScope()
The scope that the account belongs to.
|
AccountState |
getState()
The object's current state.
|
Long |
getSubaccountLimit()
The number of sub-accounts that can be created within this account.
|
AccountType |
getType()
The account's type which defines its role and capabilities.
|
Integer |
getVersion()
The version is used for optimistic locking and incremented whenever the object is updated.
|
int |
hashCode() |
Boolean |
isActive()
Whether this account and all its parent accounts are active.
|
Boolean |
isActiveOrRestrictedActive()
Whether this account and all its parent accounts are active or restricted active.
|
Boolean |
isRestrictedActive()
Whether this account and all its parent accounts are active or restricted 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 © 2024. All rights reserved.