com.yodlee.api.model.derived.DerivedCategorySummaryDetails 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.derived;
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.Money;
import io.swagger.annotations.ApiModelProperty;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({"creditTotal", "debitTotal", "date"})
public class DerivedCategorySummaryDetails extends AbstractModelComponent {
@ApiModelProperty(readOnly = true,
value = "Total of credit transaction amounts that had occured on the date."//
+ "
"//
+ "Applicable containers: creditCard, bank, investment
"//
)
@JsonProperty("creditTotal")
private Money creditTotal;
@ApiModelProperty(readOnly = true,
value = "Total of debit transaction amounts that had occured on the date."//
+ "
"//
+ "Applicable containers: creditCard, bank, investment
"//
)
@JsonProperty("debitTotal")
private Money debitTotal;
@ApiModelProperty(readOnly = true,
value = "Date on which the credit and debit transactions had occured."//
+ "
"//
+ "Applicable containers: creditCard, bank, investment
"//
)
@JsonProperty("date")
private String date;
/**
* Total of credit transaction amounts that had occured on the date.
*
* Applicable containers: creditCard, bank, investment
*
* @return creditTotal
*/
public Money getCreditTotal() {
return creditTotal;
}
/**
* Total of debit transaction amounts that had occured on the date.
*
* Applicable containers: creditCard, bank, investment
*
* @return debitTotal
*/
public Money getDebitTotal() {
return debitTotal;
}
/**
* Date on which the credit and debit transactions had occured.
*
* Applicable containers: creditCard, bank, investment
*
* @return date
*/
public String getDate() {
return date;
}
@Override
public String toString() {
return "CategorySummaryDetails [creditTotal=" + creditTotal + ", debitTotal=" + debitTotal + ", date=" + date
+ "]";
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy