Package com.alviere.android.accounts.sdk.model.client.request

Types

Link copied to clipboard
data class AccountUpdateInformationRequest(    @Json(name = "consumer_information") val consumerInformation: ConsumerInformationFullDetailsRequest? = null,     @Json(name = "business_information") val businessInformation: BusinessInformationRequest? = null,     @Json(name = "stakeholder_information") val stakeholderInformation: StakeholderInformationRequest? = null)

Account information data to be updated according to account type AccountTypeModel.

Link copied to clipboard
data class AccountUpdateRequest(    @Json(name = "external_id") val externalId: String? = null,     @Json(name = "information") val accountInformation: AccountUpdateInformationRequest,     @Json(name = "metadata") val metadata: Map<String, Any>? = null)

Updates account in the system.

Link copied to clipboard
data class AddressRequest(    @Json(name = "external_id") val externalId: String?,     @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) : Address

Model that holds the address data to be added.

Link copied to clipboard
data class AddressUpdateRequest(    @Json(name = "external_id") val externalId: String? = null,     @Json(name = "label") val label: String? = null,     @Json(name = "line_1") val line1: String? = null,     @Json(name = "line_2") val line2: String? = null,     @Json(name = "postal_code") val postalCode: String? = null,     @Json(name = "city") val city: String? = null,     @Json(name = "state") val state: String? = null,     @Json(name = "country") val country: String? = null) : Address

Model that holds the address data to be updated.

Link copied to clipboard
data class BusinessInformationRequest(    @Json(name = "business_type") val businessType: BusinessTypeModel,     @Json(name = "name") val name: String,     @Json(name = "dba") val dba: String? = null,     @Json(name = "state_of_incorporation") val stateOfIncorporation: String,     @Json(name = "ein") val ein: String,     @Json(name = "stakeholder_uuids") val stakeholderUuids: List<String>? = null)

Account business information.

Link copied to clipboard
data class ConsumerInformationFullDetailsRequest(    @Json(name = "first_name") var firstName: String? = null,     @Json(name = "middle_name") val middleName: String? = null,     @Json(name = "last_name") val lastName: String? = null,     @Json(name = "date_of_birth") val dateOfBirth: String? = null,     @Json(name = "ssn") val ssn: String? = null,     @Json(name = "phone_number") val phoneNumber: String? = null,     @Json(name = "email_address") val emailAddress: String? = null)

Account consumer information.

Link copied to clipboard
data class StakeholderInformationRequest(    @Json(name = "stakeholder_type") val stakeholderType: StakeholderTypeModel,     @Json(name = "officer_title") var officerTitle: String? = null,     @Json(name = "percent_ownership") var percentOwnership: String? = null,     @Json(name = "first_name") var firstName: String,     @Json(name = "middle_name") val middleName: String? = null,     @Json(name = "last_name") val lastName: String,     @Json(name = "date_of_birth") val dateOfBirth: String? = null,     @Json(name = "ssn") val ssn: String? = null,     @Json(name = "phone_number") val phoneNumber: String? = null,     @Json(name = "email_address") val emailAddress: String)

Account stakeholder information.