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.

19 lines (18 loc) 516 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PaymentCard = void 0; class PaymentCard { 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; } } exports.PaymentCard = PaymentCard;