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.

10 lines (9 loc) 307 B
export class PaymentCard { constructor(paymentCard) { this.type = paymentCard.type; this.last4 = paymentCard.last4; this.expiryMonth = paymentCard.expiry_month; this.expiryYear = paymentCard.expiry_year; this.cardholderName = paymentCard.cardholder_name; } }