UNPKG

@paddle/paddle-node-sdk

Version:

A Node.js SDK that you can use to integrate Paddle Billing with applications written in server-side JavaScript.

11 lines (10 loc) 391 B
import { Event } from '../../../entities/events/event.js'; import { EventName } from '../../helpers/index.js'; import { ReportNotification } from '../../entities/index.js'; export class ReportCreatedEvent extends Event { constructor(response) { super(response); this.eventType = EventName.ReportCreated; this.data = new ReportNotification(response.data); } }