Skip to content

Commit

Permalink
Merge pull request #31 from bunq/feature/add_missing_cvc_fields_#30
Browse files Browse the repository at this point in the history
Feature/add missing cvc fields #30
  • Loading branch information
dnl-blkv authored Nov 6, 2017
2 parents b1d20b9 + 18d6b58 commit c662833
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
## Steps to reproduce:
1.

## What should happen:
1.

## What happens:
1.

## Logs
- Logs

## Extra info:
- Tested on

Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down Expand Up @@ -102,6 +123,39 @@ public static BunqResponse<List<CardGeneratedCvc2>> 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.
*/
Expand Down

0 comments on commit c662833

Please sign in to comment.