Interface Billing

All Known Implementing Classes:
BillingImpl

public interface Billing
Interface representing the Mailtrap Testing API for interaction with billing
  • Method Summary

    Modifier and Type
    Method
    Description
    Get current billing cycle usage for Email Testing and Email Sending
  • Method Details

    • getCurrentBillingCycleUsage

      BillingResponse getCurrentBillingCycleUsage(long accountId)
      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