StakeholderDetailsModel

data class StakeholderDetailsModel(@Json(name = "stakeholder_uuid") val stakeholderUuid: String, @Json(name = "external_id") val externalId: String, @Json(name = "status") val statusString: String, @Json(ignore = true) val status: AccountStatusModel? = statusString.getEnum<AccountStatusModel>(), @Json(name = "status_reason") val statusReasonString: String?, @Json(ignore = true) val statusReason: AccountStatusReasonModel? = statusReasonString?.getEnum<AccountStatusReasonModel>(), @Json(name = "stage") val stageString: String?, @Json(ignore = true) val stage: AccountStageModel? = stageString?.getEnum<AccountStageModel>(), @Json(name = "stakeholder_types") val stakeholderTypesString: List<String>, @Json(ignore = true) val stakeholderTypes: List<StakeholderTypeModel?> = stakeholderTypesString.map { it.getEnum<StakeholderTypeModel>() }, @Json(name = "officer_titles") val officerTitles: List<String>?, @Json(name = "percent_ownership") val percentOwnership: Float?, @Json(name = "first_name") val firstName: String, @Json(name = "middle_name") val middleName: String?, @Json(name = "last_name") val lastName: String, @Json(name = "date_of_birth") val dateOfBirth: String?)

Stakeholders of a business account.

Constructors

Link copied to clipboard
constructor(@Json(name = "stakeholder_uuid") stakeholderUuid: String, @Json(name = "external_id") externalId: String, @Json(name = "status") statusString: String, @Json(ignore = true) status: AccountStatusModel? = statusString.getEnum<AccountStatusModel>(), @Json(name = "status_reason") statusReasonString: String?, @Json(ignore = true) statusReason: AccountStatusReasonModel? = statusReasonString?.getEnum<AccountStatusReasonModel>(), @Json(name = "stage") stageString: String?, @Json(ignore = true) stage: AccountStageModel? = stageString?.getEnum<AccountStageModel>(), @Json(name = "stakeholder_types") stakeholderTypesString: List<String>, @Json(ignore = true) stakeholderTypes: List<StakeholderTypeModel?> = stakeholderTypesString.map { it.getEnum<StakeholderTypeModel>() }, @Json(name = "officer_titles") officerTitles: List<String>?, @Json(name = "percent_ownership") percentOwnership: Float?, @Json(name = "first_name") firstName: String, @Json(name = "middle_name") middleName: String?, @Json(name = "last_name") lastName: String, @Json(name = "date_of_birth") dateOfBirth: String?)

Properties

Link copied to clipboard

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

Link copied to clipboard

External identifier in your platform.

Link copied to clipboard

User first name.

Link copied to clipboard

User last name.

Link copied to clipboard

User middle name.

Link copied to clipboard

The job titles for stakeholder type StakeholderTypeModel.OFFICER.

Link copied to clipboard

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

Link copied to clipboard

Stakeholder stage. Check stageString if null.

Link copied to clipboard

Stakeholder stage.

Link copied to clipboard

The stakeholder types. Check stakeholderTypesString for any null values.

Link copied to clipboard

The stakeholder types.

Link copied to clipboard

Stakeholder unique identifier.

Link copied to clipboard

Stakeholder status. Check statusString if null.

Link copied to clipboard

Stakeholder status reason. Check statusReasonString if null.

Link copied to clipboard

Stakeholder status reason.

Link copied to clipboard

Stakeholder status.