1 | <?php |
||
10 | abstract class AbstractAddress extends AbstractModel |
||
11 | { |
||
12 | /** |
||
13 | * @JMS\Type("string") |
||
14 | * |
||
15 | * @var string |
||
16 | */ |
||
17 | protected $line1; |
||
18 | |||
19 | /** |
||
20 | * @JMS\Type("string") |
||
21 | * |
||
22 | * @var string |
||
23 | */ |
||
24 | protected $line2; |
||
25 | |||
26 | /** |
||
27 | * @JMS\Type("string") |
||
28 | * |
||
29 | * @var string |
||
30 | */ |
||
31 | protected $city; |
||
32 | |||
33 | /** |
||
34 | * @JMS\Type("string") |
||
35 | * @JMS\SerializedName("country_code") |
||
36 | * |
||
37 | * @var string |
||
38 | */ |
||
39 | protected $countryCode; |
||
40 | |||
41 | /** |
||
42 | * @JMS\Type("string") |
||
43 | * @JMS\SerializedName("postal_code") |
||
44 | * |
||
45 | * @var string |
||
46 | */ |
||
47 | protected $postalCode; |
||
48 | |||
49 | /** |
||
50 | * @JMS\Type("string") |
||
51 | * |
||
52 | * @var string |
||
53 | */ |
||
54 | protected $state; |
||
55 | |||
56 | /** |
||
57 | * @JMS\Type("string") |
||
58 | * |
||
59 | * @var string |
||
60 | */ |
||
61 | protected $phone; |
||
62 | |||
63 | /** |
||
64 | * @return string |
||
65 | */ |
||
66 | public function getCity() |
||
70 | |||
71 | /** |
||
72 | * @param string $city |
||
73 | */ |
||
74 | public function setCity($city) |
||
78 | |||
79 | /** |
||
80 | * @return string |
||
81 | */ |
||
82 | public function getCountryCode() |
||
86 | |||
87 | /** |
||
88 | * @param string $countryCode |
||
89 | * @throws \InvalidArgumentException |
||
90 | */ |
||
91 | public function setCountryCode($countryCode) |
||
96 | |||
97 | /** |
||
98 | * @return string |
||
99 | */ |
||
100 | public function getLine1() |
||
104 | |||
105 | /** |
||
106 | * @param string $line1 |
||
107 | */ |
||
108 | public function setLine1($line1) |
||
112 | |||
113 | /** |
||
114 | * @return string |
||
115 | */ |
||
116 | public function getLine2() |
||
120 | |||
121 | /** |
||
122 | * @param string $line2 |
||
123 | */ |
||
124 | public function setLine2($line2) |
||
128 | |||
129 | /** |
||
130 | * @return string |
||
131 | */ |
||
132 | public function getPhone() |
||
136 | |||
137 | /** |
||
138 | * @param string $phone |
||
139 | */ |
||
140 | public function setPhone($phone) |
||
144 | |||
145 | /** |
||
146 | * @return string |
||
147 | */ |
||
148 | public function getPostalCode() |
||
152 | |||
153 | /** |
||
154 | * @param string $postalCode |
||
155 | */ |
||
156 | public function setPostalCode($postalCode) |
||
160 | |||
161 | /** |
||
162 | * @return string |
||
163 | */ |
||
164 | public function getState() |
||
168 | |||
169 | /** |
||
170 | * @param string $state |
||
171 | */ |
||
172 | public function setState($state) |
||
176 | } |
||
177 |