Skip to content

Commit f2549cb

Browse files
authored
Merge pull request #162 from denizy97/develop
Fix data types in tests, add missing generated object, fix monetary account api objects
2 parents ede4195 + 6731ab7 commit f2549cb

17 files changed

+383
-75
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
group 'com.bunq.sdk'
2-
version '1.28.0.5'
2+
version '1.28.0.6'
33

44
apply plugin: 'java'
55
apply plugin: 'maven-publish'
@@ -48,7 +48,7 @@ publishing {
4848
from components.java
4949
groupId = 'com.bunq.sdk'
5050
artifactId = 'sdk_java'
51-
version = '1.28.0.5'
51+
version = '1.28.0.6'
5252
}
5353
}
5454
}

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ public class MonetaryAccountApiObject extends BunqModel {
6363
private AmountObject balanceConverted;
6464

6565
/**
66-
* The profiles of the account.
66+
* The profile of the account.
6767
*/
6868
@Expose
6969
@SerializedName("monetary_account_profile")
70-
private List<MonetaryAccountProfileApiObject> monetaryAccountProfile;
70+
private MonetaryAccountProfileApiObject monetaryAccountProfile;
7171

7272
/**
7373
* The settings of the MonetaryAccount.
@@ -291,13 +291,13 @@ public void setBalanceConverted(AmountObject balanceConverted) {
291291
}
292292

293293
/**
294-
* The profiles of the account.
294+
* The profile of the account.
295295
*/
296-
public List<MonetaryAccountProfileApiObject> getMonetaryAccountProfile() {
296+
public MonetaryAccountProfileApiObject getMonetaryAccountProfile() {
297297
return this.monetaryAccountProfile;
298298
}
299299

300-
public void setMonetaryAccountProfile(List<MonetaryAccountProfileApiObject> monetaryAccountProfile) {
300+
public void setMonetaryAccountProfile(MonetaryAccountProfileApiObject monetaryAccountProfile) {
301301
this.monetaryAccountProfile = monetaryAccountProfile;
302302
}
303303

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -192,11 +192,11 @@ public class MonetaryAccountBankApiObject extends BunqModel {
192192
private Long userId;
193193

194194
/**
195-
* The profiles of the account.
195+
* The profile of the account.
196196
*/
197197
@Expose
198198
@SerializedName("monetary_account_profile")
199-
private List<MonetaryAccountProfileApiObject> monetaryAccountProfile;
199+
private MonetaryAccountProfileApiObject monetaryAccountProfile;
200200

201201
/**
202202
* The legal name of the user / company using this monetary account.
@@ -851,13 +851,13 @@ public void setUserId(Long userId) {
851851
}
852852

853853
/**
854-
* The profiles of the account.
854+
* The profile of the account.
855855
*/
856-
public List<MonetaryAccountProfileApiObject> getMonetaryAccountProfile() {
856+
public MonetaryAccountProfileApiObject getMonetaryAccountProfile() {
857857
return this.monetaryAccountProfile;
858858
}
859859

860-
public void setMonetaryAccountProfile(List<MonetaryAccountProfileApiObject> monetaryAccountProfile) {
860+
public void setMonetaryAccountProfile(MonetaryAccountProfileApiObject monetaryAccountProfile) {
861861
this.monetaryAccountProfile = monetaryAccountProfile;
862862
}
863863

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -144,11 +144,11 @@ public class MonetaryAccountCardApiObject extends BunqModel {
144144
private AmountObject balanceConverted;
145145

146146
/**
147-
* The profiles of the account.
147+
* The profile of the account.
148148
*/
149149
@Expose
150150
@SerializedName("monetary_account_profile")
151-
private List<MonetaryAccountProfileApiObject> monetaryAccountProfile;
151+
private MonetaryAccountProfileApiObject monetaryAccountProfile;
152152

153153
/**
154154
* The settings of the MonetaryAccount.
@@ -465,13 +465,13 @@ public void setBalanceConverted(AmountObject balanceConverted) {
465465
}
466466

467467
/**
468-
* The profiles of the account.
468+
* The profile of the account.
469469
*/
470-
public List<MonetaryAccountProfileApiObject> getMonetaryAccountProfile() {
470+
public MonetaryAccountProfileApiObject getMonetaryAccountProfile() {
471471
return this.monetaryAccountProfile;
472472
}
473473

474-
public void setMonetaryAccountProfile(List<MonetaryAccountProfileApiObject> monetaryAccountProfile) {
474+
public void setMonetaryAccountProfile(MonetaryAccountProfileApiObject monetaryAccountProfile) {
475475
this.monetaryAccountProfile = monetaryAccountProfile;
476476
}
477477

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -188,11 +188,11 @@ public class MonetaryAccountExternalApiObject extends BunqModel {
188188
private Long userId;
189189

190190
/**
191-
* The profiles of the account.
191+
* The profile of the account.
192192
*/
193193
@Expose
194194
@SerializedName("monetary_account_profile")
195-
private List<MonetaryAccountProfileApiObject> monetaryAccountProfile;
195+
private MonetaryAccountProfileApiObject monetaryAccountProfile;
196196

197197
/**
198198
* The legal name of the user / company using this monetary account.
@@ -853,13 +853,13 @@ public void setUserId(Long userId) {
853853
}
854854

855855
/**
856-
* The profiles of the account.
856+
* The profile of the account.
857857
*/
858-
public List<MonetaryAccountProfileApiObject> getMonetaryAccountProfile() {
858+
public MonetaryAccountProfileApiObject getMonetaryAccountProfile() {
859859
return this.monetaryAccountProfile;
860860
}
861861

862-
public void setMonetaryAccountProfile(List<MonetaryAccountProfileApiObject> monetaryAccountProfile) {
862+
public void setMonetaryAccountProfile(MonetaryAccountProfileApiObject monetaryAccountProfile) {
863863
this.monetaryAccountProfile = monetaryAccountProfile;
864864
}
865865

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -182,11 +182,11 @@ public class MonetaryAccountExternalSavingsApiObject extends BunqModel {
182182
private Long userId;
183183

184184
/**
185-
* The profiles of the account.
185+
* The profile of the account.
186186
*/
187187
@Expose
188188
@SerializedName("monetary_account_profile")
189-
private List<MonetaryAccountProfileApiObject> monetaryAccountProfile;
189+
private MonetaryAccountProfileApiObject monetaryAccountProfile;
190190

191191
/**
192192
* The legal name of the user / company using this monetary account.
@@ -878,13 +878,13 @@ public void setUserId(Long userId) {
878878
}
879879

880880
/**
881-
* The profiles of the account.
881+
* The profile of the account.
882882
*/
883-
public List<MonetaryAccountProfileApiObject> getMonetaryAccountProfile() {
883+
public MonetaryAccountProfileApiObject getMonetaryAccountProfile() {
884884
return this.monetaryAccountProfile;
885885
}
886886

887-
public void setMonetaryAccountProfile(List<MonetaryAccountProfileApiObject> monetaryAccountProfile) {
887+
public void setMonetaryAccountProfile(MonetaryAccountProfileApiObject monetaryAccountProfile) {
888888
this.monetaryAccountProfile = monetaryAccountProfile;
889889
}
890890

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -166,11 +166,11 @@ public class MonetaryAccountInvestmentApiObject extends BunqModel {
166166
private Long userId;
167167

168168
/**
169-
* The profiles of the account.
169+
* The profile of the account.
170170
*/
171171
@Expose
172172
@SerializedName("monetary_account_profile")
173-
private List<MonetaryAccountProfileApiObject> monetaryAccountProfile;
173+
private MonetaryAccountProfileApiObject monetaryAccountProfile;
174174

175175
/**
176176
* The legal name of the user / company using this monetary account.
@@ -626,13 +626,13 @@ public void setUserId(Long userId) {
626626
}
627627

628628
/**
629-
* The profiles of the account.
629+
* The profile of the account.
630630
*/
631-
public List<MonetaryAccountProfileApiObject> getMonetaryAccountProfile() {
631+
public MonetaryAccountProfileApiObject getMonetaryAccountProfile() {
632632
return this.monetaryAccountProfile;
633633
}
634634

635-
public void setMonetaryAccountProfile(List<MonetaryAccountProfileApiObject> monetaryAccountProfile) {
635+
public void setMonetaryAccountProfile(MonetaryAccountProfileApiObject monetaryAccountProfile) {
636636
this.monetaryAccountProfile = monetaryAccountProfile;
637637
}
638638

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -195,11 +195,11 @@ public class MonetaryAccountJointApiObject extends BunqModel {
195195
private Long userId;
196196

197197
/**
198-
* The profiles of the account.
198+
* The profile of the account.
199199
*/
200200
@Expose
201201
@SerializedName("monetary_account_profile")
202-
private List<MonetaryAccountProfileApiObject> monetaryAccountProfile;
202+
private MonetaryAccountProfileApiObject monetaryAccountProfile;
203203

204204
/**
205205
* The settings of the MonetaryAccount.
@@ -862,13 +862,13 @@ public void setUserId(Long userId) {
862862
}
863863

864864
/**
865-
* The profiles of the account.
865+
* The profile of the account.
866866
*/
867-
public List<MonetaryAccountProfileApiObject> getMonetaryAccountProfile() {
867+
public MonetaryAccountProfileApiObject getMonetaryAccountProfile() {
868868
return this.monetaryAccountProfile;
869869
}
870870

871-
public void setMonetaryAccountProfile(List<MonetaryAccountProfileApiObject> monetaryAccountProfile) {
871+
public void setMonetaryAccountProfile(MonetaryAccountProfileApiObject monetaryAccountProfile) {
872872
this.monetaryAccountProfile = monetaryAccountProfile;
873873
}
874874

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -234,11 +234,11 @@ public class MonetaryAccountLightApiObject extends BunqModel {
234234
private AmountObject balanceConverted;
235235

236236
/**
237-
* The profiles of the account.
237+
* The profile of the account.
238238
*/
239239
@Expose
240240
@SerializedName("monetary_account_profile")
241-
private List<MonetaryAccountProfileApiObject> monetaryAccountProfile;
241+
private MonetaryAccountProfileApiObject monetaryAccountProfile;
242242

243243
/**
244244
* The budgets of the MonetaryAccount.
@@ -714,13 +714,13 @@ public void setBalanceConverted(AmountObject balanceConverted) {
714714
}
715715

716716
/**
717-
* The profiles of the account.
717+
* The profile of the account.
718718
*/
719-
public List<MonetaryAccountProfileApiObject> getMonetaryAccountProfile() {
719+
public MonetaryAccountProfileApiObject getMonetaryAccountProfile() {
720720
return this.monetaryAccountProfile;
721721
}
722722

723-
public void setMonetaryAccountProfile(List<MonetaryAccountProfileApiObject> monetaryAccountProfile) {
723+
public void setMonetaryAccountProfile(MonetaryAccountProfileApiObject monetaryAccountProfile) {
724724
this.monetaryAccountProfile = monetaryAccountProfile;
725725
}
726726

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -188,11 +188,11 @@ public class MonetaryAccountSavingsApiObject extends BunqModel {
188188
private Long userId;
189189

190190
/**
191-
* The profiles of the account.
191+
* The profile of the account.
192192
*/
193193
@Expose
194194
@SerializedName("monetary_account_profile")
195-
private List<MonetaryAccountProfileApiObject> monetaryAccountProfile;
195+
private MonetaryAccountProfileApiObject monetaryAccountProfile;
196196

197197
/**
198198
* The settings of the MonetaryAccount.
@@ -855,13 +855,13 @@ public void setUserId(Long userId) {
855855
}
856856

857857
/**
858-
* The profiles of the account.
858+
* The profile of the account.
859859
*/
860-
public List<MonetaryAccountProfileApiObject> getMonetaryAccountProfile() {
860+
public MonetaryAccountProfileApiObject getMonetaryAccountProfile() {
861861
return this.monetaryAccountProfile;
862862
}
863863

864-
public void setMonetaryAccountProfile(List<MonetaryAccountProfileApiObject> monetaryAccountProfile) {
864+
public void setMonetaryAccountProfile(MonetaryAccountProfileApiObject monetaryAccountProfile) {
865865
this.monetaryAccountProfile = monetaryAccountProfile;
866866
}
867867

0 commit comments

Comments
 (0)