import { parsePaymentMethodType as t } from "../../external/TransactionsOverview/components/utils.js";
const o = (e) => e?.paymentMethod ? e.paymentMethod.type : e?.bankAccount ? "bankTransfer" : null, r = (e) => e?.paymentMethod ? t(e.paymentMethod, "detail") : e?.bankAccount?.accountNumberLastFourDigits;
export {
  r as getDisplayablePaymentMethod,
  o as getPaymentMethodType
};
