@paddle/paddle-node-sdk
Version:
A Node.js SDK that you can use to integrate Paddle Billing with applications written in server-side JavaScript.
21 lines (20 loc) • 581 B
JavaScript
export class PaymentMethodDeletedNotification {
id;
customerId;
addressId;
deletionReason;
type;
origin;
savedAt;
updatedAt;
constructor(paymentMethod) {
this.id = paymentMethod.id;
this.customerId = paymentMethod.customer_id;
this.addressId = paymentMethod.address_id;
this.deletionReason = paymentMethod.deletion_reason;
this.type = paymentMethod.type;
this.origin = paymentMethod.origin;
this.savedAt = paymentMethod.saved_at;
this.updatedAt = paymentMethod.updated_at;
}
}