Merge commit '6d53f149c8c154330d26756d1de73f71d8662061' into wip-customer

* commit '6d53f149c8c154330d26756d1de73f71d8662061':
  - added field "details" to ToAccountInfo
This commit is contained in:
Andrew Revinsky (DART)
2016-03-16 15:40:27 +03:00
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","");
}
}