Package com. alviere. android. accounts. sdk. model. client. response
Types
Link copied to clipboard
data class AccountDetailsModel( @Json(name = "account_uuid" ) val accountUuid: String, @Json(name = "type" ) val typeString: String, @Json(ignore = true ) val type: AccountTypeModel? = typeString.getEnum<AccountTypeModel>(), @Json(name = "status" ) val statusString: String, @Json(ignore = true ) val status: AccountStatusModel? = statusString.getEnum<AccountStatusModel>(), @Json(name = "stage" ) val stageString: String? = null, @Json(ignore = true ) val stage: AccountStageModel? = stageString?.getEnum<AccountStageModel>(), @Json(name = "status_reason" ) val statusReasonString: String? = null, @Json(ignore = true ) val statusReason: AccountStatusReasonModel? = statusReasonString?.getEnum<AccountStatusReasonModel>(), @Json(name = "external_id" ) val externalId: String? = null, @Json(name = "information" ) val accountInformation: AccountInformationModel, @Json(name = "metadata" ) val metadata: Map<String, Any>? = null, @Json(name = "created_at" ) val createdAt: String, @Json(name = "updated_at" ) val updatedAt: String)
Content copied to clipboard
Account details.
Link copied to clipboard
data class AddressDetailsModel( @Json(name = "address_uuid" ) val addressUuid: String, @Json(name = "external_id" ) val externalId: String? = null, @Json(name = "primary" ) val primary: Boolean, @Json(name = "label" ) val label: String, @Json(name = "line_1" ) val line1: String, @Json(name = "line_2" ) val line2: String? = null, @Json(name = "postal_code" ) val postalCode: String, @Json(name = "city" ) val city: String, @Json(name = "state" ) val state: String, @Json(name = "country" ) val country: String, @Json(name = "created_at" ) val createdAt: String, @Json(name = "updated_at" ) val updatedAt: String)
Content copied to clipboard
Address details.
Link copied to clipboard
data class DocumentCaptureDetailsModel( var encodedImage: String, val encodedBarcode: String?, val type: DocumentTypeModel)
Content copied to clipboard
Document capture details.
Link copied to clipboard
data class DossierDetailsModel( @Json(name = "external_id" ) val externalId: String? = null, @Json(name = "dossier_uuid" ) val dossierUuid: String, @Json(name = "account_uuid" ) val accountUuid: String, @Json(name = "primary" ) val primary: Boolean, @Json(name = "status" ) val statusString: String, @Json(ignore = true ) val status: DossierStatusModel? = statusString.getEnum<DossierStatusModel>(), @Json(name = "status_reason" ) val statusReason: String? = null, @Json(name = "created_at" ) val createdAt: String, @Json(name = "updated_at" ) val updatedAt: String, @Json(name = "documents" ) val userDocuments: List<UserDocumentModel>)
Content copied to clipboard
Dossier.
Link copied to clipboard
data class DossierFileDetailsModel( @Json(name = "external_id" ) val externalId: String? = null, @Json(name = "dossier_uuid" ) val dossierUuid: String, @Json(name = "account_uuid" ) val accountUuid: String, @Json(name = "primary" ) val primary: Boolean, @Json(name = "status" ) val statusString: String, @Json(ignore = true ) val status: DossierStatusModel? = statusString.getEnum<DossierStatusModel>(), @Json(name = "status_reason" ) val statusReason: String? = null, @Json(name = "created_at" ) val createdAt: String, @Json(name = "updated_at" ) val updatedAt: String, @Json(name = "documents" ) val userDocuments: List<UserDocumentFileModel>)
Content copied to clipboard
Dossier including files data information.