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

com.trickl.model.oanda.order.GetOrdersResponse Maven / Gradle / Ivy

package com.trickl.model.oanda.order;

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}/orders endpoint. */
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
    "orders",
    "lastTransactionID",
})
@Data
@Builder
public class GetOrdersResponse {
  /* The list of Orders that satisfy the request. */
  @JsonPropertyDescription("The list of Orders that satisfy the request.")
  private List orders;

  /* 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