2424 BulkAddress .JSON_PROPERTY_COUNTRY ,
2525 BulkAddress .JSON_PROPERTY_EMAIL ,
2626 BulkAddress .JSON_PROPERTY_HOUSE_NUMBER_OR_NAME ,
27+ BulkAddress .JSON_PROPERTY_LINE1 ,
28+ BulkAddress .JSON_PROPERTY_LINE2 ,
29+ BulkAddress .JSON_PROPERTY_LINE3 ,
2730 BulkAddress .JSON_PROPERTY_MOBILE ,
2831 BulkAddress .JSON_PROPERTY_POSTAL_CODE ,
2932 BulkAddress .JSON_PROPERTY_STATE_OR_PROVINCE ,
@@ -45,6 +48,15 @@ public class BulkAddress {
4548 public static final String JSON_PROPERTY_HOUSE_NUMBER_OR_NAME = "houseNumberOrName" ;
4649 private String houseNumberOrName ;
4750
51+ public static final String JSON_PROPERTY_LINE1 = "line1" ;
52+ private String line1 ;
53+
54+ public static final String JSON_PROPERTY_LINE2 = "line2" ;
55+ private String line2 ;
56+
57+ public static final String JSON_PROPERTY_LINE3 = "line3" ;
58+ private String line3 ;
59+
4860 public static final String JSON_PROPERTY_MOBILE = "mobile" ;
4961 private String mobile ;
5062
@@ -224,6 +236,114 @@ public void setHouseNumberOrName(String houseNumberOrName) {
224236 this .houseNumberOrName = houseNumberOrName ;
225237 }
226238
239+ /**
240+ * The name of the street and the number of the building. For example: **Simon Carmiggeltstraat
241+ * 6-50**.
242+ *
243+ * @param line1 The name of the street and the number of the building. For example: **Simon
244+ * Carmiggeltstraat 6-50**.
245+ * @return the current {@code BulkAddress} instance, allowing for method chaining
246+ */
247+ public BulkAddress line1 (String line1 ) {
248+ this .line1 = line1 ;
249+ return this ;
250+ }
251+
252+ /**
253+ * The name of the street and the number of the building. For example: **Simon Carmiggeltstraat
254+ * 6-50**.
255+ *
256+ * @return line1 The name of the street and the number of the building. For example: **Simon
257+ * Carmiggeltstraat 6-50**.
258+ */
259+ @ JsonProperty (JSON_PROPERTY_LINE1 )
260+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
261+ public String getLine1 () {
262+ return line1 ;
263+ }
264+
265+ /**
266+ * The name of the street and the number of the building. For example: **Simon Carmiggeltstraat
267+ * 6-50**.
268+ *
269+ * @param line1 The name of the street and the number of the building. For example: **Simon
270+ * Carmiggeltstraat 6-50**.
271+ */
272+ @ JsonProperty (JSON_PROPERTY_LINE1 )
273+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
274+ public void setLine1 (String line1 ) {
275+ this .line1 = line1 ;
276+ }
277+
278+ /**
279+ * Additional information about the delivery address. For example, an apartment number.
280+ *
281+ * @param line2 Additional information about the delivery address. For example, an apartment
282+ * number.
283+ * @return the current {@code BulkAddress} instance, allowing for method chaining
284+ */
285+ public BulkAddress line2 (String line2 ) {
286+ this .line2 = line2 ;
287+ return this ;
288+ }
289+
290+ /**
291+ * Additional information about the delivery address. For example, an apartment number.
292+ *
293+ * @return line2 Additional information about the delivery address. For example, an apartment
294+ * number.
295+ */
296+ @ JsonProperty (JSON_PROPERTY_LINE2 )
297+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
298+ public String getLine2 () {
299+ return line2 ;
300+ }
301+
302+ /**
303+ * Additional information about the delivery address. For example, an apartment number.
304+ *
305+ * @param line2 Additional information about the delivery address. For example, an apartment
306+ * number.
307+ */
308+ @ JsonProperty (JSON_PROPERTY_LINE2 )
309+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
310+ public void setLine2 (String line2 ) {
311+ this .line2 = line2 ;
312+ }
313+
314+ /**
315+ * Additional information about the delivery address.
316+ *
317+ * @param line3 Additional information about the delivery address.
318+ * @return the current {@code BulkAddress} instance, allowing for method chaining
319+ */
320+ public BulkAddress line3 (String line3 ) {
321+ this .line3 = line3 ;
322+ return this ;
323+ }
324+
325+ /**
326+ * Additional information about the delivery address.
327+ *
328+ * @return line3 Additional information about the delivery address.
329+ */
330+ @ JsonProperty (JSON_PROPERTY_LINE3 )
331+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
332+ public String getLine3 () {
333+ return line3 ;
334+ }
335+
336+ /**
337+ * Additional information about the delivery address.
338+ *
339+ * @param line3 Additional information about the delivery address.
340+ */
341+ @ JsonProperty (JSON_PROPERTY_LINE3 )
342+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
343+ public void setLine3 (String line3 ) {
344+ this .line3 = line3 ;
345+ }
346+
227347 /**
228348 * The full telephone number.
229349 *
@@ -383,6 +503,9 @@ public boolean equals(Object o) {
383503 && Objects .equals (this .country , bulkAddress .country )
384504 && Objects .equals (this .email , bulkAddress .email )
385505 && Objects .equals (this .houseNumberOrName , bulkAddress .houseNumberOrName )
506+ && Objects .equals (this .line1 , bulkAddress .line1 )
507+ && Objects .equals (this .line2 , bulkAddress .line2 )
508+ && Objects .equals (this .line3 , bulkAddress .line3 )
386509 && Objects .equals (this .mobile , bulkAddress .mobile )
387510 && Objects .equals (this .postalCode , bulkAddress .postalCode )
388511 && Objects .equals (this .stateOrProvince , bulkAddress .stateOrProvince )
@@ -397,6 +520,9 @@ public int hashCode() {
397520 country ,
398521 email ,
399522 houseNumberOrName ,
523+ line1 ,
524+ line2 ,
525+ line3 ,
400526 mobile ,
401527 postalCode ,
402528 stateOrProvince ,
@@ -412,6 +538,9 @@ public String toString() {
412538 sb .append (" country: " ).append (toIndentedString (country )).append ("\n " );
413539 sb .append (" email: " ).append (toIndentedString (email )).append ("\n " );
414540 sb .append (" houseNumberOrName: " ).append (toIndentedString (houseNumberOrName )).append ("\n " );
541+ sb .append (" line1: " ).append (toIndentedString (line1 )).append ("\n " );
542+ sb .append (" line2: " ).append (toIndentedString (line2 )).append ("\n " );
543+ sb .append (" line3: " ).append (toIndentedString (line3 )).append ("\n " );
415544 sb .append (" mobile: " ).append (toIndentedString (mobile )).append ("\n " );
416545 sb .append (" postalCode: " ).append (toIndentedString (postalCode )).append ("\n " );
417546 sb .append (" stateOrProvince: " ).append (toIndentedString (stateOrProvince )).append ("\n " );
0 commit comments