Table of Contents

Interface IBillingResource

Namespace
Mailtrap.Billing
Assembly
Mailtrap.Abstractions.dll

Represents account billing resource.

public interface IBillingResource : IRestResource
Inherited Members

Methods

GetUsage(CancellationToken)

Gets current billing cycle usage for Email Testing and Email Sending.

Task<BillingUsage> GetUsage(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Token to control operation cancellation.

Returns

Task<BillingUsage>

Billing usage details.