Class AccountsImpl

java.lang.Object
io.mailtrap.api.apiresource.ApiResource
io.mailtrap.api.accounts.AccountsImpl
All Implemented Interfaces:
Accounts

public class AccountsImpl extends ApiResource implements Accounts
  • Constructor Details

  • Method Details

    • getAllAccounts

      public List<AccountsResponse> getAllAccounts()
      Description copied from interface: Accounts
      Get a list of your Mailtrap accounts.
      Specified by:
      getAllAccounts in interface Accounts
      Returns:
      the list of accounts to which the API token has access