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

com.yodlee.api.model.account.AccountAddress 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.account;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.yodlee.api.model.AbstractAddress;
import com.yodlee.api.model.enums.AddressType;

@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({"address1", "address2", "address3", "street", "city", "state", "zip", "country", "sourceType",
		"type"})
public class AccountAddress extends AbstractAddress {

	@JsonProperty("sourceType")
	private String sourceType;

	@JsonProperty("type")
	private AddressType type;

	@JsonProperty("street")
	protected String street;

	public String getSourceType() {
		return sourceType;
	}

	public AddressType getType() {
		return type;
	}

	public String getStreet() {
		return street;
	}

	public void setStreet(String street) {
		this.street = street;
	}

	@Override
	public String toString() {
		return "AccountAddress [sourceType=" + sourceType + ", type=" + type + ", street=" + street + ", address1="
				+ address1 + ", address2=" + address2 + ", address3=" + address3 + ", state=" + state + ", city=" + city
				+ ", zip=" + zip + ", country=" + country + "]";
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy