| 1 | <?php |
||
| 9 | class Contact |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var string |
||
| 13 | */ |
||
| 14 | protected $name; |
||
| 15 | /** |
||
| 16 | * @var string |
||
| 17 | */ |
||
| 18 | protected $line1; |
||
| 19 | /** |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | protected $line2; |
||
| 23 | /** |
||
| 24 | * @var string |
||
| 25 | */ |
||
| 26 | protected $suburb; |
||
| 27 | /** |
||
| 28 | * @var string |
||
| 29 | */ |
||
| 30 | protected $state; |
||
| 31 | /** |
||
| 32 | * @var string |
||
| 33 | */ |
||
| 34 | protected $postcode; |
||
| 35 | /** |
||
| 36 | * @var string |
||
| 37 | */ |
||
| 38 | protected $countryCode; |
||
| 39 | /** |
||
| 40 | * @var string |
||
| 41 | */ |
||
| 42 | protected $phoneNumber; |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @return string |
||
| 46 | */ |
||
| 47 | public function getName() |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @return string |
||
| 54 | */ |
||
| 55 | public function getLine1() |
||
| 59 | |||
| 60 | /** |
||
| 61 | * @return string |
||
| 62 | */ |
||
| 63 | public function getLine2() |
||
| 67 | |||
| 68 | /** |
||
| 69 | * @return string |
||
| 70 | */ |
||
| 71 | public function getSuburb() |
||
| 75 | |||
| 76 | /** |
||
| 77 | * @return string |
||
| 78 | */ |
||
| 79 | public function getState() |
||
| 83 | |||
| 84 | /** |
||
| 85 | * @return string |
||
| 86 | */ |
||
| 87 | public function getPostcode() |
||
| 91 | |||
| 92 | /** |
||
| 93 | * @return string |
||
| 94 | */ |
||
| 95 | public function getCountryCode() |
||
| 99 | |||
| 100 | /** |
||
| 101 | * @return string |
||
| 102 | */ |
||
| 103 | public function getPhoneNumber() |
||
| 107 | |||
| 108 | /** |
||
| 109 | * @param string $name |
||
| 110 | * @return $this |
||
| 111 | */ |
||
| 112 | public function setName($name) |
||
| 118 | |||
| 119 | /** |
||
| 120 | * @param string $line1 |
||
| 121 | * @return $this |
||
| 122 | */ |
||
| 123 | public function setLine1($line1) |
||
| 129 | |||
| 130 | /** |
||
| 131 | * @param string $line2 |
||
| 132 | * @return $this |
||
| 133 | */ |
||
| 134 | public function setLine2($line2) |
||
| 140 | |||
| 141 | /** |
||
| 142 | * @param string $suburb |
||
| 143 | * @return $this |
||
| 144 | */ |
||
| 145 | public function setSuburb($suburb) |
||
| 151 | |||
| 152 | /** |
||
| 153 | * @param string $state |
||
| 154 | * @return $this |
||
| 155 | */ |
||
| 156 | public function setState($state) |
||
| 162 | |||
| 163 | /** |
||
| 164 | * @param string $postcode |
||
| 165 | * @return $this |
||
| 166 | */ |
||
| 167 | public function setPostcode($postcode) |
||
| 173 | |||
| 174 | /** |
||
| 175 | * @param string $countryCode |
||
| 176 | * @return $this |
||
| 177 | */ |
||
| 178 | public function setCountryCode($countryCode) |
||
| 184 | |||
| 185 | /** |
||
| 186 | * @param string $phoneNumber |
||
| 187 | * @return $this |
||
| 188 | */ |
||
| 189 | public function setPhoneNumber($phoneNumber) |
||
| 195 | } |
||
| 196 |