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.

16 lines (15 loc) 581 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PaymentMethodNotification = void 0; class PaymentMethodNotification { constructor(paymentMethod) { this.id = paymentMethod.id; this.customerId = paymentMethod.customer_id; this.addressId = paymentMethod.address_id; this.type = paymentMethod.type; this.origin = paymentMethod.origin; this.savedAt = paymentMethod.saved_at; this.updatedAt = paymentMethod.updated_at; } } exports.PaymentMethodNotification = PaymentMethodNotification;