WebhookEndpoint class final
NotificationWebhookEndpoint
You can configure [webhook endpoints](https://stripe.com/docs/webhooks/) via the API to be notified about events that happen in your Stripe account or connected accounts. Most users configure webhooks from [the dashboard](https://dashboard.stripe.com/webhooks), which provides a user interface for registering and testing your webhook endpoints. Related guide: [Setting up webhooks](https://stripe.com/docs/webhooks/configure)
- Implemented types
Constructors
-
WebhookEndpoint({String? apiVersion, String? application, required DateTime created, String? description, required List<
String> enabledEvents, required String id, required bool livemode, required Map<String, String> metadata, String? secret, required String status, required String url}) -
NotificationWebhookEndpoint
const
- WebhookEndpoint.fromJson(Object? json)
-
factory
Properties
- apiVersion → String?
-
final
- application → String?
-
final
- created → DateTime
-
final
- description → String?
-
final
-
enabledEvents
→ List<
String> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- livemode → bool
-
final
-
metadata
→ Map<
String, String> -
final
- object → String
-
The resource's type.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secret → String?
-
final
- status → String
-
final
- url → String
-
final
Methods
-
encodeWith<
V> (Encoder< V> encoder) → V -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
encode<
V> (WebhookEndpoint instance, Encoder< V> encoder) → V