Class Entity
-
- All Implemented Interfaces:
public final class EntityInformation about an
Entity, which can be either an individual or an organization.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classEntity.BuilderA builder for Entity.
public final classEntity.EntityTypeType of
Entity.ORGANIZATIONfor Dinari Partners andINDIVIDUALfor their individual customers.
-
Method Summary
Modifier and Type Method Description final Stringid()Unique ID of the Entity.final Entity.EntityTypeentityType()Type of Entity.final BooleanisKycComplete()Indicates if Entitycompleted KYC.final Optional<String>name()Name of Entity.final Optional<String>nationality()Nationality or home country of the Entity.final Optional<String>referenceId()Case sensitive unique reference ID that you can set for the Entity.final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<Entity.EntityType>_entityType()Returns the raw JSON value of entityType. final JsonField<Boolean>_isKycComplete()Returns the raw JSON value of isKycComplete. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<String>_nationality()Returns the raw JSON value of nationality. final JsonField<String>_referenceId()Returns the raw JSON value of referenceId. final Map<String, JsonValue>_additionalProperties()final Entity.BuildertoBuilder()final Entityvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Entity.Builderbuilder()Returns a mutable builder for constructing an instance of Entity. -
-
Method Detail
-
entityType
final Entity.EntityType entityType()
Type of
Entity.ORGANIZATIONfor Dinari Partners andINDIVIDUALfor their individual customers.
-
isKycComplete
final Boolean isKycComplete()
Indicates if
Entitycompleted KYC.
-
nationality
final Optional<String> nationality()
Nationality or home country of the
Entity.
-
referenceId
final Optional<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.
-
_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.
-
_entityType
final JsonField<Entity.EntityType> _entityType()
Returns the raw JSON value of entityType.
Unlike entityType, this method doesn't throw if the JSON field has an unexpected type.
-
_isKycComplete
final JsonField<Boolean> _isKycComplete()
Returns the raw JSON value of isKycComplete.
Unlike isKycComplete, this method doesn't throw if the JSON field has an unexpected type.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_nationality
final JsonField<String> _nationality()
Returns the raw JSON value of nationality.
Unlike nationality, this method doesn't throw if the JSON field has an unexpected type.
-
_referenceId
final JsonField<String> _referenceId()
Returns the raw JSON value of referenceId.
Unlike referenceId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final Entity.Builder toBuilder()
-
builder
final static Entity.Builder builder()
Returns a mutable builder for constructing an instance of Entity.
The following fields are required:
.id() .entityType() .isKycComplete()
-
-
-
-