EarnMorev1.0.0

CustomerInfo

interface CustomerInfo { address: CustomerAddress; birthday: Date; birthPlace: string; firstName: string; idDocument: IdDocument; lastName: string; middleName: string; }

Source: types.ts:109


Properties

address: CustomerAddress

birthday: Date

Date of birth

birthPlace: string

Place of birth — letters and spaces only (e.g. "New York", "Manila"). The library will throw if this contains digits or special characters.

firstName: string

idDocument: IdDocument

Primary identification document

lastName: string

middleName: string

Pass an empty string if the customer has no middle name