Skip to content

Commit

Permalink
Added missing field id for TokenQrRequestIdeal. (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
OGKevin committed Jan 3, 2018
1 parent 25149ea commit ac7132d
Showing 1 changed file with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@ public class TokenQrRequestIdeal extends BunqModel {
*/
private static final String OBJECT_TYPE = "TokenQrRequestIdeal";

/**
* The id of the RequestResponse.
*/
@Expose
@SerializedName("id")
private Integer id;

/**
* The timestamp of when the RequestResponse was responded to.
*/
Expand Down Expand Up @@ -204,6 +211,17 @@ public static BunqResponse<TokenQrRequestIdeal> create(ApiContext apiContext, Ma
return fromJson(TokenQrRequestIdeal.class, responseRaw, OBJECT_TYPE);
}

/**
* The id of the RequestResponse.
*/
public Integer getId() {
return this.id;
}

public void setId(Integer id) {
this.id = id;
}

/**
* The timestamp of when the RequestResponse was responded to.
*/
Expand Down Expand Up @@ -430,6 +448,10 @@ public void setEligibleWhitelistId(Integer eligibleWhitelistId) {
/**
*/
public boolean isAllFieldNull() {
if (this.id != null) {
return false;
}

if (this.timeResponded != null) {
return false;
}
Expand Down

0 comments on commit ac7132d

Please sign in to comment.