diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-12-11 17:46:06 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-12-11 17:46:06 +0100 |
commit | c87a0d55145f140b1f104437ecdd1a1ca1040186 (patch) | |
tree | a7ffa0c89520a573360d6fd4a65bf7727888a1c4 /src/types.ts | |
parent | 2f441cd1b9e069a0976750b075d36de1f051a0e3 (diff) | |
download | wallet-core-c87a0d55145f140b1f104437ecdd1a1ca1040186.tar.xz |
show next url to go after tipping
Diffstat (limited to 'src/types.ts')
-rw-r--r-- | src/types.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/types.ts b/src/types.ts index ec4929c33..69ed64446 100644 --- a/src/types.ts +++ b/src/types.ts @@ -1943,6 +1943,11 @@ export interface TipRecord { * Identifier for the tip, chosen by the merchant. */ tipId: string; + + /** + * URL to go to once the tip has been accepted. + */ + nextUrl: string; } @@ -2007,6 +2012,9 @@ export class GetTipPlanchetsRequest { @Checkable.String exchangeUrl: string; + @Checkable.String + nextUrl: string; + static checked: (obj: any) => GetTipPlanchetsRequest; } @@ -2027,5 +2035,8 @@ export class TipToken { @Checkable.Value(AmountJson) amount: AmountJson; + @Checkable.String + next_url: string; + static checked: (obj: any) => TipToken; } |