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

org.knowm.xchange.bl3p.service.params.CancelOrderByIdAndCurrencyPairParams Maven / Gradle / Ivy

There is a newer version: 5.2.0
Show newest version
package org.knowm.xchange.bl3p.service.params;

import org.knowm.xchange.currency.CurrencyPair;
import org.knowm.xchange.service.trade.params.CancelOrderByCurrencyPair;
import org.knowm.xchange.service.trade.params.CancelOrderByIdParams;

public class CancelOrderByIdAndCurrencyPairParams
    implements CancelOrderByIdParams, CancelOrderByCurrencyPair {
  private CurrencyPair currencyPair;
  private String orderId;

  public CancelOrderByIdAndCurrencyPairParams(CurrencyPair currencyPair, String orderId) {
    this.currencyPair = currencyPair;
    this.orderId = orderId;
  }

  @Override
  public CurrencyPair getCurrencyPair() {
    return currencyPair;
  }

  @Override
  public String getOrderId() {
    return orderId;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy