MemberProfile

class MemberProfile(var uniqueId: String? = null, var memberId: String? = null, var messageId: String? = null, var firstName: String? = null, var middleName: String? = null, var lastName: String? = null, var address: MemberAddress? = null, var dob: String? = null, var email: String? = null, var gender: String? = null, var dayPhone: String? = null, var cellPhone: String? = null)

MemberProfile — represents the profile information of a member.

Returned by com.advantahealth.api.profile.Profile.get and com.advantahealth.api.profile.Profile.update for profile retrieval or update flows.

Every field is nullable: the backend may omit values it does not have, and the same model is reused as an update payload where only the changed fields are set. memberId is required for subsequent API calls tied to the member.

Constructors

Link copied to clipboard
constructor(uniqueId: String? = null, memberId: String? = null, messageId: String? = null, firstName: String? = null, middleName: String? = null, lastName: String? = null, address: MemberAddress? = null, dob: String? = null, email: String? = null, gender: String? = null, dayPhone: String? = null, cellPhone: String? = null)

Properties

Link copied to clipboard

Member's address as a MemberAddress; null if none on file.

Link copied to clipboard

Cell phone number; null/optional.

Link copied to clipboard

Daytime phone number; null/optional.

Link copied to clipboard
var dob: String?

Date of birth in ISO format yyyy-MM-dd, or null if not set.

Link copied to clipboard

Email address, or null if not set.

Link copied to clipboard

Member's first name, or null if unknown.

Link copied to clipboard

Gender string (e.g., "M" or "F", per tenant rules); null if unset.

Link copied to clipboard

Member's last name, or null if unknown.

Link copied to clipboard

Backend-assigned unique identifier for the member. null until populated by the server.

Link copied to clipboard

Identifier for the message or response envelope; null when absent.

Link copied to clipboard

Member's middle name; null/optional.

Link copied to clipboard

Tenant-unique external identifier (e.g., employee ID); the primary external identifier. null if not supplied by the backend.

Functions

Link copied to clipboard
open override fun toString(): String