Interface BitcointoyouAuthenticated


  • @Path("API/")
    @Produces("application/json")
    @Consumes("application/x-www-form-urlencoded")
    public interface BitcointoyouAuthenticated
    Bitcointoyou Exchange end-points that needs a credential to be used.
    Author:
    Danilo Guimaraes, Jonathas Carrijo
    • Method Detail

      • returnBalances

        @GET
        @Path("balance.aspx")
        BitcointoyouBalance returnBalances​(@HeaderParam("key")
                                           String apiKey,
                                           @HeaderParam("nonce")
                                           si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                           @HeaderParam("signature")
                                           si.mazi.rescu.ParamsDigest signature)
      • returnOrderById

        @POST
        @Path("getorders.aspx")
        BitcointoyouOrderResponse returnOrderById​(@HeaderParam("key")
                                                  String apiKey,
                                                  @HeaderParam("nonce")
                                                  si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                                  @HeaderParam("signature")
                                                  si.mazi.rescu.ParamsDigest signature,
                                                  @QueryParam("id")
                                                  String orderId)
                                           throws IOException
        Throws:
        IOException
      • returnOpenOrders

        @GET
        @Path("getorders.aspx?status=OPEN")
        BitcointoyouOrderResponse returnOpenOrders​(@HeaderParam("key")
                                                   String apiKey,
                                                   @HeaderParam("nonce")
                                                   si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                                   @HeaderParam("signature")
                                                   si.mazi.rescu.ParamsDigest signature)
                                            throws IOException
        Throws:
        IOException
      • returnCanceledOrders

        @GET
        @Path("getorders.aspx?status=CANCELED")
        HashMap<String,​BitcointoyouOrderResponse[]> returnCanceledOrders​(@HeaderParam("key")
                                                                               String apiKey,
                                                                               @HeaderParam("nonce")
                                                                               si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                                                               @HeaderParam("signature")
                                                                               si.mazi.rescu.ParamsDigest signature)
                                                                        throws IOException
        Throws:
        IOException
      • returnExecutedOrders

        @GET
        @Path("getorders.aspx?status=EXECUTED")
        HashMap<String,​BitcointoyouOrderResponse[]> returnExecutedOrders​(@HeaderParam("key")
                                                                               String apiKey,
                                                                               @HeaderParam("nonce")
                                                                               si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                                                               @HeaderParam("signature")
                                                                               si.mazi.rescu.ParamsDigest signature)
                                                                        throws IOException
        Throws:
        IOException
      • deleteOrder

        @POST
        @Path("deleteorders.aspx")
        HashMap<String,​String> deleteOrder​(@HeaderParam("key")
                                                 String apiKey,
                                                 @HeaderParam("nonce")
                                                 si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                                 @HeaderParam("signature")
                                                 si.mazi.rescu.ParamsDigest signature,
                                                 @QueryParam("id")
                                                 String orderNumber)
                                          throws IOException
        Throws:
        IOException