Home Manual Reference Source Test
import PersonDetails from 'FreeBird_SDK/src/PersonDetailsClass.js'
public class | source

PersonDetails

Extends:

DateOfBirth → PersonDetails

Direct Subclass:

TripData

Indirect Subclass:

PurchaseData

Person Details - saves the basic details about the passenger.

Test:

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#constructor

Params:

NameTypeAttributeDescription
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

email 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?