Class ExchangeParameters.Rates
- java.lang.Object
-
- tech.cassandre.trading.bot.util.parameters.ExchangeParameters.Rates
-
- Enclosing class:
- ExchangeParameters
public static class ExchangeParameters.Rates extends Object
Exchange API rate calls.
-
-
Field Summary
Fields Modifier and Type Field Description static String
PARAMETER_RATE_ACCOUNT
Rate for account parameter.static String
PARAMETER_RATE_ORDER
Rate for order parameter.static String
PARAMETER_RATE_TICKER
Rate for ticker parameter.
-
Constructor Summary
Constructors Constructor Description Rates()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getAccount()
Getter account.Long
getOrder()
Getter order.Long
getTicker()
Getter ticker.void
setAccount(Long newAccount)
Setter account.void
setOrder(Long newOrder)
Setter order.void
setTicker(Long newTicker)
Setter ticker.String
toString()
-
-
-
Field Detail
-
PARAMETER_RATE_ACCOUNT
public static final String PARAMETER_RATE_ACCOUNT
Rate for account parameter.- See Also:
- Constant Field Values
-
PARAMETER_RATE_TICKER
public static final String PARAMETER_RATE_TICKER
Rate for ticker parameter.- See Also:
- Constant Field Values
-
PARAMETER_RATE_ORDER
public static final String PARAMETER_RATE_ORDER
Rate for order parameter.- See Also:
- Constant Field Values
-
-
Method Detail
-
getAccount
public long getAccount()
Getter account.- Returns:
- account
-
setAccount
public void setAccount(Long newAccount)
Setter account.- Parameters:
newAccount
- the account to set
-
getTicker
public Long getTicker()
Getter ticker.- Returns:
- ticker
-
setTicker
public void setTicker(Long newTicker)
Setter ticker.- Parameters:
newTicker
- the ticker to set
-
getOrder
public Long getOrder()
Getter order.- Returns:
- order
-
setOrder
public void setOrder(Long newOrder)
Setter order.- Parameters:
newOrder
- the order to set
-
-