Package org.knowm.xchange.luno
Class LunoUtil
java.lang.Object
org.knowm.xchange.luno.LunoUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Currency
static CurrencyPair
fromLunoPair
(String lunoPair) convert luno pair to xchange pair i.e.static String
requestType
(String lunoCurrency) see https://www.luno.com/en/api#withdrawals-createstatic String
static String
toLunoPair
(CurrencyPair pair)
-
Constructor Details
-
LunoUtil
public LunoUtil()
-
-
Method Details
-
toLunoPair
-
toLunoCurrency
-
fromLunoCurrency
-
requestType
see https://www.luno.com/en/api#withdrawals-create- Parameters:
lunoCurrency
-- Returns:
- withdrawal type
-
fromLunoPair
convert luno pair to xchange pair i.e. XBTZAR -> BTC/ZAR we assume, the pair has two currencies with 3 chars length each invalid input: '<'- not a very clean approach- Parameters:
lunoPair
-- Returns:
-