add_phone_number


Description:

public void add_phone_number (GDPhoneNumber phone_number)

Adds a phone number to the contact's list of phone numbers and increments its reference count

Note that only one phone number per contact may be marked as "primary". Insertion and update operations (with insert_contact) will return an error if more than one phone number is marked as primary.

Duplicate phone numbers will not be added to the list.

Parameters:

this

a ContactsContact

phone_number

a GDPhoneNumber to add