@paddle/paddle-node-sdk
Version:
A Node.js SDK that you can use to integrate Paddle Billing with applications written in server-side JavaScript.
19 lines (18 loc) • 489 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Event = void 0;
class Event {
eventId;
notificationId;
eventType;
occurredAt;
data;
constructor(eventData) {
this.eventId = eventData.event_id;
this.notificationId = eventData.notification_id ?? null;
this.eventType = eventData.event_type;
this.occurredAt = eventData.occurred_at;
this.data = eventData.data;
}
}
exports.Event = Event;