Package io.mailtrap.api.billing
Class BillingImpl
java.lang.Object
io.mailtrap.api.apiresource.ApiResource
io.mailtrap.api.billing.BillingImpl
- All Implemented Interfaces:
Billing
-
Field Summary
Fields inherited from class io.mailtrap.api.apiresource.ApiResource
apiHost, httpClient, token
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCurrentBillingCycleUsage
(long accountId) Get current billing cycle usage for Email Testing and Email Sending
-
Constructor Details
-
BillingImpl
-
-
Method Details
-
getCurrentBillingCycleUsage
Description copied from interface:Billing
Get current billing cycle usage for Email Testing and Email Sending- Specified by:
getCurrentBillingCycleUsage
in interfaceBilling
- Parameters:
accountId
- unique account ID- Returns:
- an object with current billing cycle usage for Email Testing and Email Sending if available
-