# Class ContactAdd

Class ContactAdd

  SMSApi\Api\Action\AbstractAction
  SMSApi\Api\Action\Phonebook\ContactAdd

#### Direct known subclasses

SMSApi\Api\Action\Phonebook\ContactEdit
Namespace: SMSApi\Api\Action\Phonebook
Package: SMSApi\Api\Action\Phonebook
Located at Api/Action/Phonebook/ContactAdd.php

Methods summary
`public` | # `__construct( )` #### Overrides `SMSApi\Api\Action\AbstractAction::__construct()`
`protected `SMSApi\Api\Response\ContactResponse`` | # `response( $data )` #### Parameters $data #### Returns `SMSApi\Api\Response\ContactResponse`
`public `SMSApi\Proxy\Uri`` | # `uri( )` #### Returns `SMSApi\Proxy\Uri`
`public` | # `setNumber( string|integer $number )` Set contact phone number. Set contact phone number. #### Parameters $number #### Returns $this
`public` | # `setFirstName( string $firstName )` Set contact first name. Set contact first name. #### Parameters $firstName #### Returns $this
`public` | # `setLastName( string $lastName )` Set contact last name. Set contact last name. #### Parameters $lastName #### Returns $this
`public` | # `setInfo( string $info )` Set additional contact description. Set additional contact description. #### Parameters $info #### Returns $this
`public` | # `setEmail( $email )` Set contact email address. Set contact email address. #### Parameters $email #### Returns $this
`public` | # `setBirthday( string $birthday )` Set contact birthday date. Set contact birthday date. #### Parameters $birthday #### Returns $this
`public` | # `setCity( string $city )` Set contact city. Set contact city. #### Parameters $city #### Returns $this
`public` | # `setGender( string $gender )` Set contact gender. Set contact gender. #### Parameters $gender female, male, unknown #### Returns $this
`public` | # `setGroup( string $group )` Set contact to group. Others contact groups will be removed. Set contact to group. Others contact groups will be removed. #### Parameters $group group name #### Returns $this
`public` | # `setGroups( array $groups )` Set contact to groups. Others contact groups will be removed. Set contact to groups. Others contact groups will be removed. #### Parameters $groups array with groups names #### Returns $this

Methods inherited from SMSApi\Api\Action\AbstractAction
`client(), execute(), file(), handleError(), paramsBasicToQuery(), paramsLoginToQuery(), paramsOther(), proxy(), renderTo(), setJson(), setTest()`

Properties inherited from SMSApi\Api\Action\AbstractAction
`$client, $date, $encoding, $group, $idx, $params, $proxy, $to`