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 protectedBitsoAccountServiceRaw(Exchange exchange)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BitsoBalancegetBitsoBalance()BitsoDepositAddressgetBitsoBitcoinDepositAddress()StringwithdrawBitsoFunds(BigDecimal amount, String address)booleanwithdrawToRipple(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
getClientConfig, verifyOrder, verifyOrder, verifyOrder
-
-
-
-
Constructor Detail
-
BitsoAccountServiceRaw
protected BitsoAccountServiceRaw(Exchange exchange)
-
-
Method Detail
-
getBitsoBalance
public BitsoBalance getBitsoBalance() throws IOException
- Throws:
IOException
-
withdrawBitsoFunds
public String withdrawBitsoFunds(BigDecimal amount, String address) throws IOException
- Throws:
IOException
-
getBitsoBitcoinDepositAddress
public BitsoDepositAddress getBitsoBitcoinDepositAddress() throws IOException
- Throws:
IOException
-
withdrawToRipple
public boolean withdrawToRipple(BigDecimal amount, Currency currency, String rippleAddress) throws IOException
Withdraws 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
-
-