Package io.mailtrap.api.accounts
Interface Accounts
- All Known Implementing Classes:
AccountsImpl
public interface Accounts
Interface representing the Mailtrap Testing API for interaction with accounts
-
Method Summary
Modifier and TypeMethodDescriptionGet a list of your Mailtrap accounts.
-
Method Details
-
getAllAccounts
List<AccountsResponse> getAllAccounts()Get a list of your Mailtrap accounts.- Returns:
- the list of accounts to which the API token has access
-