Class Account
-
- All Implemented Interfaces:
public final class AccountInformation about an
Accountowned by anEntity.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAccount.BuilderA builder for Account.
-
Method Summary
Modifier and Type Method Description final Stringid()Unique ID for the Account.final OffsetDateTimecreatedDt()Datetime when the Accountwas created.final StringentityId()ID for the Entitythat owns theAccount.final BooleanisActive()Indicates whether the Accountis active.final Optional<String>brokerageAccountId()ID of the brokerage account associated with the Account.final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<OffsetDateTime>_createdDt()Returns the raw JSON value of createdDt. final JsonField<String>_entityId()Returns the raw JSON value of entityId. final JsonField<Boolean>_isActive()Returns the raw JSON value of isActive. final JsonField<String>_brokerageAccountId()Returns the raw JSON value of brokerageAccountId. final Map<String, JsonValue>_additionalProperties()final Account.BuildertoBuilder()final Accountvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Account.Builderbuilder()Returns a mutable builder for constructing an instance of Account. -
-
Method Detail
-
createdDt
final OffsetDateTime createdDt()
Datetime when the
Accountwas created. ISO 8601 timestamp.
-
brokerageAccountId
final Optional<String> brokerageAccountId()
ID of the brokerage account associated with the
Account.
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_createdDt
final JsonField<OffsetDateTime> _createdDt()
Returns the raw JSON value of createdDt.
Unlike createdDt, this method doesn't throw if the JSON field has an unexpected type.
-
_entityId
final JsonField<String> _entityId()
Returns the raw JSON value of entityId.
Unlike entityId, this method doesn't throw if the JSON field has an unexpected type.
-
_isActive
final JsonField<Boolean> _isActive()
Returns the raw JSON value of isActive.
Unlike isActive, this method doesn't throw if the JSON field has an unexpected type.
-
_brokerageAccountId
final JsonField<String> _brokerageAccountId()
Returns the raw JSON value of brokerageAccountId.
Unlike brokerageAccountId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final Account.Builder toBuilder()
-
builder
final static Account.Builder builder()
Returns a mutable builder for constructing an instance of Account.
The following fields are required:
.id() .createdDt() .entityId() .isActive()
-
-
-
-