{((): VNode => {
if (!details.account.isKnown) {
return (
-
Payment provider's account
-
{details.account.targetPath}
);
}
switch (details.account.targetType) {
case "iban": {
const name =
details.account.params["receiver-name"];
return (
-
Payment provider's account number
-
{details.account.iban}
{name && (
-
Payment provider's name
-
{name}
)}
);
}
case "x-taler-bank": {
const name =
details.account.params["receiver-name"];
return (
-
Payment provider's account bank
hostname
-
{details.account.host}
-
Payment provider's account id
-
{details.account.account}
{name && (
-
Payment provider's name
-
{name}
)}
);
}
case "bitcoin": {
const name =
details.account.params["receiver-name"];
return (
-
Payment provider's account address
-
{details.account.address}
{name && (
-
Payment provider's name
-
{name}
)}
);
}
default: {
assertUnreachable(details.account);
}
}
})()}
-
Amount
-
{Amounts.isZero(wireFee) ? undefined : (
-
Cost
-
)}