Examples of CoinbaseBaseResponse


Examples of com.xeiam.xchange.coinbase.dto.CoinbaseBaseResponse

   * @return True if the redemption was successful.
   * @throws IOException
   */
  public boolean redeemCoinbaseToken(final String tokenId) throws IOException {

    final CoinbaseBaseResponse response = coinbase.redeemToken(tokenId, exchangeSpecification.getApiKey(), signatureCreator, getNonce());
    return handleResponse(response).isSuccess();
  }
View Full Code Here

Examples of com.xeiam.xchange.coinbase.dto.CoinbaseBaseResponse

   * @return true if resending the request was successful.
   * @throws IOException
   */
  public CoinbaseBaseResponse resendCoinbaseRequest(final String transactionId) throws IOException {

    final CoinbaseBaseResponse response = coinbase.resendRequest(transactionId, exchangeSpecification.getApiKey(), signatureCreator, getNonce());
    return handleResponse(response);
  }
View Full Code Here

Examples of com.xeiam.xchange.coinbase.dto.CoinbaseBaseResponse

   * @return true if canceling the request was successful.
   * @throws IOException
   */
  public CoinbaseBaseResponse cancelCoinbaseRequest(final String transactionId) throws IOException {

    final CoinbaseBaseResponse response = coinbase.cancelRequest(transactionId, exchangeSpecification.getApiKey(), signatureCreator, getNonce());
    return handleResponse(response);
  }
View Full Code Here

Examples of com.xeiam.xchange.coinbase.dto.CoinbaseBaseResponse

    CoinbaseRequestMoneyRequest moneyRequest = CoinbaseTransaction.createMoneyRequest("xchange@demo.com", Currencies.BTC, new BigDecimal(".001")).withNotes("test");
    CoinbaseTransaction pendingTransaction = accountService.requestMoneyCoinbaseRequest(moneyRequest);
    System.out.println(pendingTransaction);

    CoinbaseBaseResponse resendResponse = accountService.resendCoinbaseRequest(pendingTransaction.getId());
    System.out.println(resendResponse);

    CoinbaseBaseResponse cancelResponse = accountService.cancelCoinbaseRequest(pendingTransaction.getId());
    System.out.println(cancelResponse);

    // CoinbaseSendMoneyRequest sendMoneyRequest = CoinbaseTransaction
    // .createSendMoneyRequest("1Fpx2Q6J8TX3PZffgEBTpWSHG37FQBgqKB", MoneyUtils.parse("BTC .01"))
    // .withNotes("Demo Money!").withInstantBuy(false).withUserFee("0.0");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.