PersonDetails
Extends:
DateOfBirth → PersonDetails
Direct Subclass:
Indirect Subclass:
Person Details - saves the basic details about the passenger.
Constructor Summary
Public Constructor | ||
public |
constructor(gender: string, firstName: string, lastName: string, middleName: string, dateOfBirth: object, phone: string, email: string, isDeciderToPay: boolean, isPayer: boolean, isPassenger: boolean, isBookingPerson: boolean) |
Public Constructors
public constructor(gender: string, firstName: string, lastName: string, middleName: string, dateOfBirth: object, phone: string, email: string, isDeciderToPay: boolean, isPayer: boolean, isPassenger: boolean, isBookingPerson: boolean) source
Override:
DateOfBirth#constructorParams:
Name | Type | Attribute | Description |
gender | string | Gender of the passenger |
|
firstName | string | First name of the passenger |
|
lastName | string | Last name of the passenger |
|
middleName | string | Middle name of the passenger |
|
dateOfBirth | object | Date Of Birth of the passenger |
|
phone | string | Phone number of the passenger |
|
string | Email of the passenger |
||
isDeciderToPay | boolean | Is he the decider to pay? |
|
isPayer | boolean | Is he the Payer? |
|
isPassenger | boolean | Is he the passenger himself? |
|
isBookingPerson | boolean | Is he the booking person? |