From f780cf7c2e8697f544d60bb492de24e1676a8559 Mon Sep 17 00:00:00 2001 From: Andrey Fadeev Date: Wed, 22 Aug 2018 00:19:27 +0300 Subject: [PATCH] HG-386 Remove wallet management methods from party management (#356) --- proto/payment_processing.thrift | 26 +++++++++----------------- 1 file changed, 9 insertions(+), 17 deletions(-) diff --git a/proto/payment_processing.thrift b/proto/payment_processing.thrift index 8a772e6..33b503f 100644 --- a/proto/payment_processing.thrift +++ b/proto/payment_processing.thrift @@ -1721,23 +1721,15 @@ service PartyManagement { /* Wallet */ - domain.Wallet GetWallet (1: UserInfo user, 2: PartyID party_id, 3: WalletID id) - throws (1: InvalidUser ex1, 2: PartyNotFound ex2, 3: WalletNotFound ex3) - - void SuspendWallet (1: UserInfo user, 2: PartyID party_id, 3: WalletID id) - throws (1: InvalidUser ex1, 2: PartyNotFound ex2, 3: WalletNotFound ex3, 4: InvalidWalletStatus ex4) - - void ActivateWallet (1: UserInfo user, 2: PartyID party_id, 3: WalletID id) - throws (1: InvalidUser ex1, 2: PartyNotFound ex2, 3: WalletNotFound ex3, 4: InvalidWalletStatus ex4) - - void BlockWallet (1: UserInfo user, 2: PartyID party_id, 3: WalletID id, 4: string reason) - throws (1: InvalidUser ex1, 2: PartyNotFound ex2, 3: WalletNotFound ex3, 4: InvalidWalletStatus ex4) - - void UnblockWallet (1: UserInfo user, 2: PartyID party_id, 3: WalletID id, 4: string reason) - throws (1: InvalidUser ex1, 2: PartyNotFound ex2, 3: WalletNotFound ex3, 4: InvalidWalletStatus ex4) - - domain.TermSet ComputeWalletTerms (1: UserInfo user, 2: PartyID party_id, 3: WalletID id, 4: base.Timestamp timestamp) - throws (1: InvalidUser ex1, 2: PartyNotFound ex2, 3: PartyNotExistsYet ex3, 4: WalletNotFound ex4) + domain.TermSet ComputeWalletTerms ( + 1: UserInfo user, + 2: PartyID party_id, + 3: ContractID contract_id, + 4: WalletID wallet_id, + 5: domain.CurrencyRef currency, + 6: base.Timestamp timestamp + ) + throws (1: InvalidUser ex1, 2: PartyNotFound ex2, 3: PartyNotExistsYet ex3) /* Claim */