UNPKG

@adyen/adyen-platform-experience-web

Version:

![Platform Experience header](https://github.com/Adyen/adyen-platform-experience-web/assets/7926613/18094965-9e01-450e-8dc9-ea84e6b22c2b)

10 lines (9 loc) 489 B
import { parsePaymentMethodType as o } from "../../external/TransactionsOverview/components/utils.js"; const p = (e) => e != null && e.paymentMethod ? e.paymentMethod.type : e != null && e.bankAccount ? "bankTransfer" : null, y = (e) => { var n; return e != null && e.paymentMethod ? o(e.paymentMethod, "detail") : (n = e == null ? void 0 : e.bankAccount) == null ? void 0 : n.accountNumberLastFourDigits; }; export { y as getDisplayablePaymentMethod, p as getPaymentMethodType };