InsuranceOther

class InsuranceOther(firstName: String, lastName: String, gender: Gender?, dateOfBirth: LocalDate, memberId: String, insuranceGroupNumber: String?, payorId: String, payorName: String, subscriberId: String?) : InsuranceInfo, Parcelable

PaymentMethod for use when the insurance is owned by someone other than the app user.

Parameters

firstName

The insurance owner's first name.

lastName

The insurance owner's last name.

gender

The insurance owner's gender.

dateOfBirth

The insurance owner's date of birth.

memberId

The insurance holder's member id, which can be found on the insurance card.

insuranceGroupNumber

: an optional parameter to include group number.

payorId

: The unique id of the insurance provider/payor. The supported list can be found using PaymentService.getInsurancePayers.

payorName

: The name of the insurance provider/payor. The supported list can be found using PaymentService.getInsurancePayers.

subscriberId

: Optional subscriberId. Can be used whenever required by insurance providers.

Constructors

InsuranceOther
Link copied to clipboard
fun InsuranceOther(firstName: String, lastName: String, gender: Gender?, dateOfBirth: LocalDate, memberId: String, insuranceGroupNumber: String?, payorId: String, payorName: String, subscriberId: String? = null)
The insurance owner's first name.

Functions

describeContents
Link copied to clipboard
abstract fun describeContents(): Int
writeToParcel
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

dateOfBirth
Link copied to clipboard
open override val dateOfBirth: LocalDate
The insurance owner's date of birth.
firstName
Link copied to clipboard
open override val firstName: String
The insurance owner's first name.
gender
Link copied to clipboard
open override var gender: Gender?
The insurance owner's gender.
insuranceGroupNumber
Link copied to clipboard
open override val insuranceGroupNumber: String?
: an optional parameter to include group number.
lastName
Link copied to clipboard
open override val lastName: String
The insurance owner's last name.
memberId
Link copied to clipboard
open override val memberId: String
The insurance holder's member id, which can be found on the insurance card.
paymentHolderDeclaration
Link copied to clipboard
open val paymentHolderDeclaration: PaymentHolderDeclaration? = null
paymentMethod
Link copied to clipboard
val paymentMethod: PaymentMethod.PaymentMethod
payorId
Link copied to clipboard
open override val payorId: String
: The unique id of the insurance provider/payor.
payorName
Link copied to clipboard
open override val payorName: String
: The name of the insurance provider/payor.
subscriberId
Link copied to clipboard
open override val subscriberId: String? = null
: Optional subscriberId.