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

com.yodlee.api.model.derived.response.DerivedTransactionSummaryResponse 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.derived.response;

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.AbstractModelComponent;
import com.yodlee.api.model.Response;
import com.yodlee.api.model.derived.DerivedTransactionsLinks;
import com.yodlee.api.model.derived.DerivedTransactionsSummary;
import io.swagger.annotations.ApiModelProperty;

@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({"transactionSummary", "links"})
public class DerivedTransactionSummaryResponse extends AbstractModelComponent implements Response {

	@ApiModelProperty(readOnly = true)
	@JsonProperty("transactionSummary")
	private List transactionSummaries;

	@ApiModelProperty(readOnly = true)
	@JsonProperty("links")
	private DerivedTransactionsLinks links;

	@JsonProperty("transactionSummary")
	public List getTransactionSummaries() {
		return transactionSummaries == null ? null : Collections.unmodifiableList(transactionSummaries);
	}

	public DerivedTransactionsLinks getLinks() {
		return links;
	}

	@Override
	public String toString() {
		return "DerivedTransactionSummaryResponse [transactionSummary=" + transactionSummaries + ", links=" + links
				+ "]";
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy