diff options
| author | Florian Dold <florian@dold.me> | 2023-01-04 15:44:29 +0100 |
|---|---|---|
| committer | Florian Dold <florian@dold.me> | 2023-01-04 15:44:36 +0100 |
| commit | f4e1e8e6e7ca6dcb9ac7d1c5f3b64130e99e325b (patch) | |
| tree | 0564038fa7fbe074596b4de5104146b165457ca8 /packages/taler-wallet-core/src/operations/pay-merchant.ts | |
| parent | 24cac493dded00ef40e0e30a0d2263e4f35c3e29 (diff) | |
-minor insufficient balance tweaks
Diffstat (limited to 'packages/taler-wallet-core/src/operations/pay-merchant.ts')
| -rw-r--r-- | packages/taler-wallet-core/src/operations/pay-merchant.ts | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/packages/taler-wallet-core/src/operations/pay-merchant.ts b/packages/taler-wallet-core/src/operations/pay-merchant.ts index 49b9a6559..05da0a020 100644 --- a/packages/taler-wallet-core/src/operations/pay-merchant.ts +++ b/packages/taler-wallet-core/src/operations/pay-merchant.ts @@ -875,51 +875,6 @@ async function unblockBackup( }); } -/** - * Detailed reason for why the wallet's balance is insufficient. - */ -export interface PayMerchantInsufficientBalanceDetails { - /** - * Amount requested by the merchant. - */ - amountRequested: AmountJson; - - /** - * Balance of type "available" (see balance.ts for definition). - */ - balanceAvailable: AmountJson; - - /** - * Balance of type "material" (see balance.ts for definition). - */ - balanceMaterial: AmountJson; - - /** - * Balance of type "age-acceptable" (see balance.ts for definition). - */ - balanceAgeAcceptable: AmountJson; - - /** - * Balance of type "merchant-acceptable" (see balance.ts for definition). - */ - balanceMechantAcceptable: AmountJson; - - /** - * Balance of type "merchant-wireable" (see balance.ts for definition). - */ - balanceMechantWireable: AmountJson; - - /** - * If the payment would succeed without fees, - * this field contains an estimate of the amount that would additionally - * be required to cover the fees. - * - * It is not possible to give an exact value here, since it depends - * on the coin selection for the amount that would be additionally withdrawn. - */ - feeGapEstimate: AmountJson -} - export interface SelectPayCoinRequestNg { exchanges: AllowedExchangeInfo[]; auditors: AllowedAuditorInfo[]; |
