import { AutoEncoder } from '@simonbackx/simple-encoding'; import { Payment } from '../members/Payment.js'; import { Invoice } from '../billing/Invoice.js'; /** * If needed, you can extend this class to add extra fields in custom checkout flows. */ export declare class CheckoutResponse extends AutoEncoder { /** * Used for polling the payment status or showing transfer instructions. * Also used for showing a summary on the success page. */ payment: Payment | null; /** * If an invoice is available and created, it will be set here already. * When asked for a pro forma invoice, this will be set. */ invoice: Invoice | null; /** * External page to finish the payment */ paymentUrl: string | null; /** * Data to put in a QR-code (alternative for the paymentUrl) * E.g. Payconiq/Wero payment QR-code */ paymentQRCode: string | null; } //# sourceMappingURL=CheckoutResponse.d.ts.map