mirror of
https://github.com/valitydev/damsel.git
synced 2024-11-06 17:55:23 +00:00
FF-7 Add more wallet accounts to cash flow and more vars to terms (#389)
* Add more wallet accounts to cash flow * Add varset to terms retrival method argruments * Remove obsolete wallet cash_flow names
This commit is contained in:
parent
e044dd7fd9
commit
192ba019f0
@ -1490,8 +1490,10 @@ enum ExternalCashFlowAccount {
|
||||
}
|
||||
|
||||
enum WalletCashFlowAccount {
|
||||
settlement
|
||||
payout
|
||||
sender_source
|
||||
sender_settlement
|
||||
receiver_settlement
|
||||
receiver_destination
|
||||
}
|
||||
|
||||
enum CashFlowConstant {
|
||||
|
@ -1215,6 +1215,7 @@ struct Varset {
|
||||
3: optional domain.Cash amount
|
||||
4: optional domain.PaymentMethodRef payment_method
|
||||
5: optional domain.PayoutMethodRef payout_method
|
||||
6: optional domain.WalletID wallet_id
|
||||
}
|
||||
|
||||
struct PartyParams {
|
||||
@ -1758,6 +1759,18 @@ service PartyManagement {
|
||||
|
||||
/* Wallet */
|
||||
|
||||
// temporary method for transfer period
|
||||
// do not use
|
||||
domain.TermSet ComputeWalletTermsNew (
|
||||
1: UserInfo user,
|
||||
2: PartyID party_id,
|
||||
3: ContractID contract_id,
|
||||
4: base.Timestamp timestamp
|
||||
5: Varset varset
|
||||
)
|
||||
throws (1: InvalidUser ex1, 2: PartyNotFound ex2, 3: PartyNotExistsYet ex3)
|
||||
|
||||
// deprecated
|
||||
domain.TermSet ComputeWalletTerms (
|
||||
1: UserInfo user,
|
||||
2: PartyID party_id,
|
||||
|
Loading…
Reference in New Issue
Block a user