com.yodlee.api.model.user.AbstractUserPreferences Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of yodlee-api-model-beta Show documentation
Show all versions of yodlee-api-model-beta Show documentation
Yodlee API Model Beta is the stage 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.NotEmpty;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.yodlee.api.model.AbstractModelComponent;
import com.yodlee.api.model.user.enums.Currency;
import com.yodlee.api.model.user.enums.Locale;
import io.swagger.annotations.ApiModelProperty;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({"currency", "timeZone", "dateFormat", "locale"})
public abstract class AbstractUserPreferences extends AbstractModelComponent {
@ApiModelProperty(value = "The currency of the user. This currency will be respected while providing the response for derived API services."//
+ "
Applicable Values
"//
)
@JsonProperty("currency")
protected Currency currency;
@ApiModelProperty(value = "The locale of the user. This locale will be considered for localization features like providing the provider information in the supported locale or providing category names in the transaction related services."//
+ "
Applicable Values
"//
)
@JsonProperty("locale")
protected Locale locale;
@ApiModelProperty(value = "The timezone of the user. This attribute is just a place holder and has no impact on any other API services.")
@NotEmpty(message = "timeZone cannot be empty")
@JsonProperty("timeZone")
protected String timeZone;
@ApiModelProperty(value = "The dateformat of the user.This attribute is just a place holder and has no impact on any other API services.")
@NotEmpty(message = "dateFormat cannot be empty")
@JsonProperty("dateFormat")
protected String dateFormat;
/**
* The dateformat of the user.This attribute is just a place holder and has no impact on any other API services.)
*
* @return dateFormat
*/
public String getDateFormat() {
return dateFormat;
}
public void setDateFormat(String dateFormat) {
this.dateFormat = dateFormat;
}
/**
* The timezone of the user. This attribute is just a place holder and has no impact on any other API services.
*
* @return timeZone
*/
@JsonProperty("timeZone")
public String getTimeZone() {
return timeZone;
}
@JsonProperty("timeZone")
public void setTimeZone(String timeZone) {
this.timeZone = timeZone;
}
/**
* The locale of the user. This locale will be considered for localization features like providing the provider
* information in the supported locale or providing category names in the transaction related services.
* Applicable Values
*
* @return locale
*/
public Locale getLocale() {
return locale;
}
public void setLocale(Locale locale) {
this.locale = locale;
}
/**
* The currency of the user. This currency will be respected while providing the response for derived API services.
*
* Applicable Values
*
* @return currency
*/
public Currency getCurrency() {
return currency;
}
public void setCurrency(Currency currency) {
this.currency = currency;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy