Class TradeHistoryParamsAll
java.lang.Object
org.knowm.xchange.service.trade.params.TradeHistoryParamsAll
- All Implemented Interfaces:
CurrencyPairParam
,InstrumentParam
,TradeHistoryParamCurrencyPair
,TradeHistoryParamInstrument
,TradeHistoryParamLimit
,TradeHistoryParamMultiCurrencyPair
,TradeHistoryParamMultiInstrument
,TradeHistoryParamOffset
,TradeHistoryParamPaging
,TradeHistoryParams
,TradeHistoryParamsIdSpan
,TradeHistoryParamsTimeSpan
public class TradeHistoryParamsAll extends Object implements TradeHistoryParamsTimeSpan, TradeHistoryParamPaging, TradeHistoryParamsIdSpan, TradeHistoryParamOffset, TradeHistoryParamCurrencyPair, TradeHistoryParamMultiCurrencyPair, TradeHistoryParamInstrument, TradeHistoryParamMultiInstrument, TradeHistoryParamLimit
Generic
TradeHistoryParams
implementation that implements all the interfaces in the
hierarchy and can be safely (without getting exceptions, if that all the required fields are
non-null) passed to any implementation of TradeService.getTradeHistory(TradeHistoryParams)
.-
Constructor Summary
Constructors Constructor Description TradeHistoryParamsAll()
-
Method Summary
Modifier and Type Method Description CurrencyPair
getCurrencyPair()
Collection<CurrencyPair>
getCurrencyPairs()
String
getEndId()
Date
getEndTime()
Instrument
getInstrument()
Collection<Instrument>
getInstruments()
Integer
getLimit()
Long
getOffset()
Integer
getPageLength()
Integer
getPageNumber()
0-based page numberString
getStartId()
Date
getStartTime()
void
setCurrencyPair(CurrencyPair pair)
void
setCurrencyPairs(Collection<CurrencyPair> value)
void
setEndId(String endId)
void
setEndTime(Date to)
void
setInstrument(Instrument instrument)
void
setInstruments(Collection<Instrument> instruments)
void
setLimit(Integer limit)
void
setOffset(Long offset)
void
setPageLength(Integer count)
void
setPageNumber(Integer pageNumber)
0-based page numbervoid
setStartId(String from)
void
setStartTime(Date startTime)
-
Constructor Details
-
TradeHistoryParamsAll
public TradeHistoryParamsAll()
-
-
Method Details
-
getPageLength
- Specified by:
getPageLength
in interfaceTradeHistoryParamPaging
-
setPageLength
- Specified by:
setPageLength
in interfaceTradeHistoryParamPaging
-
getStartId
- Specified by:
getStartId
in interfaceTradeHistoryParamsIdSpan
-
setStartId
- Specified by:
setStartId
in interfaceTradeHistoryParamsIdSpan
-
getEndId
- Specified by:
getEndId
in interfaceTradeHistoryParamsIdSpan
-
setEndId
- Specified by:
setEndId
in interfaceTradeHistoryParamsIdSpan
-
getEndTime
- Specified by:
getEndTime
in interfaceTradeHistoryParamsTimeSpan
-
setEndTime
- Specified by:
setEndTime
in interfaceTradeHistoryParamsTimeSpan
-
getStartTime
- Specified by:
getStartTime
in interfaceTradeHistoryParamsTimeSpan
-
setStartTime
- Specified by:
setStartTime
in interfaceTradeHistoryParamsTimeSpan
-
getOffset
- Specified by:
getOffset
in interfaceTradeHistoryParamOffset
-
setOffset
- Specified by:
setOffset
in interfaceTradeHistoryParamOffset
-
getPageNumber
Description copied from interface:TradeHistoryParamPaging
0-based page number- Specified by:
getPageNumber
in interfaceTradeHistoryParamPaging
-
setPageNumber
Description copied from interface:TradeHistoryParamPaging
0-based page number- Specified by:
setPageNumber
in interfaceTradeHistoryParamPaging
-
getCurrencyPair
- Specified by:
getCurrencyPair
in interfaceCurrencyPairParam
- Specified by:
getCurrencyPair
in interfaceTradeHistoryParamCurrencyPair
-
setCurrencyPair
- Specified by:
setCurrencyPair
in interfaceCurrencyPairParam
- Specified by:
setCurrencyPair
in interfaceTradeHistoryParamCurrencyPair
-
getCurrencyPairs
- Specified by:
getCurrencyPairs
in interfaceTradeHistoryParamMultiCurrencyPair
-
setCurrencyPairs
- Specified by:
setCurrencyPairs
in interfaceTradeHistoryParamMultiCurrencyPair
-
getInstrument
- Specified by:
getInstrument
in interfaceInstrumentParam
-
setInstrument
- Specified by:
setInstrument
in interfaceInstrumentParam
-
getInstruments
- Specified by:
getInstruments
in interfaceTradeHistoryParamMultiInstrument
-
setInstruments
- Specified by:
setInstruments
in interfaceTradeHistoryParamMultiInstrument
-
getLimit
- Specified by:
getLimit
in interfaceTradeHistoryParamLimit
-
setLimit
- Specified by:
setLimit
in interfaceTradeHistoryParamLimit
-