@paddle/paddle-node-sdk
Version:
A Node.js SDK that you can use to integrate Paddle Billing with applications written in server-side JavaScript.
19 lines (18 loc) • 493 B
JavaScript
export class PaymentMethodNotification {
id;
customerId;
addressId;
type;
origin;
savedAt;
updatedAt;
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;
}
}