Class CoinfloorOpenOrdersParams
java.lang.Object
org.knowm.xchange.coinfloor.service.CoinfloorOpenOrdersParams
- All Implemented Interfaces:
CurrencyPairParam
,OpenOrdersParamCurrencyPair
,OpenOrdersParamMultiCurrencyPair
,OpenOrdersParams
public class CoinfloorOpenOrdersParams extends Object implements OpenOrdersParamMultiCurrencyPair, OpenOrdersParamCurrencyPair
-
Constructor Summary
Constructors Constructor Description CoinfloorOpenOrdersParams()
-
Method Summary
Modifier and Type Method Description boolean
accept(LimitOrder order)
Checks if passed order is suitable for open orders params.CurrencyPair
getCurrencyPair()
Collection<CurrencyPair>
getCurrencyPairs()
void
setCurrencyPair(CurrencyPair value)
void
setCurrencyPairs(Collection<CurrencyPair> value)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.knowm.xchange.service.trade.params.orders.OpenOrdersParamCurrencyPair
accept
-
Constructor Details
-
CoinfloorOpenOrdersParams
public CoinfloorOpenOrdersParams()
-
-
Method Details
-
getCurrencyPairs
- Specified by:
getCurrencyPairs
in interfaceOpenOrdersParamMultiCurrencyPair
-
setCurrencyPairs
- Specified by:
setCurrencyPairs
in interfaceOpenOrdersParamMultiCurrencyPair
-
getCurrencyPair
- Specified by:
getCurrencyPair
in interfaceCurrencyPairParam
- Specified by:
getCurrencyPair
in interfaceOpenOrdersParamCurrencyPair
-
setCurrencyPair
- Specified by:
setCurrencyPair
in interfaceCurrencyPairParam
- Specified by:
setCurrencyPair
in interfaceOpenOrdersParamCurrencyPair
-
accept
Description copied from interface:OpenOrdersParams
Checks if passed order is suitable for open orders params. May be used for XChange side orders filtering- Specified by:
accept
in interfaceOpenOrdersParamCurrencyPair
- Specified by:
accept
in interfaceOpenOrdersParamMultiCurrencyPair
- Specified by:
accept
in interfaceOpenOrdersParams
- Parameters:
order
- The order to filter.- Returns:
- true if order is ok
-