Address1 = $address; return $this; } /** * @return mixed */ public function getAddress() { return $this->Address1; } /** * @param mixed $Address2 * @return $this */ public function setAddress2($Address2) { $this->Address2 = $Address2; return $this; } /** * @return mixed */ public function getAddress2() { return $this->Address2; } /** * @param mixed $City * @return $this */ public function setCity($City) { $this->City = $City; return $this; } /** * @return mixed */ public function getCity() { return $this->City; } /** * @param mixed $State * @return $this */ public function setState($State) { $this->State = $State; return $this; } /** * @return mixed */ public function getState() { return $this->State; } /** * @param mixed $Zip4 * @return $this */ public function setZip4($Zip4) { $this->Zip4 = $Zip4; return $this; } /** * @return mixed */ public function getZip4() { return $this->Zip4; } /** * @param mixed $Zip5 * @return $this */ public function setZip5($Zip5) { $this->Zip5 = $Zip5; return $this; } /** * @return mixed */ public function getZip5() { return $this->Zip5; } public function setZip($zip) { $parts = explode('-', $zip); $this->setZip5($parts[0]); if (!empty($parts[1])) { $this->setZip4($parts[1]); } return $this; } }