@paddle/paddle-node-sdk
Version:
A Node.js SDK that you can use to integrate Paddle Billing with applications written in server-side JavaScript.
15 lines (14 loc) • 393 B
JavaScript
export class PaymentCardNotification {
type;
last4;
expiryMonth;
expiryYear;
cardholderName;
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;
}
}