src/Entity/ListManager/Contact.php
<?php
namespace MailChimp\Entity\ListManager;
/**
* Class Contact
* @package MailChimp\Entity\ListManager
*/
class Contact
{
/**
* @var string
*/
protected $company;
/**
* @var string
*/
protected $address1;
/**
* @var string
*/
protected $address2 = '';
/**
* @var string
*/
protected $city;
/**
* @var string
*/
protected $state;
/**
* @var string
*/
protected $zip;
/**
* @var string
*/
protected $country;
/**
* @var string
*/
protected $phone = '';
/**
* @return string
*/
public function getCompany()
{
return $this->company;
}
/**
* @param string $company
* @return Contact
*/
public function setCompany($company)
{
$this->company = $company;
return $this;
}
/**
* @return string
*/
public function getAddress1()
{
return $this->address1;
}
/**
* @param string $address1
* @return Contact
*/
public function setAddress1($address1)
{
$this->address1 = $address1;
return $this;
}
/**
* @return string
*/
public function getAddress2()
{
return $this->address2;
}
/**
* @param string $address2
* @return Contact
*/
public function setAddress2($address2)
{
$this->address2 = $address2;
return $this;
}
/**
* @return string
*/
public function getCity()
{
return $this->city;
}
/**
* @param string $city
* @return Contact
*/
public function setCity($city)
{
$this->city = $city;
return $this;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string $state
* @return Contact
*/
public function setState($state)
{
$this->state = $state;
return $this;
}
/**
* @return string
*/
public function getZip()
{
return $this->zip;
}
/**
* @param string $zip
* @return Contact
*/
public function setZip($zip)
{
$this->zip = $zip;
return $this;
}
/**
* @return string
*/
public function getCountry()
{
return $this->country;
}
/**
* @param string $country
* @return Contact
*/
public function setCountry($country)
{
$this->country = $country;
return $this;
}
/**
* @return string
*/
public function getPhone()
{
return $this->phone;
}
/**
* @param string $phone
* @return Contact
*/
public function setPhone($phone)
{
$this->phone = $phone;
return $this;
}
}