WebhookEvent class
- Implementers
- CardAutomaticallyUpdatedEvent
- CardCreatedEvent
- CardDisabledEvent
- CardForgottenEvent
- CardUpdatedEvent
- CatalogVersionUpdatedEvent
- CustomerCreatedEvent
- CustomerDeletedEvent
- CustomerUpdatedEvent
- GiftCardActivityCreatedEvent
- GiftCardActivityUpdatedEvent
- GiftCardCreatedEvent
- GiftCardCustomerLinkedEvent
- GiftCardCustomerUnlinkedEvent
- GiftCardUpdatedEvent
- InvoiceCanceledEvent
- InvoiceCreatedEvent
- InvoiceDeletedEvent
- InvoicePaymentMadeEvent
- InvoicePublishedEvent
- InvoiceRefundedEvent
- InvoiceScheduledChargeFailedEvent
- InvoiceUpdatedEvent
- LocationCreatedEvent
- LocationUpdatedEvent
- LoyaltyAccountCreatedEvent
- LoyaltyAccountDeletedEvent
- LoyaltyAccountUpdatedEvent
- LoyaltyProgramCreatedEvent
- LoyaltyProgramUpdatedEvent
- OauthAuthorizationRevokedEvent
- OrderCreatedEvent
- OrderFulfillmentUpdatedEvent
- OrderUpdatedEvent
- SubscriptionCreatedEvent
- SubscriptionUpdatedEvent
- Annotations
-
- @JsonSerializable()
Constructors
- WebhookEvent({required String merchantId, required String type, required String eventId, required DateTime createdAt})
-
const
-
WebhookEvent.fromJson(Map<
String, dynamic> json) -
Converts a Map to an WebhookEvent
factory
Properties
- createdAt → DateTime
-
Timestamp of when the webhook event was created.
final
- eventId → String
-
A unique ID for the webhook event.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- merchantId → String
-
The ID of the target merchant associated with the event.
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited - type → String
-
The type of event this represents.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts a WebhookEvent to a Map
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited