Skip to content

Commit bdb1e8a

Browse files
committed
Merge tag '1.27.14.12' into develop
Release 1.27.14.12
2 parents 4170558 + 4da49ab commit bdb1e8a

File tree

3 files changed

+47
-3
lines changed

3 files changed

+47
-3
lines changed

src/main/java/com/bunq/sdk/model/generated/endpoint/UserCompany.java

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,13 @@ public class UserCompany extends BunqModel {
174174
@SerializedName("address_postal")
175175
private Address addressPostal;
176176

177+
/**
178+
* The company's shipping address.
179+
*/
180+
@Expose
181+
@SerializedName("address_shipping")
182+
private Address addressShipping;
183+
177184
/**
178185
* The version of the terms of service accepted by the user.
179186
*/
@@ -789,6 +796,17 @@ public void setAddressPostal(Address addressPostal) {
789796
this.addressPostal = addressPostal;
790797
}
791798

799+
/**
800+
* The company's shipping address.
801+
*/
802+
public Address getAddressShipping() {
803+
return this.addressShipping;
804+
}
805+
806+
public void setAddressShipping(Address addressShipping) {
807+
this.addressShipping = addressShipping;
808+
}
809+
792810
/**
793811
* The version of the terms of service accepted by the user.
794812
*/
@@ -1047,6 +1065,10 @@ public boolean isAllFieldNull() {
10471065
return false;
10481066
}
10491067

1068+
if (this.addressShipping != null) {
1069+
return false;
1070+
}
1071+
10501072
if (this.versionTermsOfService != null) {
10511073
return false;
10521074
}

src/main/java/com/bunq/sdk/model/generated/endpoint/UserPerson.java

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,13 @@ public class UserPerson extends BunqModel {
170170
@SerializedName("address_postal")
171171
private Address addressPostal;
172172

173+
/**
174+
* The person's shipping address.
175+
*/
176+
@Expose
177+
@SerializedName("address_shipping")
178+
private Address addressShipping;
179+
173180
/**
174181
* The person's date of birth. Accepts ISO8601 date formats.
175182
*/
@@ -963,6 +970,17 @@ public void setAddressPostal(Address addressPostal) {
963970
this.addressPostal = addressPostal;
964971
}
965972

973+
/**
974+
* The person's shipping address.
975+
*/
976+
public Address getAddressShipping() {
977+
return this.addressShipping;
978+
}
979+
980+
public void setAddressShipping(Address addressShipping) {
981+
this.addressShipping = addressShipping;
982+
}
983+
966984
/**
967985
* The person's date of birth. Accepts ISO8601 date formats.
968986
*/
@@ -1203,6 +1221,10 @@ public boolean isAllFieldNull() {
12031221
return false;
12041222
}
12051223

1224+
if (this.addressShipping != null) {
1225+
return false;
1226+
}
1227+
12061228
if (this.dateOfBirth != null) {
12071229
return false;
12081230
}

src/main/java/com/bunq/sdk/model/generated/object/Address.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public class Address extends BunqModel {
7272
private String extra;
7373

7474
/**
75-
* The name on the mailbox (only used for Postal addresses).
75+
* The name on the mailbox (only used for Postal and Shipping addresses).
7676
*/
7777
@Expose
7878
@SerializedName("mailbox_name")
@@ -135,7 +135,7 @@ public class Address extends BunqModel {
135135
private String extraFieldForRequest;
136136

137137
/**
138-
* The name on the mailbox (only used for Postal addresses).
138+
* The name on the mailbox (only used for Postal and Shipping addresses).
139139
*/
140140
@Expose
141141
@SerializedName("mailbox_name_field_for_request")
@@ -273,7 +273,7 @@ public void setExtra(String extra) {
273273
}
274274

275275
/**
276-
* The name on the mailbox (only used for Postal addresses).
276+
* The name on the mailbox (only used for Postal and Shipping addresses).
277277
*/
278278
public String getMailboxName() {
279279
return this.mailboxName;

0 commit comments

Comments
 (0)