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.

13 lines (12 loc) 472 B
export class PaymentMethodDeletedNotification { 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; } }