Class BitbayAccountServiceRaw

All Implemented Interfaces:
BaseService
Direct Known Subclasses:
BitbayAccountService

public class BitbayAccountServiceRaw extends BitbayBaseService
Author:
Z. Dolezal
  • Constructor Details

    • BitbayAccountServiceRaw

      public BitbayAccountServiceRaw(Exchange exchange)
  • Method Details

    • getBitbayAccountInfo

      public BitbayAccountInfoResponse getBitbayAccountInfo() throws IOException
      Throws:
      IOException
    • transfer

      public BitbayBaseResponse transfer(Currency currency, BigDecimal quantity, String address)
      Corresponds to POST /transfer end point.
      Parameters:
      currency - cryptocurrency to transfer
      quantity - amount of cryptocurrency, which will be transferred
      address - 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 to POST /withdraw end point.
      Parameters:
      currency - cryptocurrency to transfer
      quantity - amount of cryptocurrency, which will be transferred
      account - account number on which money would be transferred
      express - true/false
      bicOrSwiftCode - swift/bic number
      Returns:
      Success of withdraw
      Throws:
      ExchangeException - if an error occurred.
    • history

      public List<FundingRecord> history(Currency currency, int limit)