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.

17 lines (16 loc) 731 B
import type { SavedPaymentMethodType, SavedPaymentOrigin } from '../../enums/index.js'; import type { IPaymentMethodResponse } from '../../types/index.js'; import { PaymentCard, PaymentMethodUnderlyingDetails, PayPal } from '../shared/index.js'; export declare class PaymentMethod { readonly id: string; readonly customerId: string; readonly addressId: string; readonly type: SavedPaymentMethodType; readonly card: PaymentCard | null; readonly paypal: PayPal | null; readonly underlyingDetails: PaymentMethodUnderlyingDetails | null; readonly origin: SavedPaymentOrigin; readonly savedAt: string; readonly updatedAt: string; constructor(paymentMethodResponse: IPaymentMethodResponse); }