// ~~~~~
$phoneWork = new \HelpScout\model\customer\PhoneEntry();
$phoneWork->setValue('800-555-1212');
$phoneWork->setLocation('work');
$phoneHome = new \HelpScout\model\customer\PhoneEntry();
$phoneHome->setValue('800-123-1234');
$phoneHome->setLocation('home');
$customer->setPhones(array($phoneWork, $phoneHome));
// Emails: at least one email is required
$emailHome = new \HelpScout\model\customer\EmailEntry();
$emailHome->setValue('*****@*****.**');
$emailHome->setLocation('home');
$emailWork = new \HelpScout\model\customer\EmailEntry();
$emailWork->setValue('*****@*****.**');
$emailWork->setLocation('work');
$customer->setEmails(array($emailWork, $emailHome));
// Social Profiles
$facebook = new \HelpScout\model\customer\SocialProfileEntry();
$facebook->setValue('https://facebook.com/john.appleseed');
$facebook->setType('facebook');
$twitter = new \HelpScout\model\customer\SocialProfileEntry();
$twitter->setValue('https://twitter.com/johnappleseed');
$twitter->setType('twitter');
$customer->setSocialProfiles(array($facebook, $twitter));
// Chats
// ~~~~~
$chatAim = new \HelpScout\model\customer\ChatEntry();
$chatAim->setValue('jappleseed');
$chatAim->setType('aim');
$chatGTalk = new \HelpScout\model\customer\ChatEntry();
$chatGTalk->setValue('*****@*****.**');