Class Entity.Builder
-
- All Implemented Interfaces:
public final class Entity.BuilderA builder for Entity.
-
-
Method Summary
Modifier and Type Method Description final Entity.Builderid(String id)Unique ID of the Entity.final Entity.Builderid(JsonField<String> id)Sets Builder.id to an arbitrary JSON value. final Entity.BuilderentityType(Entity.EntityType entityType)Type of Entity.final Entity.BuilderentityType(JsonField<Entity.EntityType> entityType)Sets Builder.entityType to an arbitrary JSON value. final Entity.BuilderisKycComplete(Boolean isKycComplete)Indicates if Entitycompleted KYC.final Entity.BuilderisKycComplete(JsonField<Boolean> isKycComplete)Sets Builder.isKycComplete to an arbitrary JSON value. final Entity.Buildername(String name)Name of Entity.final Entity.Buildername(Optional<String> name)Alias for calling Builder.name with name.orElse(null).final Entity.Buildername(JsonField<String> name)Sets Builder.name to an arbitrary JSON value. final Entity.Buildernationality(String nationality)Nationality or home country of the Entity.final Entity.Buildernationality(Optional<String> nationality)Alias for calling Builder.nationality with nationality.orElse(null).final Entity.Buildernationality(JsonField<String> nationality)Sets Builder.nationality to an arbitrary JSON value. final Entity.BuilderreferenceId(String referenceId)Case sensitive unique reference ID that you can set for the Entity.final Entity.BuilderreferenceId(Optional<String> referenceId)Alias for calling Builder.referenceId with referenceId.orElse(null).final Entity.BuilderreferenceId(JsonField<String> referenceId)Sets Builder.referenceId to an arbitrary JSON value. final Entity.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final Entity.BuilderputAdditionalProperty(String key, JsonValue value)final Entity.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final Entity.BuilderremoveAdditionalProperty(String key)final Entity.BuilderremoveAllAdditionalProperties(Set<String> keys)final Entitybuild()Returns an immutable instance of Entity. -
-
Method Detail
-
id
final Entity.Builder id(String id)
Unique ID of the
Entity.
-
id
final Entity.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.
-
entityType
final Entity.Builder entityType(Entity.EntityType entityType)
Type of
Entity.ORGANIZATIONfor Dinari Partners andINDIVIDUALfor their individual customers.
-
entityType
final Entity.Builder entityType(JsonField<Entity.EntityType> entityType)
Sets Builder.entityType to an arbitrary JSON value.
You should usually call Builder.entityType with a well-typed EntityType value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
isKycComplete
final Entity.Builder isKycComplete(Boolean isKycComplete)
Indicates if
Entitycompleted KYC.
-
isKycComplete
final Entity.Builder isKycComplete(JsonField<Boolean> isKycComplete)
Sets Builder.isKycComplete to an arbitrary JSON value.
You should usually call Builder.isKycComplete with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final Entity.Builder name(String name)
Name of
Entity.
-
name
final Entity.Builder name(Optional<String> name)
Alias for calling Builder.name with
name.orElse(null).
-
name
final Entity.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
nationality
final Entity.Builder nationality(String nationality)
Nationality or home country of the
Entity.
-
nationality
final Entity.Builder nationality(Optional<String> nationality)
Alias for calling Builder.nationality with
nationality.orElse(null).
-
nationality
final Entity.Builder nationality(JsonField<String> nationality)
Sets Builder.nationality to an arbitrary JSON value.
You should usually call Builder.nationality with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
referenceId
final Entity.Builder referenceId(String referenceId)
Case sensitive unique reference ID that you can set for the
Entity. We recommend setting this to the unique ID of theEntityin your system.
-
referenceId
final Entity.Builder referenceId(Optional<String> referenceId)
Alias for calling Builder.referenceId with
referenceId.orElse(null).
-
referenceId
final Entity.Builder referenceId(JsonField<String> referenceId)
Sets Builder.referenceId to an arbitrary JSON value.
You should usually call Builder.referenceId 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 Entity.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final Entity.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final Entity.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final Entity.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final Entity.Builder removeAllAdditionalProperties(Set<String> keys)
-
-
-
-