DVBillingProvider class abstract

Constructors

DVBillingProvider()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

checkout({required BillingPlan plan, required Object customer}) → Future<DVBillingCheckoutSession>
hasEntitlement(Object customer, Entitlement entitlement) → Future<bool>
invoices(Object customer, {int limit = 20}) → Future<List<DVInvoice>>
customer's invoices, newest first, at most limit of them.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
recordUsage({required Object customer, required DVUsageMeter meter, required int quantity, required String idempotencyKey, DateTime? at}) → Future<void>
Records quantity against meter for customer.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited