DVBillingWebhookResult class

What a webhook did.

Constructors

DVBillingWebhookResult({required String type, required bool handled, String? customer, Set<Entitlement> granted = const <Entitlement>{}, Set<Entitlement> revoked = const <Entitlement>{}, bool stale = false, String? reference, String? checkoutId, String? eventId})
const

Properties

checkoutId → String?
final
customer → String?
final
eventId → String?
final
granted → Set<Entitlement>
final
handled → bool
Whether this provider acted on the event. False is still an acknowledgement: Stripe retries an unacknowledged webhook for days.
final
hashCode → int
The hash code for this object.
no setterinherited
reference → String?
For an event about a one-time order (DVOneTimeCheckout): the order's reference, the provider's id for its checkout, and the event's own id. The event says which order; whether it is paid is asked of the provider's API (DVOneTimeCheckout.orderStatus), never read off the event.
final
revoked → Set<Entitlement>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stale → bool
Whether the event described a moment older than one already applied to the same subscription, and was therefore ignored.
final
type → String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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