AccountDetailsModel

@Serializable
data class AccountDetailsModel(val accountUuid: String, val typeString: String, val type: AccountTypeModel? = typeString.getEnum<AccountTypeModel>(), val statusString: String, val status: AccountStatusModel? = statusString.getEnum<AccountStatusModel>(), val stageString: String?, val stage: AccountStageModel? = stageString?.getEnum<AccountStageModel>() ?: AccountStageModel.DEFAULT, val statusReasonString: String?, val statusReason: AccountStatusReasonModel? = statusReasonString?.getEnum<AccountStatusReasonModel>(), val profile: String?, val profileRequest: ProfileRequest?, val externalId: String?, val accountInformation: AccountInformationModel, val metadata: Map<String, JsonPrimitive>?, val createdAt: String, val updatedAt: String)

Account details.

Constructors

Link copied to clipboard
constructor(accountUuid: String, typeString: String, type: AccountTypeModel? = typeString.getEnum<AccountTypeModel>(), statusString: String, status: AccountStatusModel? = statusString.getEnum<AccountStatusModel>(), stageString: String?, stage: AccountStageModel? = stageString?.getEnum<AccountStageModel>() ?: AccountStageModel.DEFAULT, statusReasonString: String?, statusReason: AccountStatusReasonModel? = statusReasonString?.getEnum<AccountStatusReasonModel>(), profile: String?, profileRequest: ProfileRequest?, externalId: String?, accountInformation: AccountInformationModel, metadata: Map<String, JsonPrimitive>?, createdAt: String, updatedAt: String)

Properties

Link copied to clipboard
@SerialName(value = "information")
val accountInformation: AccountInformationModel

User account Information

Link copied to clipboard
@SerialName(value = "account_uuid")
val accountUuid: String

Account unique identifier

Link copied to clipboard
@SerialName(value = "created_at")
val createdAt: String

User account creation date

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

External identifier in your platform

Link copied to clipboard
@SerialName(value = "metadata")
val metadata: Map<String, JsonPrimitive>?

User account metadata

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

Current profile of the account

Link copied to clipboard
@SerialName(value = "profile_request")
val profileRequest: ProfileRequest?

Profile request

Link copied to clipboard
@Transient
val stage: AccountStageModel?

User account stage. Check stageString if null

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

User account stage

Link copied to clipboard
@Transient
val status: AccountStatusModel?

User account status. Check statusString if null

Link copied to clipboard

User account status reason. Check statusReasonString if null

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

User account status reason

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

User account status

Link copied to clipboard
@Transient
val type: AccountTypeModel?

User account type. Check typeString if null

Link copied to clipboard
@SerialName(value = "type")
val typeString: String

User account type

Link copied to clipboard
@SerialName(value = "updated_at")
val updatedAt: String

User account modification date