com.yodlee.api.model.holdings.Holding 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.holdings;
import java.util.Collections;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.yodlee.api.model.AssetClassification;
import io.swagger.annotations.ApiModelProperty;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({"id", "accountId", "providerAccountId", "costBasis", "cusipNumber", "securityType", "securityStyle",
"matchStatus", "enrichedDescription", "description", "holdingType", "price", "quantity", "symbol", "value",
"isin", "sedol", "isShort", "unvestedQuantity", "unvestedValue", "vestedQuantity", "vestedSharesExercisable",
"vestedValue", "vestingDate", "contractQuantity", "couponRate", "exercisedQuantity", "expirationDate",
"grantDate", "interestRate", "maturityDate", "optionType", "spread", "strikePrice", "term", "accruedInterest",
"accruedIncome", "createdDate", "lastUpdated", "assetClassification"})
public class Holding extends AbstractHolding {
@ApiModelProperty(readOnly = true,
value = "Asset classification applied to the holding. "//
+ "
"//
+ "Applicable containers: investment
"//
)
@JsonProperty("assetClassification")
private List assetClassifications;
/**
* Asset classification applied to the holding.
*
* Applicable containers: investment
*
* @return assetClassification
*/
@JsonProperty("assetClassification")
public List getAssetClassifications() {
return assetClassifications == null ? null : Collections.unmodifiableList(assetClassifications);
}
@Override
public String toString() {
return "Holding [id=" + id + ", accountId=" + accountId + ", providerAccountId=" + providerAccountId
+ ", costBasis=" + costBasis + ", cusipNumber=" + cusipNumber + ", securityType=" + securityType
+ ", securityStyle=" + securityStyle + ", matchStatus=" + matchStatus + ", enrichedDescription="
+ enrichedDescription + ", description=" + description + ", price=" + price + ", quantity=" + quantity
+ ", symbol=" + symbol + ", value=" + value + ", isin=" + isin + ", sedol=" + sedol + ", isShort="
+ isShort + ", unvestedQuantity=" + unvestedQuantity + ", unvestedValue=" + unvestedValue
+ ", vestedQuantity=" + vestedQuantity + ", vestedSharesExercisable=" + vestedSharesExercisable
+ ", vestedValue=" + vestedValue + ", vestingDate=" + vestingDate + ", contractQuantity="
+ contractQuantity + ", couponRate=" + couponRate + ", exercisedQuantity=" + exercisedQuantity
+ ", expirationDate=" + expirationDate + ", grantDate=" + grantDate + ", interestRate=" + interestRate
+ ", maturityDate=" + maturityDate + ", optionType=" + optionType + ", spread=" + spread
+ ", strikePrice=" + strikePrice + ", term=" + term + ", accruedInterest=" + accruedInterest
+ ", accruedIncome=" + accruedIncome + ", createdDate=" + createdDate + ", lastUpdated=" + lastUpdated
+ ", assetClassifications=" + assetClassifications + ", holdingType=" + holdingType + "]";
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy