@@ -16,11 +16,11 @@ interface AddressInterface extends \Magento\Framework\Api\ExtensibleDataInterfac
16
16
17
17
const KEY_ID = 'id ' ;
18
18
19
- const REGION_ID = 'region_id ' ;
19
+ const KEY_REGION_ID = 'region_id ' ;
20
20
21
- const REGION_CODE = 'region_code ' ;
21
+ const KEY_REGION_CODE = 'region_code ' ;
22
22
23
- const REGION = 'region ' ;
23
+ const KEY_REGION = 'region ' ;
24
24
25
25
const KEY_CUSTOMER_ID = 'customer_id ' ;
26
26
@@ -57,129 +57,281 @@ interface AddressInterface extends \Magento\Framework\Api\ExtensibleDataInterfac
57
57
*/
58
58
public function getId ();
59
59
60
+ /**
61
+ * Set id
62
+ *
63
+ * @param int $id
64
+ * @return $this
65
+ */
66
+ public function setId ($ id );
67
+
60
68
/**
61
69
* Get region name
62
70
*
63
71
* @return string
64
72
*/
65
73
public function getRegion ();
66
74
75
+ /**
76
+ * Set region name
77
+ *
78
+ * @param string $region
79
+ * @return $this
80
+ */
81
+ public function setRegion ($ region );
82
+
67
83
/**
68
84
* Get region id
69
85
*
70
- * @return string
86
+ * @return int
71
87
*/
72
88
public function getRegionId ();
73
89
90
+ /**
91
+ * Set region id
92
+ *
93
+ * @param int $regionId
94
+ * @return $this
95
+ */
96
+ public function setRegionId ($ regionId );
97
+
74
98
/**
75
99
* Get region code
76
100
*
77
101
* @return string
78
102
*/
79
103
public function getRegionCode ();
80
104
105
+ /**
106
+ * Set region code
107
+ *
108
+ * @param string $regionCode
109
+ * @return $this
110
+ */
111
+ public function setRegionCode ($ regionCode );
112
+
81
113
/**
82
114
* Get country id
83
115
*
84
116
* @return string
85
117
*/
86
118
public function getCountryId ();
87
119
120
+ /**
121
+ * Set country id
122
+ *
123
+ * @param string $countryId
124
+ * @return $this
125
+ */
126
+ public function setCountryId ($ countryId );
127
+
88
128
/**
89
129
* Get street
90
130
*
91
131
* @return string[]
92
132
*/
93
133
public function getStreet ();
94
134
135
+ /**
136
+ * Set street
137
+ *
138
+ * @param string|string[] $street
139
+ * @return $this
140
+ */
141
+ public function setStreet ($ street );
142
+
95
143
/**
96
144
* Get company
97
145
*
98
146
* @return string|null
99
147
*/
100
148
public function getCompany ();
101
149
150
+ /**
151
+ * Set company
152
+ *
153
+ * @param string $company
154
+ * @return $this
155
+ */
156
+ public function setCompany ($ company );
157
+
102
158
/**
103
159
* Get telephone number
104
160
*
105
161
* @return string
106
162
*/
107
163
public function getTelephone ();
108
164
165
+ /**
166
+ * Set telephone number
167
+ *
168
+ * @param string $telephone
169
+ * @return $this
170
+ */
171
+ public function setTelephone ($ telephone );
172
+
109
173
/**
110
174
* Get fax number
111
175
*
112
176
* @return string|null
113
177
*/
114
178
public function getFax ();
115
179
180
+ /**
181
+ * Set fax number
182
+ *
183
+ * @param string $fax
184
+ * @return $this
185
+ */
186
+ public function setFax ($ fax );
187
+
116
188
/**
117
189
* Get postcode
118
190
*
119
191
* @return string
120
192
*/
121
193
public function getPostcode ();
122
194
195
+ /**
196
+ * Set postcode
197
+ *
198
+ * @param string $postcode
199
+ * @return $this
200
+ */
201
+ public function setPostcode ($ postcode );
202
+
123
203
/**
124
204
* Get city name
125
205
*
126
206
* @return string
127
207
*/
128
208
public function getCity ();
129
209
210
+ /**
211
+ * Set city name
212
+ *
213
+ * @param string $city
214
+ * @return $this
215
+ */
216
+ public function setCity ($ city );
217
+
130
218
/**
131
219
* Get first name
132
220
*
133
221
* @return string
134
222
*/
135
223
public function getFirstname ();
136
224
225
+ /**
226
+ * Set first name
227
+ *
228
+ * @param string $firstname
229
+ * @return $this
230
+ */
231
+ public function setFirstname ($ firstname );
232
+
137
233
/**
138
234
* Get last name
139
235
*
140
236
* @return string
141
237
*/
142
238
public function getLastname ();
143
239
240
+ /**
241
+ * Set last name
242
+ *
243
+ * @param string $lastname
244
+ * @return $this
245
+ */
246
+ public function setLastname ($ lastname );
247
+
144
248
/**
145
249
* Get middle name
146
250
*
147
251
* @return string|null
148
252
*/
149
253
public function getMiddlename ();
150
254
255
+ /**
256
+ * Set middle name
257
+ *
258
+ * @param string $middlename
259
+ * @return $this
260
+ */
261
+ public function setMiddlename ($ middlename );
262
+
151
263
/**
152
264
* Get prefix
153
265
*
154
266
* @return string|null
155
267
*/
156
268
public function getPrefix ();
157
269
270
+ /**
271
+ * Set prefix
272
+ *
273
+ * @param string $prefix
274
+ * @return $this
275
+ */
276
+ public function setPrefix ($ prefix );
277
+
158
278
/**
159
279
* Get suffix
160
280
*
161
281
* @return string|null
162
282
*/
163
283
public function getSuffix ();
164
284
285
+ /**
286
+ * Set suffix
287
+ *
288
+ * @param string $suffix
289
+ * @return $this|null
290
+ */
291
+ public function setSuffix ($ suffix );
292
+
165
293
/**
166
294
* Get Vat id
167
295
*
168
296
* @return string|null
169
297
*/
170
298
public function getVatId ();
171
299
300
+ /**
301
+ * Set Vat id
302
+ *
303
+ * @param string $vatId
304
+ * @return $this
305
+ */
306
+ public function setVatId ($ vatId );
307
+
172
308
/**
173
309
* Get customer id
174
310
*
175
- * @return string |null
311
+ * @return int |null
176
312
*/
177
313
public function getCustomerId ();
178
314
315
+ /**
316
+ * Set customer id
317
+ *
318
+ * @param int $customerId
319
+ * @return $this
320
+ */
321
+ public function setCustomerId ($ customerId );
322
+
179
323
/**
180
324
* Get billing/shipping email
181
325
*
182
326
* @return string
183
327
*/
184
328
public function getEmail ();
329
+
330
+ /**
331
+ * Set billing/shipping email
332
+ *
333
+ * @param string $email
334
+ * @return $this
335
+ */
336
+ public function setEmail ($ email );
185
337
}
0 commit comments