StakeholderDetailsModel

@Serializable
data class StakeholderDetailsModel(val stakeholderUuid: String, val externalId: String, val statusString: String, val status: AccountStatusModel? = statusString.getEnum<AccountStatusModel>(), val statusReasonString: String?, val statusReason: AccountStatusReasonModel? = statusReasonString?.getEnum<AccountStatusReasonModel>(), val stageString: String?, val stage: AccountStageModel? = stageString?.getEnum<AccountStageModel>(), val stakeholderTypesString: List<String>, val stakeholderTypes: List<StakeholderTypeModel?> = stakeholderTypesString.map { it.getEnum<StakeholderTypeModel>() }, val officerTitles: List<String>?, val percentOwnership: Float?, val firstName: String, val middleName: String?, val lastName: String, val dateOfBirth: String?)

Stakeholders of a business account.

Constructors

Link copied to clipboard
constructor(stakeholderUuid: String, externalId: String, statusString: String, status: AccountStatusModel? = statusString.getEnum<AccountStatusModel>(), statusReasonString: String?, statusReason: AccountStatusReasonModel? = statusReasonString?.getEnum<AccountStatusReasonModel>(), stageString: String?, stage: AccountStageModel? = stageString?.getEnum<AccountStageModel>(), stakeholderTypesString: List<String>, stakeholderTypes: List<StakeholderTypeModel?> = stakeholderTypesString.map { it.getEnum<StakeholderTypeModel>() }, officerTitles: List<String>?, percentOwnership: Float?, firstName: String, middleName: String?, lastName: String, dateOfBirth: String?)

Properties

Link copied to clipboard
@SerialName(value = "date_of_birth")
val dateOfBirth: String?

User date of birth in the format "yyyy-mm-dd".

Link copied to clipboard
@SerialName(value = "external_id")
val externalId: String

External identifier in your platform.

Link copied to clipboard
@SerialName(value = "first_name")
val firstName: String

User first name.

Link copied to clipboard
@SerialName(value = "last_name")
val lastName: String

User last name.

Link copied to clipboard
@SerialName(value = "middle_name")
val middleName: String?

User middle name.

Link copied to clipboard
@SerialName(value = "officer_titles")
val officerTitles: List<String>?

The job titles for stakeholder type StakeholderTypeModel.OFFICER.

Link copied to clipboard
@SerialName(value = "percent_ownership")
val percentOwnership: Float?

The percentage ownership in the company for type StakeholderTypeModel.BENEFICIAL_OWNER.

Link copied to clipboard
@Transient
val stage: AccountStageModel?

Stakeholder stage. Check stageString if null.

Link copied to clipboard
@SerialName(value = "stage")
val stageString: String?

Stakeholder stage.

Link copied to clipboard

The stakeholder types. Check stakeholderTypesString for any null values.

Link copied to clipboard
@SerialName(value = "stakeholder_types")
val stakeholderTypesString: List<String>

The stakeholder types.

Link copied to clipboard
@SerialName(value = "stakeholder_uuid")
val stakeholderUuid: String

Stakeholder unique identifier.

Link copied to clipboard
@Transient
val status: AccountStatusModel?

Stakeholder status. Check statusString if null.

Link copied to clipboard

Stakeholder status reason. Check statusReasonString if null.

Link copied to clipboard
@SerialName(value = "status_reason")
val statusReasonString: String?

Stakeholder status reason.

Link copied to clipboard
@SerialName(value = "status")
val statusString: String

Stakeholder status.