UNPKG

payrex-js-sdk

Version:
30 lines (27 loc) 875 B
import PaymentIntentDto from '../payment-intent/dto.cjs'; import { CheckoutSessionLineItemResource, CheckoutSessionResource } from './types.cjs'; import '../types.cjs'; import '../payment-intent/types.cjs'; declare class CheckoutSessionDto { id: string; resource: string; customer_reference_id: string | null; client_secret: string; status: string; currency: string; line_items: CheckoutSessionLineItemResource[]; livemode: boolean; url: string; payment_intent: PaymentIntentDto; metadata: Record<string, string> | null; success_url: string; cancel_url: string; payment_methods: string[]; description: string | null; submit_type: string; expires_at: number; created_at: number; updated_at: number; constructor(apiResponse: CheckoutSessionResource); } export { CheckoutSessionDto as default };