Package org.knowm.xchange.bitso.service
Class BitsoAccountServiceRaw
java.lang.Object
org.knowm.xchange.service.BaseExchangeService
org.knowm.xchange.bitso.service.BitsoBaseService
org.knowm.xchange.bitso.service.BitsoAccountServiceRaw
- All Implemented Interfaces:
BaseService
- Direct Known Subclasses:
BitsoAccountService
public class BitsoAccountServiceRaw extends BitsoBaseService
-
Field Summary
Fields inherited from class org.knowm.xchange.service.BaseExchangeService
exchange
-
Constructor Summary
Constructors Modifier Constructor Description protected
BitsoAccountServiceRaw(Exchange exchange)
-
Method Summary
Modifier and Type Method Description BitsoBalance
getBitsoBalance()
BitsoDepositAddress
getBitsoBitcoinDepositAddress()
String
withdrawBitsoFunds(BigDecimal amount, String address)
boolean
withdrawToRipple(BigDecimal amount, Currency currency, String rippleAddress)
Withdraws funds to Ripple and associates the receiving Ripple address with the Bitso account for deposits.Methods inherited from class org.knowm.xchange.service.BaseExchangeService
verifyOrder, verifyOrder, verifyOrder
-
Constructor Details
-
BitsoAccountServiceRaw
-
-
Method Details
-
getBitsoBalance
- Throws:
IOException
-
withdrawBitsoFunds
- Throws:
IOException
-
getBitsoBitcoinDepositAddress
- Throws:
IOException
-
withdrawToRipple
public boolean withdrawToRipple(BigDecimal amount, Currency currency, String rippleAddress) throws IOExceptionWithdraws funds to Ripple and associates the receiving Ripple address with the Bitso account for deposits. NOTE: The Ripple address associated to your account for deposits will be updated accordingly! Please ensure that any subsequent Ripple funding emanates from this address.- Returns:
- true if withdrawal was successful.
- Throws:
IOException
-