All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.kucoin.sdk.rest.interfaces.UserAPI Maven / Gradle / Ivy

The newest version!
package com.kucoin.sdk.rest.interfaces;

import com.kucoin.sdk.exception.KucoinApiException;
import com.kucoin.sdk.rest.response.Pagination;
import com.kucoin.sdk.rest.response.SubUserInfoResponse;

import java.io.IOException;
import java.util.List;

/**
 * Created by Reeta on 2019-05-20
 */
public interface UserAPI {

    /**
     * Get a list of sub-users.
     * 

* You can create sub-users on web end. * * @return The sub-users. * @throws IOException on socket errors. * @throws KucoinApiException when errors are returned from the exchange. */ List listSubUsers() throws IOException; /** * Get a page list of sub-users. *

* You can create sub-users on web end. * * @param currentPage The page to fetch * @param pageSize The page size. * @return a page of sub-users. * @throws IOException on socket errors. * @throws KucoinApiException when errors are returned from the exchange. */ Pagination pageListSubUsers(int currentPage, int pageSize) throws IOException; }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy