Name API object

Hierarchy (view full)

Constructors

  • Builds a name object for a contact, required for contacts. The object requires a formatted_name and at least another property.

    Parameters

    • formatted_name: string

      Full name, as it normally appears

    • Optionalfirst_name: string

      First name

    • Optionallast_name: string

      Last name

    • Optionalmiddle_name: string

      Middle name

    • Optionalsuffix: string

      Name suffix

    • Optionalprefix: string

      Name prefix

    Returns Name

    If no other component apart from formatted_name is defined

Properties

first_name?: string

The first name of the contact

formatted_name: string

The formatted name of the contact

last_name?: string

The last name of the contact

middle_name?: string

The middle name of the contact

prefix?: string

The prefix of the contact

suffix?: string

The suffix of the contact