Skip to content

Commit 61d661f

Browse files
committed
Regenerated code based on the latest tag.
1 parent 8cc89ae commit 61d661f

9 files changed

+559
-50
lines changed

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

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,13 @@ public class BunqMeFundraiserProfileUser extends BunqModel {
4646
@SerializedName("monetary_account_id")
4747
private Integer monetaryAccountId;
4848

49+
/**
50+
* Id of the user owning the profile.
51+
*/
52+
@Expose
53+
@SerializedName("owner_user_id")
54+
private Integer ownerUserId;
55+
4956
/**
5057
* The color chosen for the bunq.me fundraiser profile in hexadecimal format.
5158
*/
@@ -242,6 +249,17 @@ public void setMonetaryAccountId(Integer monetaryAccountId) {
242249
this.monetaryAccountId = monetaryAccountId;
243250
}
244251

252+
/**
253+
* Id of the user owning the profile.
254+
*/
255+
public Integer getOwnerUserId() {
256+
return this.ownerUserId;
257+
}
258+
259+
public void setOwnerUserId(Integer ownerUserId) {
260+
this.ownerUserId = ownerUserId;
261+
}
262+
245263
/**
246264
* The color chosen for the bunq.me fundraiser profile in hexadecimal format.
247265
*/
@@ -328,6 +346,10 @@ public boolean isAllFieldNull() {
328346
return false;
329347
}
330348

349+
if (this.ownerUserId != null) {
350+
return false;
351+
}
352+
331353
if (this.color != null) {
332354
return false;
333355
}

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

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -218,13 +218,6 @@ public class Payment extends BunqModel {
218218
@SerializedName("balance_after_mutation")
219219
private Amount balanceAfterMutation;
220220

221-
/**
222-
* A reference to the PaymentAutoAllocateInstance if it exists.
223-
*/
224-
@Expose
225-
@SerializedName("payment_auto_allocate_instance")
226-
private PaymentAutoAllocateInstance paymentAutoAllocateInstance;
227-
228221
/**
229222
* The Amount to transfer with the Payment. Must be bigger than 0 and smaller than the
230223
* MonetaryAccount's balance.
@@ -701,17 +694,6 @@ public void setBalanceAfterMutation(Amount balanceAfterMutation) {
701694
this.balanceAfterMutation = balanceAfterMutation;
702695
}
703696

704-
/**
705-
* A reference to the PaymentAutoAllocateInstance if it exists.
706-
*/
707-
public PaymentAutoAllocateInstance getPaymentAutoAllocateInstance() {
708-
return this.paymentAutoAllocateInstance;
709-
}
710-
711-
public void setPaymentAutoAllocateInstance(PaymentAutoAllocateInstance paymentAutoAllocateInstance) {
712-
this.paymentAutoAllocateInstance = paymentAutoAllocateInstance;
713-
}
714-
715697
/**
716698
*
717699
*/
@@ -812,10 +794,6 @@ public boolean isAllFieldNull() {
812794
return false;
813795
}
814796

815-
if (this.paymentAutoAllocateInstance != null) {
816-
return false;
817-
}
818-
819797
return true;
820798
}
821799

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

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -138,13 +138,6 @@ public class RegistryEntry extends BunqModel {
138138
@SerializedName("allocations")
139139
private List<AllocationItem> allocations;
140140

141-
/**
142-
* The object that is connected to this RegistryEntry.
143-
*/
144-
@Expose
145-
@SerializedName("object")
146-
private BunqModel object;
147-
148141
/**
149142
* The attachments attached to the payment.
150143
*/
@@ -562,17 +555,6 @@ public void setAllocations(List<AllocationItem> allocations) {
562555
this.allocations = allocations;
563556
}
564557

565-
/**
566-
* The object that is connected to this RegistryEntry.
567-
*/
568-
public BunqModel getObject() {
569-
return this.object;
570-
}
571-
572-
public void setObject(BunqModel object) {
573-
this.object = object;
574-
}
575-
576558
/**
577559
* The attachments attached to the payment.
578560
*/
@@ -644,10 +626,6 @@ public boolean isAllFieldNull() {
644626
return false;
645627
}
646628

647-
if (this.object != null) {
648-
return false;
649-
}
650-
651629
if (this.attachment != null) {
652630
return false;
653631
}

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import com.bunq.sdk.http.BunqResponse;
55
import com.bunq.sdk.http.BunqResponseRaw;
66
import com.bunq.sdk.model.core.BunqModel;
7+
import com.bunq.sdk.model.generated.object.LabelUser;
78
import com.google.gson.annotations.Expose;
89
import com.google.gson.annotations.SerializedName;
910
import com.google.gson.stream.JsonReader;
@@ -46,7 +47,7 @@ public class TreeProgress extends BunqModel {
4647
*/
4748
@Expose
4849
@SerializedName("label_user")
49-
private BunqModel labelUser;
50+
private LabelUser labelUser;
5051

5152
/**
5253
*
@@ -98,11 +99,11 @@ public void setProgressTreeNext(BigDecimal progressTreeNext) {
9899
/**
99100
* The label of the user the progress belongs to.
100101
*/
101-
public BunqModel getLabelUser() {
102+
public LabelUser getLabelUser() {
102103
return this.labelUser;
103104
}
104105

105-
public void setLabelUser(BunqModel labelUser) {
106+
public void setLabelUser(LabelUser labelUser) {
106107
this.labelUser = labelUser;
107108
}
108109

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public class TransferwiseRequirementField extends BunqModel {
2222
*/
2323
@Expose
2424
@SerializedName("group")
25-
private BunqModel group;
25+
private TransferwiseRequirementFieldGroup group;
2626

2727
/**
2828
* The name of the required field.
@@ -72,11 +72,11 @@ public void setName(String name) {
7272
/**
7373
* The field group.
7474
*/
75-
public BunqModel getGroup() {
75+
public TransferwiseRequirementFieldGroup getGroup() {
7676
return this.group;
7777
}
7878

79-
public void setGroup(BunqModel group) {
79+
public void setGroup(TransferwiseRequirementFieldGroup group) {
8080
this.group = group;
8181
}
8282

0 commit comments

Comments
 (0)