diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-05-12 15:44:48 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-05-12 15:44:48 +0530 |
commit | 67dd0eb06e04466ca01a03955ff8f75d40429c79 (patch) | |
tree | 5b4fe00a91d41a5cb758c4983575ec65e4331f76 /src/types/dbTypes.ts | |
parent | 6206b418ff88a238762a18e7b6eeaceafc5de294 (diff) | |
download | wallet-core-67dd0eb06e04466ca01a03955ff8f75d40429c79.tar.xz |
new transactions API: purchases and refunds
Diffstat (limited to 'src/types/dbTypes.ts')
-rw-r--r-- | src/types/dbTypes.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/types/dbTypes.ts b/src/types/dbTypes.ts index 07c59d4d3..eae39fff3 100644 --- a/src/types/dbTypes.ts +++ b/src/types/dbTypes.ts @@ -43,6 +43,7 @@ import { ReserveRecoupTransaction, } from "./ReserveTransaction"; import { Timestamp, Duration, getTimestampNow } from "../util/time"; +import { PayCoinSelection } from "../operations/pay"; export enum ReserveRecordStatus { /** @@ -1133,6 +1134,7 @@ export const enum RefundReason { } export interface RefundGroupInfo { + refundGroupId: string; timestampQueried: Timestamp; reason: RefundReason; } @@ -1222,6 +1224,8 @@ export interface PurchaseRecord { */ payReq: PayReq; + payCoinSelection: PayCoinSelection; + /** * Timestamp of the first time that sending a payment to the merchant * for this purchase was successful. |