Skip to content

Commit eae02b6

Browse files
author
Kevin Hellemun
committed
Added missing cvc fields. #30
1 parent b1d20b9 commit eae02b6

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed

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

+54
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,27 @@ public class CardGeneratedCvc2 extends BunqModel {
3333
*/
3434
private static final String OBJECT_TYPE = "CardGeneratedCvc2";
3535

36+
/**
37+
* The id of the cvc code.
38+
*/
39+
@Expose
40+
@SerializedName("id")
41+
private Integer id;
42+
43+
/**
44+
* The timestamp of the cvc code's creation.
45+
*/
46+
@Expose
47+
@SerializedName("created")
48+
private String created;
49+
50+
/**
51+
* The timestamp of the cvc code's last update.
52+
*/
53+
@Expose
54+
@SerializedName("updated")
55+
private String updated;
56+
3657
/**
3758
* The cvc2 code.
3859
*/
@@ -102,6 +123,39 @@ public static BunqResponse<List<CardGeneratedCvc2>> list(ApiContext apiContext,
102123
return fromJsonList(CardGeneratedCvc2.class, responseRaw, OBJECT_TYPE);
103124
}
104125

126+
/**
127+
* The id of the cvc code.
128+
*/
129+
public Integer getId() {
130+
return this.id;
131+
}
132+
133+
public void setId(Integer id) {
134+
this.id = id;
135+
}
136+
137+
/**
138+
* The timestamp of the cvc code's creation.
139+
*/
140+
public String getCreated() {
141+
return this.created;
142+
}
143+
144+
public void setCreated(String created) {
145+
this.created = created;
146+
}
147+
148+
/**
149+
* The timestamp of the cvc code's last update.
150+
*/
151+
public String getUpdated() {
152+
return this.updated;
153+
}
154+
155+
public void setUpdated(String updated) {
156+
this.updated = updated;
157+
}
158+
105159
/**
106160
* The cvc2 code.
107161
*/

0 commit comments

Comments
 (0)