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

org.knowm.xchange.bitfinex.v1.dto.trade.BitfinexNewOrderMultiRequest Maven / Gradle / Ivy

There is a newer version: 4.3.19.2
Show newest version
package org.knowm.xchange.bitfinex.v1.dto.trade;

import com.fasterxml.jackson.annotation.JsonProperty;

public class BitfinexNewOrderMultiRequest {

  @JsonProperty("request")
  protected String request;

  @JsonProperty("nonce")
  protected String nonce;

  @JsonProperty("orders")
  protected BitfinexNewOrder[] orders;

  public BitfinexNewOrderMultiRequest(String nonce, BitfinexNewOrder[] orders) {

    this.request = "/v1/order/new/multi";
    this.nonce = nonce;
    this.orders = orders;
  }

  public String getRequest() {

    return request;
  }

  public void setRequest(String request) {

    this.request = request;
  }

  public String getNonce() {

    return nonce;
  }

  public void setNonce(String nonce) {

    this.nonce = nonce;
  }

  public BitfinexNewOrder[] getOrders() {

    return orders;
  }

  public void setOrders(BitfinexNewOrder[] orders) {

    this.orders = orders;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy