Skip to content

Commit

Permalink
Merge pull request #78 from mateuszgruszkaonespan/dev
Browse files Browse the repository at this point in the history
PB-73106 fix SDK test related to DataManagement
  • Loading branch information
PeiYu-Onespan authored Apr 20, 2021
2 parents c5556f9 + f444d6c commit 586960d
Showing 1 changed file with 16 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ public class TransactionRetention extends Model {
private static final String FIELD_LIFETIMETOTAL = "lifetimeTotal";
@JsonIgnore
private static final String FIELD_LIFETIMEUNTILCOMPLETION = "lifetimeUntilCompletion";
@JsonIgnore
private static final String FIELD_INCLUDESENT = "includeSent";

private Integer draft;
private Integer sent;
Expand All @@ -36,18 +38,20 @@ public class TransactionRetention extends Model {
private Integer expired;
private Integer lifetimeTotal;
private Integer lifetimeUntilCompletion;
private Boolean includeSent;

public TransactionRetention() {}

public TransactionRetention(Integer draft, Integer sent, Integer completed, Integer archived,
Integer declined, Integer optedOut, Integer expired) {
Integer declined, Integer optedOut, Integer expired, Boolean includeSent) {
this.draft = draft;
this.sent = sent;
this.completed = completed;
this.archived = archived;
this.declined = declined;
this.optedOut = optedOut;
this.expired = expired;
this.includeSent = includeSent;

}

Expand Down Expand Up @@ -149,4 +153,15 @@ public TransactionRetention setLifetimeUntilCompletion(Integer lifetimeUntilComp
setDirty(FIELD_LIFETIMEUNTILCOMPLETION);
return this;
}

public Boolean getIncludeSent() {
return includeSent;
}

public TransactionRetention setIncludeSent(Boolean includeSent) {
throwOnNull(FIELD_INCLUDESENT, includeSent);
this.includeSent = includeSent;
setDirty(FIELD_INCLUDESENT);
return this;
}
}

0 comments on commit 586960d

Please sign in to comment.