Package org.knowm.xchange.bitbay.service
Class BitbayAccountServiceRaw
java.lang.Object
org.knowm.xchange.service.BaseExchangeService
org.knowm.xchange.bitbay.service.BitbayBaseService
org.knowm.xchange.bitbay.service.BitbayAccountServiceRaw
- All Implemented Interfaces:
BaseService
- Direct Known Subclasses:
BitbayAccountService
public class BitbayAccountServiceRaw extends BitbayBaseService
- Author:
- Z. Dolezal
-
Field Summary
Fields inherited from class org.knowm.xchange.bitbay.service.BitbayBaseService
bitbay
Fields inherited from class org.knowm.xchange.service.BaseExchangeService
exchange
-
Constructor Summary
Constructors Constructor Description BitbayAccountServiceRaw(Exchange exchange)
-
Method Summary
Modifier and Type Method Description BitbayAccountInfoResponse
getBitbayAccountInfo()
List<FundingRecord>
history(Currency currency, int limit)
BitbayBaseResponse
transfer(Currency currency, BigDecimal quantity, String address)
Corresponds toPOST /transfer
end point.BitbayBaseResponse
withdraw(Currency currency, BigDecimal quantity, String account, boolean express, String bicOrSwiftCode)
Corresponds toPOST /withdraw
end point.Methods inherited from class org.knowm.xchange.service.BaseExchangeService
verifyOrder, verifyOrder, verifyOrder
-
Constructor Details
-
BitbayAccountServiceRaw
-
-
Method Details
-
getBitbayAccountInfo
- Throws:
IOException
-
transfer
Corresponds toPOST /transfer
end point.- Parameters:
currency
- cryptocurrency to transferquantity
- amount of cryptocurrency, which will be transferredaddress
- wallet address of receiver- Returns:
- Success of transfer
- Throws:
ExchangeException
- if an error occurred.
-
withdraw
public BitbayBaseResponse withdraw(Currency currency, BigDecimal quantity, String account, boolean express, String bicOrSwiftCode)Corresponds toPOST /withdraw
end point.- Parameters:
currency
- cryptocurrency to transferquantity
- amount of cryptocurrency, which will be transferredaccount
- account number on which money would be transferredexpress
- true/falsebicOrSwiftCode
- swift/bic number- Returns:
- Success of withdraw
- Throws:
ExchangeException
- if an error occurred.
-
history
-