Class AccountCompanyLevel

    • 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 call
        IOException
      • 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 call
        IOException