- added field "details" to ToAccountInfo

This commit is contained in:
dartpopikyardo
2016-03-16 15:35:59 +03:00
parent b16039ee53
commit 6d53f149c8
2 changed files with 12 additions and 2 deletions

View File

@@ -11,14 +11,16 @@ public class ToAccountInfo {
private String id;
private String title;
private String owner;
private String description;
public ToAccountInfo() {
}
public ToAccountInfo(String id, String title, String owner) {
public ToAccountInfo(String id, String title, String owner, String description) {
this.id = id;
this.title = title;
this.owner = owner;
this.description = description;
}
public String getId() {
@@ -45,6 +47,14 @@ public class ToAccountInfo {
this.owner = owner;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
@Override
public boolean equals(Object o) {
return EqualsBuilder.reflectionEquals(this, o);

View File

@@ -71,6 +71,6 @@ public class CustomersTestUtils {
}
public static ToAccountInfo generateToAccountInfo() {
return new ToAccountInfo("11111111-11111111", "New Account", "John Doe");
return new ToAccountInfo("11111111-11111111", "New Account", "John Doe","");
}
}