Package io.mailtrap.api.billing
Interface Billing
- All Known Implementing Classes:
BillingImpl
public interface Billing
Interface representing the Mailtrap Testing API for interaction with billing
-
Method Summary
Modifier and TypeMethodDescriptiongetCurrentBillingCycleUsage
(long accountId) Get current billing cycle usage for Email Testing and Email Sending
-
Method Details
-
getCurrentBillingCycleUsage
Get current billing cycle usage for Email Testing and Email Sending- Parameters:
accountId
- unique account ID- Returns:
- an object with current billing cycle usage for Email Testing and Email Sending if available
-