Skip to content

Commit c662833

Browse files
authored
Merge pull request #31 from bunq/feature/add_missing_cvc_fields_#30
Feature/add missing cvc fields #30
2 parents b1d20b9 + 18d6b58 commit c662833

File tree

2 files changed

+69
-0
lines changed

2 files changed

+69
-0
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
## Steps to reproduce:
2+
1.
3+
4+
## What should happen:
5+
1.
6+
7+
## What happens:
8+
1.
9+
10+
## Logs
11+
- Logs
12+
13+
## Extra info:
14+
- Tested on
15+

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

Lines changed: 54 additions & 0 deletions
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)