Class Account.Builder
-
- All Implemented Interfaces:
public final class Account.BuilderA builder for Account.
-
-
Method Summary
Modifier and Type Method Description final Account.Builderid(String id)Unique ID for the Account.final Account.Builderid(JsonField<String> id)Sets Builder.id to an arbitrary JSON value. final Account.BuildercreatedDt(OffsetDateTime createdDt)Datetime when the Accountwas created.final Account.BuildercreatedDt(JsonField<OffsetDateTime> createdDt)Sets Builder.createdDt to an arbitrary JSON value. final Account.BuilderentityId(String entityId)ID for the Entitythat owns theAccount.final Account.BuilderentityId(JsonField<String> entityId)Sets Builder.entityId to an arbitrary JSON value. final Account.BuilderisActive(Boolean isActive)Indicates whether the Accountis active.final Account.BuilderisActive(JsonField<Boolean> isActive)Sets Builder.isActive to an arbitrary JSON value. final Account.BuilderbrokerageAccountId(String brokerageAccountId)ID of the brokerage account associated with the Account.final Account.BuilderbrokerageAccountId(Optional<String> brokerageAccountId)Alias for calling Builder.brokerageAccountId with brokerageAccountId.orElse(null).final Account.BuilderbrokerageAccountId(JsonField<String> brokerageAccountId)Sets Builder.brokerageAccountId to an arbitrary JSON value. final Account.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final Account.BuilderputAdditionalProperty(String key, JsonValue value)final Account.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final Account.BuilderremoveAdditionalProperty(String key)final Account.BuilderremoveAllAdditionalProperties(Set<String> keys)final Accountbuild()Returns an immutable instance of Account. -
-
Method Detail
-
id
final Account.Builder id(String id)
Unique ID for the
Account.
-
id
final Account.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
createdDt
final Account.Builder createdDt(OffsetDateTime createdDt)
Datetime when the
Accountwas created. ISO 8601 timestamp.
-
createdDt
final Account.Builder createdDt(JsonField<OffsetDateTime> createdDt)
Sets Builder.createdDt to an arbitrary JSON value.
You should usually call Builder.createdDt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
entityId
final Account.Builder entityId(String entityId)
ID for the
Entitythat owns theAccount.
-
entityId
final Account.Builder entityId(JsonField<String> entityId)
Sets Builder.entityId to an arbitrary JSON value.
You should usually call Builder.entityId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
isActive
final Account.Builder isActive(Boolean isActive)
Indicates whether the
Accountis active.
-
isActive
final Account.Builder isActive(JsonField<Boolean> isActive)
Sets Builder.isActive to an arbitrary JSON value.
You should usually call Builder.isActive with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
brokerageAccountId
final Account.Builder brokerageAccountId(String brokerageAccountId)
ID of the brokerage account associated with the
Account.
-
brokerageAccountId
final Account.Builder brokerageAccountId(Optional<String> brokerageAccountId)
Alias for calling Builder.brokerageAccountId with
brokerageAccountId.orElse(null).
-
brokerageAccountId
final Account.Builder brokerageAccountId(JsonField<String> brokerageAccountId)
Sets Builder.brokerageAccountId to an arbitrary JSON value.
You should usually call Builder.brokerageAccountId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final Account.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final Account.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final Account.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final Account.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final Account.Builder removeAllAdditionalProperties(Set<String> keys)
-
-
-
-