ProfileRequestModel

@Serializable
data class ProfileRequestModel(val profile: String, val statusString: String, val status: ProfileStatusModel? = statusString.getEnum<ProfileStatusModel>(), val statusReasonString: String?, val statusReason: AccountStatusReasonModel? = statusReasonString?.getEnum<AccountStatusReasonModel>(), val stageString: String?, val stage: AccountStageModel? = stageString?.getEnum<AccountStageModel>())

Profile request.

Constructors

Link copied to clipboard
constructor(profile: String, statusString: String, status: ProfileStatusModel? = statusString.getEnum<ProfileStatusModel>(), statusReasonString: String?, statusReason: AccountStatusReasonModel? = statusReasonString?.getEnum<AccountStatusReasonModel>(), stageString: String?, stage: AccountStageModel? = stageString?.getEnum<AccountStageModel>())

Properties

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

Name of the profile.

Link copied to clipboard
@Transient
val stage: AccountStageModel?

The current stage in the verification process. Check stageString if null

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

The current stage in the verification process.

Link copied to clipboard
@Transient
val status: ProfileStatusModel?

Status of the application for the Account to attain the requested profile. Check statusString if null

Link copied to clipboard

The reason why the profile verification is in a particular status. Check statusReasonString if null

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

The reason why the profile verification is in a particular status.

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

Status of the application for the Account to attain the requested profile.