Examples of CoinbaseRecurringPayments


Examples of com.xeiam.xchange.coinbase.dto.account.CoinbaseRecurringPayments

   * @return
   * @throws IOException
   */
  public CoinbaseRecurringPayments getCoinbaseRecurringPayments(final Integer page, final Integer limit) throws IOException {

    final CoinbaseRecurringPayments recurringPayments = coinbase.getRecurringPayments(page, limit, exchangeSpecification.getApiKey(), signatureCreator, getNonce());
    return recurringPayments;
  }
View Full Code Here

Examples of com.xeiam.xchange.coinbase.dto.account.CoinbaseRecurringPayments

    demoRecurringPayments(accountService);
  }

  private static void demoRecurringPayments(CoinbaseAccountService accountService) throws IOException {

    CoinbaseRecurringPayments recurringPayments = accountService.getCoinbaseRecurringPayments();
    System.out.println(recurringPayments);

    List<CoinbaseRecurringPayment> recurringPaymentsList = recurringPayments.getRecurringPayments();
    if (!recurringPaymentsList.isEmpty()) {
      CoinbaseRecurringPayment recurringPayment = recurringPaymentsList.get(0);
      recurringPayment = accountService.getCoinbaseRecurringPayment(recurringPayment.getId());
      System.out.println(recurringPayment);
    }
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.