@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) • 395 B
JavaScript
import { EventName } from '../../helpers/index.js';
import { Event } from '../../../entities/events/event.js';
import { AddressNotification } from '../../entities/index.js';
export class AddressCreatedEvent extends Event {
constructor(response) {
super(response);
this.eventType = EventName.AddressCreated;
this.data = new AddressNotification(response.data);
}
}