Package com.adyen.service.management
Class AccountCompanyLevel
- java.lang.Object
-
- com.adyen.Service
-
- com.adyen.ApiKeyAuthenticatedService
-
- com.adyen.service.management.AccountCompanyLevel
-
public class AccountCompanyLevel extends ApiKeyAuthenticatedService
-
-
Constructor Summary
Constructors Constructor Description AccountCompanyLevel(Client client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompanygetCompanyAccount(String companyId)Get a company accountListCompanyResponselistCompanyAccounts(Map<String,String> queryParams)Get a list of company accountsListMerchantResponselistMerchantAccounts(String companyId, Map<String,String> queryParams)Get a list of merchant accounts-
Methods inherited from class com.adyen.Service
getClient, isApiKeyRequired, setApiKeyRequired, setClient
-
-
-
-
Constructor Detail
-
AccountCompanyLevel
public AccountCompanyLevel(Client client)
-
-
Method Detail
-
listCompanyAccounts
public ListCompanyResponse listCompanyAccounts(Map<String,String> queryParams) throws ApiException, IOException
Get a list of company accounts- Parameters:
queryParams- (optional) pageNumber: The number of the page to fetch. (optional) pageSize: The number of items to have on a page, maximum 100. The default is 10 items on a page. (optional)- Returns:
- ListCompanyResponse
- Throws:
ApiException- if fails to make API callIOException
-
getCompanyAccount
public Company getCompanyAccount(String companyId) throws ApiException, IOException
Get a company account- Parameters:
companyId- The unique identifier of the company account. (required)- Returns:
- Company
- Throws:
ApiException- if fails to make API callIOException
-
listMerchantAccounts
public ListMerchantResponse listMerchantAccounts(String companyId, Map<String,String> queryParams) throws ApiException, IOException
Get a list of merchant accounts- Parameters:
companyId- The unique identifier of the company account. (required)queryParams- (optional) pageNumber: The number of the page to fetch. (optional) pageSize: The number of items to have on a page, maximum 100. The default is 10 items on a page. (optional)- Returns:
- ListMerchantResponse
- Throws:
ApiException- if fails to make API callIOException
-
-