diff options
author | Florian Dold <florian@dold.me> | 2024-03-05 01:55:21 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2024-03-05 01:55:21 +0100 |
commit | 2dd1bbebcaed35308105a8470e1aefb9f6f19900 (patch) | |
tree | 143a613f6c2d09b0a86ad16985a1b2637dbfe76f /packages/taler-util/src | |
parent | a98fe4b00d499b1fc2b9df6a21991e3449853868 (diff) | |
download | wallet-core-2dd1bbebcaed35308105a8470e1aefb9f6f19900.tar.gz wallet-core-2dd1bbebcaed35308105a8470e1aefb9f6f19900.tar.bz2 wallet-core-2dd1bbebcaed35308105a8470e1aefb9f6f19900.zip |
wallet-core: use state instead of yet another flag
Diffstat (limited to 'packages/taler-util/src')
-rw-r--r-- | packages/taler-util/src/transactions-types.ts | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/packages/taler-util/src/transactions-types.ts b/packages/taler-util/src/transactions-types.ts index 4754603e6..c5d838809 100644 --- a/packages/taler-util/src/transactions-types.ts +++ b/packages/taler-util/src/transactions-types.ts @@ -24,29 +24,26 @@ /** * Imports. */ -import { TalerPreciseTimestamp, TalerProtocolTimestamp } from "./time.js"; -import { - AmountString, - Product, - InternationalizedString, - MerchantInfo, - codecForInternationalizedString, - codecForMerchantInfo, - codecForProduct, - Location, -} from "./taler-types.js"; import { Codec, buildCodecForObject, - codecOptional, - codecForString, - codecForList, codecForAny, codecForBoolean, - codecForEither, codecForConstString, + codecForEither, + codecForList, + codecForString, + codecOptional, } from "./codec.js"; import { + AmountString, + InternationalizedString, + MerchantInfo, + codecForInternationalizedString, + codecForMerchantInfo, +} from "./taler-types.js"; +import { TalerPreciseTimestamp, TalerProtocolTimestamp } from "./time.js"; +import { RefreshReason, ScopeInfo, TalerErrorDetail, @@ -148,6 +145,7 @@ export enum TransactionMinorState { Proposed = "proposed", RefundAvailable = "refund-available", AcceptRefund = "accept-refund", + PaidByOther = "paid-by-other", } export enum TransactionAction { |