Skip to content
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.

Commit

Permalink
Merge pull request #70 from halusstefan/master
Browse files Browse the repository at this point in the history
OSF changes
  • Loading branch information
csciuto committed Jun 26, 2015
2 parents 3799259 + 84b7463 commit 23e1b21
Show file tree
Hide file tree
Showing 2 changed files with 75 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.constantcontact</groupId>
<artifactId>constantcontact</artifactId>
<version>4.1.0</version>
<version>4.1.1</version>
<dependencies>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,15 @@ public class ContactData extends Component implements Serializable {
@JsonIgnore
private List<CustomField> customFields;

@JsonIgnore
private String birthday;

@JsonIgnore
private String birthdayMonth;

@JsonIgnore
private String anniversary;

/**
* Get the email addresses.
*
Expand Down Expand Up @@ -153,7 +162,37 @@ public List<CustomField> getCustomFields() {
return customFields;
}

/**
/**
* Get the birthday.
*
* @return The birthday.
*/
@JsonProperty("birthday_day")
public String getBirthday() {
return birthday;
}

/**
* Get the birthdayMonth.
*
* @return The birthdayMonth.
*/
@JsonProperty("birthday_month")
public String getBirthdayMonth() {
return birthdayMonth;
}

/**
* Get the anniversary.
*
* @return The anniversary.
*/
@JsonProperty("anniversary")
public String getAnniversary() {
return anniversary;
}

/**
* Set the email Addresses.
*
* @param emailAddresses New email Addresses.
Expand Down Expand Up @@ -243,7 +282,34 @@ public void setCustomFields(List<CustomField> customFields) {
this.customFields = customFields;
}

/**
/**
* Set the Birthday
*
* @param birthday The new Birthday
*/
public void setBirthday(String birthday) {
this.birthday = birthday;
}

/**
* Set the Birthday Month
*
* @param birthdayMonth The new Birthday Month
*/
public void setBirthdayMonth(String birthdayMonth) {
this.birthdayMonth = birthdayMonth;
}

/**
* Set the Anniversary
*
* @param anniversary The new Anniversary
*/
public void setAnniversary(String anniversary) {
this.anniversary = anniversary;
}

/**
* Default constructor.
*/
public ContactData() {
Expand Down Expand Up @@ -279,6 +345,12 @@ public String toString() {
builder.append(addresses);
builder.append(", customFields=");
builder.append(customFields);
builder.append(", birthday=");
builder.append(birthday);
builder.append(", birthdayMonth=");
builder.append(birthdayMonth);
builder.append(", anniversary=");
builder.append(anniversary);
builder.append("]");
return builder.toString();
}
Expand Down

0 comments on commit 23e1b21

Please sign in to comment.