PaymongoWebhook<T extends PaymentGateway> class

Implemented types

Constructors

PaymongoWebhook(String apiKey, String url, {T? httpClient})

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

create() Stream<WebhookResponse>
allows user to create a webhook using secret key
override
disable(String id) Future<WebhookResponse>
allows user to disable a webhook using secret key
override
enable(String id) Future<WebhookResponse>
allows user to enable a webhook using secret key
override
listAll() Stream<List<WebhookResponse>>
allows user to fetch all webhook using pubic key
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
retrieve(String id) Stream<WebhookResponse>
allows user to retrieve a webhook using public key
override
toString() String
A string representation of this object.
inherited

Operators

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