WebhookEvent class
A webhook event: a verified notification, or one replayed by
payitgo.events.list (the same body).
Constructors
-
WebhookEvent(Map<
String, dynamic> raw)
Properties
- createdAt → DateTime
-
no setter
-
data
→ Map<
String, dynamic> -
The payment (payment.* events), the settlement (settlement.), the
payout (payout.), the payout batch (payout_batch.:
PayoutBatch), the payout batch's payment (every payout_item. event, processing and returned included:PayoutItem), the payout wallet's withdrawal (payout_wallet.withdrawn and payout_wallet.withdrawal_failed:PayoutWithdrawal), the payout schedule (payout_schedule.run:PayoutSchedule), the schedule and its shortfall (payout_schedule.funding_needed:PayoutScheduleFunding), or{"message": "pong"}(ping).no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The event id: the same however often the event is delivered, and when
it is replayed. Handle each id once.
no setter
- livemode → bool
-
no setter
-
raw
→ Map<
String, dynamic> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String
-
no setter
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