Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions proto/payment_processing.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -1581,6 +1581,40 @@ exception TermSetHierarchyNotFound {}
service PartyManagement {
/* Accounts */

/**
* Функции `*ForLatestVersion` повторяют логику аналогичных функций без
* этого суффикса, а в качестве номера версии неявно используют последнюю на
* данный момент.
*/
domain.ShopAccount GetShopAccountForLatestVersion (
1: domain.PartyConfigRef party_ref,
2: domain.ShopConfigRef shop_ref
)
throws (
1: PartyNotFound ex1,
2: ShopNotFound ex2,
3: ShopAccountNotFound ex3
)

domain.WalletAccount GetWalletAccountForLatestVersion (
1: domain.PartyConfigRef party_ref,
2: domain.WalletConfigRef wallet_ref
)
throws (
1: PartyNotFound ex1,
2: WalletNotFound ex2,
3: WalletAccountNotFound ex3
)

AccountState GetAccountStateForLatestVersion (
1: domain.PartyConfigRef party_ref,
2: domain.AccountID account_id
)
throws (
1: PartyNotFound ex1,
2: AccountNotFound ex2
)

/**
* В функциях `GetShopAccount`, `GetWalletAccount` и
* `GetAccountState` `party_ref` необходим для проверки
Expand Down
Loading