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

com.trickl.model.oanda.transaction.OpenTradeFinancing Maven / Gradle / Ivy

package com.trickl.model.oanda.transaction;

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 lombok.Builder;
import lombok.Data;

/**
 * OpenTradeFinancing is used to pay/collect daily financing charge for an open Trade within an
 * Account.
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({"tradeID", "financing"})
@Data
@Builder
public class OpenTradeFinancing {

  /** The ID of the Trade that financing is being paid/collected for. */
  @JsonProperty("tradeID")
  @JsonPropertyDescription("The ID of the Trade that financing is being paid/collected for.")
  private String tradeId;
 
  /** The amount of financing paid/collected for the Trade. */  
  @JsonPropertyDescription("The amount of financing paid/collected for the Trade.")
  private String financing;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy