Class PlatformApi
- java.lang.Object
-
- com.adyen.Service
-
- com.adyen.service.balanceplatform.PlatformApi
-
public class PlatformApi extends Service
-
-
Field Summary
Fields Modifier and Type Field Description static StringAPI_VERSIONprotected StringbaseURL
-
Constructor Summary
Constructors Constructor Description PlatformApi(Client client)Platform constructor inpackage.PlatformApi(Client client, String baseURL)Platform constructor inpackage.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PaginatedAccountHoldersResponsegetAllAccountHoldersUnderBalancePlatform(String id)Get all account holders under a balance platformPaginatedAccountHoldersResponsegetAllAccountHoldersUnderBalancePlatform(String id, Integer offset, Integer limit, RequestOptions requestOptions)Get all account holders under a balance platformBalancePlatformgetBalancePlatform(String id)Get a balance platformBalancePlatformgetBalancePlatform(String id, RequestOptions requestOptions)Get a balance platform-
Methods inherited from class com.adyen.Service
createBaseURL, getClient, isApiKeyRequired, setApiKeyRequired, setClient
-
-
-
-
Field Detail
-
API_VERSION
public static final String API_VERSION
- See Also:
- Constant Field Values
-
baseURL
protected String baseURL
-
-
Constructor Detail
-
PlatformApi
public PlatformApi(Client client)
Platform constructor inpackage.- Parameters:
client-Client(required)
-
-
Method Detail
-
getAllAccountHoldersUnderBalancePlatform
public PaginatedAccountHoldersResponse getAllAccountHoldersUnderBalancePlatform(String id) throws ApiException, IOException
Get all account holders under a balance platform- Parameters:
id-StringThe unique identifier of the balance platform. (required)- Returns:
PaginatedAccountHoldersResponse- Throws:
ApiException- if fails to make API callIOException
-
getAllAccountHoldersUnderBalancePlatform
public PaginatedAccountHoldersResponse getAllAccountHoldersUnderBalancePlatform(String id, Integer offset, Integer limit, RequestOptions requestOptions) throws ApiException, IOException
Get all account holders under a balance platform- Parameters:
id-StringThe unique identifier of the balance platform. (required)offset-IntegerQuery: The number of items that you want to skip. (optional)limit-IntegerQuery: The number of items returned per page, maximum 100 items. By default, the response returns 10 items per page. (optional)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
PaginatedAccountHoldersResponse- Throws:
ApiException- if fails to make API callIOException
-
getBalancePlatform
public BalancePlatform getBalancePlatform(String id) throws ApiException, IOException
Get a balance platform- Parameters:
id-StringThe unique identifier of the balance platform. (required)- Returns:
BalancePlatform- Throws:
ApiException- if fails to make API callIOException
-
getBalancePlatform
public BalancePlatform getBalancePlatform(String id, RequestOptions requestOptions) throws ApiException, IOException
Get a balance platform- Parameters:
id-StringThe unique identifier of the balance platform. (required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
BalancePlatform- Throws:
ApiException- if fails to make API callIOException
-
-