public class CancelOrderMethod extends OrderMethod
config, MAX_TICKERS, reqMan, RH_URL| Constructor and Description |
|---|
CancelOrderMethod(SecurityOrder order,
Configuration config)
Build a cancel order method.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
setOrderParameters()
Does nothing
|
setEndpointParameters, verifyTickerDataaddAuthTokenParameter, addFieldParameter, addFieldParameters, addHeaderParameter, addHeaderParameters, addQueryParameter, addQueryParameters, addRouteParameter, addRoutParameters, execute, getBaseUrl, getFieldParameters, getHeaderParameters, getMethodType, getQueryParameters, getReturnType, getRouteParameters, requiresToken, requireToken, setMethodType, setReturnType, setUrlBase, toStringpublic CancelOrderMethod(SecurityOrder order, Configuration config) throws RobinhoodApiException
order - The order to cancelconfig - A logged in ConfigurationRobinhoodApiException - If the order cannot be cancelledprotected void setOrderParameters()
setOrderParameters in class OrderMethod