@paddle/paddle-node-sdk
Version:
A Node.js SDK that you can use to integrate Paddle Billing with applications written in server-side JavaScript.
12 lines (11 loc) • 398 B
JavaScript
import { Event } from '../../../entities/events/event.js';
import { EventName } from '../../helpers/index.js';
import { AddressNotification } from '../../entities/index.js';
export class AddressImportedEvent extends Event {
eventType = EventName.AddressImported;
data;
constructor(response) {
super(response);
this.data = new AddressNotification(response.data);
}
}