import { AutoEncoder } from '@simonbackx/simple-encoding'; import { PaymentProvider } from './PaymentProvider.js'; export declare enum PaymentMandateType { DirectDebit = "DirectDebit", CreditCard = "CreditCard" } /** * The status of the mandate. A status can be pending for mandates when the first payment is not yet finalized, or when we did not received the IBAN yet from the first payment. */ export declare enum PaymentMandateStatus { Valid = "Valid", Pending = "Pending", Invalid = "Invalid" } export declare class PaymentMandateDetails extends AutoEncoder { /** * Name of the card holder */ name: string | null; /** * Full iban if direct debit */ iban: string | null; /** * Last 4 digits if credit card */ cardNumber: string | null; /** * Bic code for iban numbers */ bic: string | null; expiryDate: Date | null; brand: string | null; } export declare class PaymentMandate extends AutoEncoder { /** * External mandate id of the provider. */ id: string; isDefault: boolean; status: PaymentMandateStatus; provider: PaymentProvider; type: PaymentMandateType; details: PaymentMandateDetails; createdAt: Date; } //# sourceMappingURL=PaymentMandate.d.ts.map