- added field "details" to ToAccountInfo
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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","");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user