com.trickl.model.oanda.trade.GetTradesResponse Maven / Gradle / Ivy
package com.trickl.model.oanda.trade;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import java.util.List;
import lombok.Builder;
import lombok.Data;
/** The response from the /v3/accounts/{accountId}/trades endpoint. */
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"trades",
"lastTransactionID",
})
@Data
@Builder
public class GetTradesResponse {
/* The list of Trade detail objects. */
@JsonPropertyDescription("The list of Trades that satisfy the request.")
private List trades;
/* The ID of the most recent Transaction created for the Account. */
@JsonProperty("lastTransactionID")
@JsonPropertyDescription("The ID of the most recent Transaction created for the Account")
private String lastTransactionId;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy