/** * Zahlungsart — Zwilling von `KeckPaymentMethod` in * kasseneck_api/lib/enums/keck_payment_method.dart. * * `label` ist das deutsche Anzeige-Label fuer die Zahlungsart-Zeile auf dem Beleg. * Muss 1:1 mit dem Backend-Mapping `paymentMethodToString` (functions/helper.js) * uebereinstimmen. * * `mixed` vergibt nur der Server: ein Beleg mit mehreren Zahlungen * verschiedener Zahlart (`payments`) traegt ihn als Einzelfeld * `paymentMethod`. Lesen ist erlaubt, Senden nicht — wer mehrere Zahlarten * kassiert, schickt die Zahlungsliste, nie `mixed`. */ export declare const KeckPaymentMethod: { readonly cash: { readonly value: "cash"; readonly needsCreditCard: false; readonly label: "Barzahlung"; }; readonly creditCard: { readonly value: "creditCard"; readonly needsCreditCard: true; readonly label: "Kartenzahlung"; }; readonly online: { readonly value: "online"; readonly needsCreditCard: false; readonly label: "Onlinezahlung"; }; readonly uberApp: { readonly value: "uberApp"; readonly needsCreditCard: false; readonly label: "Uber App"; }; readonly uberCash: { readonly value: "uberCash"; readonly needsCreditCard: false; readonly label: "Uber Cash"; }; readonly uberCard: { readonly value: "uberCard"; readonly needsCreditCard: true; readonly label: "Uber Card"; }; readonly boltApp: { readonly value: "boltApp"; readonly needsCreditCard: false; readonly label: "Bolt App"; }; readonly boltCash: { readonly value: "boltCash"; readonly needsCreditCard: false; readonly label: "Bolt Cash"; }; readonly boltCard: { readonly value: "boltCard"; readonly needsCreditCard: true; readonly label: "Bolt Card"; }; readonly mixed: { readonly value: "mixed"; readonly needsCreditCard: false; readonly label: "Mehrere Zahlungsarten"; }; }; export type KeckPaymentMethodKey = keyof typeof KeckPaymentMethod; export type KeckPaymentMethod = (typeof KeckPaymentMethod)[KeckPaymentMethodKey];