From eae02b687023b6a467ed216d858bd6b0ba6bab1e Mon Sep 17 00:00:00 2001 From: Kevin Hellemun Date: Thu, 2 Nov 2017 10:12:50 +0100 Subject: [PATCH 1/2] Added missing cvc fields. #30 --- .../generated/endpoint/CardGeneratedCvc2.java | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/src/main/java/com/bunq/sdk/model/generated/endpoint/CardGeneratedCvc2.java b/src/main/java/com/bunq/sdk/model/generated/endpoint/CardGeneratedCvc2.java index ed537fad..a98b91fe 100644 --- a/src/main/java/com/bunq/sdk/model/generated/endpoint/CardGeneratedCvc2.java +++ b/src/main/java/com/bunq/sdk/model/generated/endpoint/CardGeneratedCvc2.java @@ -33,6 +33,27 @@ public class CardGeneratedCvc2 extends BunqModel { */ private static final String OBJECT_TYPE = "CardGeneratedCvc2"; + /** + * The id of the cvc code. + */ + @Expose + @SerializedName("id") + private Integer id; + + /** + * The timestamp of the cvc code's creation. + */ + @Expose + @SerializedName("created") + private String created; + + /** + * The timestamp of the cvc code's last update. + */ + @Expose + @SerializedName("updated") + private String updated; + /** * The cvc2 code. */ @@ -102,6 +123,39 @@ public static BunqResponse> list(ApiContext apiContext, return fromJsonList(CardGeneratedCvc2.class, responseRaw, OBJECT_TYPE); } + /** + * The id of the cvc code. + */ + public Integer getId() { + return this.id; + } + + public void setId(Integer id) { + this.id = id; + } + + /** + * The timestamp of the cvc code's creation. + */ + public String getCreated() { + return this.created; + } + + public void setCreated(String created) { + this.created = created; + } + + /** + * The timestamp of the cvc code's last update. + */ + public String getUpdated() { + return this.updated; + } + + public void setUpdated(String updated) { + this.updated = updated; + } + /** * The cvc2 code. */ From 18d6b580f31d6bbdd257a3d2441e8d9d32d6d6fb Mon Sep 17 00:00:00 2001 From: Kevin Hellemun Date: Thu, 2 Nov 2017 10:25:37 +0100 Subject: [PATCH 2/2] Added issue template. #30 --- .github/ISSUE_TEMPLATE.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE.md diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md new file mode 100644 index 00000000..f43aef72 --- /dev/null +++ b/.github/ISSUE_TEMPLATE.md @@ -0,0 +1,15 @@ +## Steps to reproduce: +1. + +## What should happen: +1. + +## What happens: +1. + +## Logs +- Logs + +## Extra info: +- Tested on +