All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.yodlee.api.model.user.UpdateUserRegistration Maven / Gradle / Ivy

There is a newer version: 1.0.29.beta1
Show newest version
/**
 * Copyright (c) 2019 Yodlee, Inc. All Rights Reserved.
 *
 * Licensed under the MIT License. See LICENSE file in the project root for license information.
 */
package com.yodlee.api.model.user;

import org.hibernate.validator.constraints.Email;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;

@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({"loginName", "email", "name", "address", "preferences"})
public class UpdateUserRegistration extends AbstractUserRegistration {

	@Email(message = "{user.email.invalid}")
	@JsonProperty("email")
	private String email;

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	@Override
	public String toString() {
		return "UpdateUserRegistration [email=" + email + ", name=" + name + ", address=" + address + ", preferences="
				+ preferences + "]";
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy