Interface PartyManagementSrv.Iface
- All Known Implementing Classes:
PartyManagementSrv.Client
- Enclosing class:
- PartyManagementSrv
public static interface PartyManagementSrv.Iface
-
Method Summary
Modifier and TypeMethodDescriptionvoidacceptClaim(String party_id, long id, int revision) voidvoidactivateShop(String party_id, String id) voidvoidcheckout(String party_id, PartyRevisionParam revision) computeContractTerms(String party_id, String contract_id, String timestamp, PartyRevisionParam party_revision, long domain_revision, ComputeContractTermsVarset varset) computeGlobals(long domain_revision, Varset varset) computePaymentInstitution(PaymentInstitutionRef ref, long domain_revision, Varset varset) computePaymentInstitutionTerms(PaymentInstitutionRef ref, Varset varset) computeProvider(ProviderRef provider_ref, long domain_revision, Varset varset) computeProviderTerminal(TerminalRef terminal_ref, long domain_revision, Varset varset) Вычислить данные терминала провайдера.computeProviderTerminalTerms(ProviderRef provider_ref, TerminalRef terminal_ref, long domain_revision, Varset varset) computeRoutingRuleset(RoutingRulesetRef ruleset_ref, long domain_revision, Varset varset) computeShopTerms(String party_id, String id, String timestamp, PartyRevisionParam party_revision, ComputeShopTermsVarset varset) voidcreate(String party_id, PartyParams params) createClaim(String party_id, List<PartyModification> changeset) voidgetAccountState(String party_id, long account_id) getContract(String party_id, String contract_id) getEvents(String party_id, EventRange range) getMetaData(String party_id, String ns) longgetRevision(String party_id) getShopAccount(String party_id, String shop_id) getShopContract(String party_id, String id) voidremoveMetaData(String party_id, String ns) voidrevokeClaim(String party_id, long id, int revision, String reason) voidsetMetaData(String party_id, String ns, Value data) voidvoidsuspendShop(String party_id, String id) voidvoidunblockShop(String party_id, String id, String reason) voidupdateClaim(String party_id, long id, int revision, List<PartyModification> changeset)
-
Method Details
-
create
- Throws:
PartyExistsorg.apache.thrift.TException
-
get
- Throws:
PartyNotFoundorg.apache.thrift.TException
-
getRevision
- Throws:
PartyNotFoundorg.apache.thrift.TException
-
checkout
Party checkout(String party_id, PartyRevisionParam revision) throws PartyNotFound, InvalidPartyRevision, org.apache.thrift.TException - Throws:
PartyNotFoundInvalidPartyRevisionorg.apache.thrift.TException
-
suspend
void suspend(String party_id) throws PartyNotFound, InvalidPartyStatus, org.apache.thrift.TException - Throws:
PartyNotFoundInvalidPartyStatusorg.apache.thrift.TException
-
activate
void activate(String party_id) throws PartyNotFound, InvalidPartyStatus, org.apache.thrift.TException - Throws:
PartyNotFoundInvalidPartyStatusorg.apache.thrift.TException
-
block
void block(String party_id, String reason) throws PartyNotFound, InvalidPartyStatus, org.apache.thrift.TException - Throws:
PartyNotFoundInvalidPartyStatusorg.apache.thrift.TException
-
unblock
void unblock(String party_id, String reason) throws PartyNotFound, InvalidPartyStatus, org.apache.thrift.TException - Throws:
PartyNotFoundInvalidPartyStatusorg.apache.thrift.TException
-
getStatus
- Throws:
PartyNotFoundorg.apache.thrift.TException
-
getMeta
- Throws:
PartyNotFoundorg.apache.thrift.TException
-
getMetaData
Value getMetaData(String party_id, String ns) throws PartyNotFound, PartyMetaNamespaceNotFound, org.apache.thrift.TException - Throws:
PartyNotFoundPartyMetaNamespaceNotFoundorg.apache.thrift.TException
-
setMetaData
void setMetaData(String party_id, String ns, Value data) throws PartyNotFound, org.apache.thrift.TException - Throws:
PartyNotFoundorg.apache.thrift.TException
-
removeMetaData
void removeMetaData(String party_id, String ns) throws PartyNotFound, PartyMetaNamespaceNotFound, org.apache.thrift.TException - Throws:
PartyNotFoundPartyMetaNamespaceNotFoundorg.apache.thrift.TException
-
getContract
Contract getContract(String party_id, String contract_id) throws PartyNotFound, ContractNotFound, org.apache.thrift.TException - Throws:
PartyNotFoundContractNotFoundorg.apache.thrift.TException
-
computeContractTerms
TermSet computeContractTerms(String party_id, String contract_id, String timestamp, PartyRevisionParam party_revision, long domain_revision, ComputeContractTermsVarset varset) throws PartyNotFound, PartyNotExistsYet, ContractNotFound, org.apache.thrift.TException - Throws:
PartyNotFoundPartyNotExistsYetContractNotFoundorg.apache.thrift.TException
-
getShop
Shop getShop(String party_id, String id) throws PartyNotFound, ShopNotFound, org.apache.thrift.TException - Throws:
PartyNotFoundShopNotFoundorg.apache.thrift.TException
-
getShopContract
ShopContract getShopContract(String party_id, String id) throws PartyNotFound, ShopNotFound, ContractNotFound, org.apache.thrift.TException - Throws:
PartyNotFoundShopNotFoundContractNotFoundorg.apache.thrift.TException
-
suspendShop
void suspendShop(String party_id, String id) throws PartyNotFound, ShopNotFound, InvalidShopStatus, org.apache.thrift.TException - Throws:
PartyNotFoundShopNotFoundInvalidShopStatusorg.apache.thrift.TException
-
activateShop
void activateShop(String party_id, String id) throws PartyNotFound, ShopNotFound, InvalidShopStatus, org.apache.thrift.TException - Throws:
PartyNotFoundShopNotFoundInvalidShopStatusorg.apache.thrift.TException
-
blockShop
void blockShop(String party_id, String id, String reason) throws PartyNotFound, ShopNotFound, InvalidShopStatus, org.apache.thrift.TException - Throws:
PartyNotFoundShopNotFoundInvalidShopStatusorg.apache.thrift.TException
-
unblockShop
void unblockShop(String party_id, String id, String reason) throws PartyNotFound, ShopNotFound, InvalidShopStatus, org.apache.thrift.TException - Throws:
PartyNotFoundShopNotFoundInvalidShopStatusorg.apache.thrift.TException
-
computeShopTerms
TermSet computeShopTerms(String party_id, String id, String timestamp, PartyRevisionParam party_revision, ComputeShopTermsVarset varset) throws PartyNotFound, PartyNotExistsYet, ShopNotFound, org.apache.thrift.TException - Throws:
PartyNotFoundPartyNotExistsYetShopNotFoundorg.apache.thrift.TException
-
createClaim
Claim createClaim(String party_id, List<PartyModification> changeset) throws PartyNotFound, InvalidPartyStatus, ChangesetConflict, InvalidChangeset, InvalidRequest, org.apache.thrift.TException - Throws:
PartyNotFoundInvalidPartyStatusChangesetConflictInvalidChangesetInvalidRequestorg.apache.thrift.TException
-
getClaim
Claim getClaim(String party_id, long id) throws PartyNotFound, ClaimNotFound, org.apache.thrift.TException - Throws:
PartyNotFoundClaimNotFoundorg.apache.thrift.TException
-
getClaims
- Throws:
PartyNotFoundorg.apache.thrift.TException
-
acceptClaim
void acceptClaim(String party_id, long id, int revision) throws PartyNotFound, ClaimNotFound, InvalidClaimStatus, InvalidClaimRevision, InvalidChangeset, org.apache.thrift.TException - Throws:
PartyNotFoundClaimNotFoundInvalidClaimStatusInvalidClaimRevisionInvalidChangesetorg.apache.thrift.TException
-
updateClaim
void updateClaim(String party_id, long id, int revision, List<PartyModification> changeset) throws PartyNotFound, InvalidPartyStatus, ClaimNotFound, InvalidClaimStatus, InvalidClaimRevision, ChangesetConflict, InvalidChangeset, InvalidRequest, org.apache.thrift.TException - Throws:
PartyNotFoundInvalidPartyStatusClaimNotFoundInvalidClaimStatusInvalidClaimRevisionChangesetConflictInvalidChangesetInvalidRequestorg.apache.thrift.TException
-
denyClaim
void denyClaim(String party_id, long id, int revision, String reason) throws PartyNotFound, ClaimNotFound, InvalidClaimStatus, InvalidClaimRevision, org.apache.thrift.TException - Throws:
PartyNotFoundClaimNotFoundInvalidClaimStatusInvalidClaimRevisionorg.apache.thrift.TException
-
revokeClaim
void revokeClaim(String party_id, long id, int revision, String reason) throws PartyNotFound, InvalidPartyStatus, ClaimNotFound, InvalidClaimStatus, InvalidClaimRevision, org.apache.thrift.TException - Throws:
PartyNotFoundInvalidPartyStatusClaimNotFoundInvalidClaimStatusInvalidClaimRevisionorg.apache.thrift.TException
-
getEvents
List<Event> getEvents(String party_id, EventRange range) throws PartyNotFound, EventNotFound, InvalidRequest, org.apache.thrift.TException - Throws:
PartyNotFoundEventNotFoundInvalidRequestorg.apache.thrift.TException
-
getShopAccount
ShopAccount getShopAccount(String party_id, String shop_id) throws PartyNotFound, ShopNotFound, ShopAccountNotFound, org.apache.thrift.TException - Throws:
PartyNotFoundShopNotFoundShopAccountNotFoundorg.apache.thrift.TException
-
getAccountState
AccountState getAccountState(String party_id, long account_id) throws PartyNotFound, AccountNotFound, org.apache.thrift.TException - Throws:
PartyNotFoundAccountNotFoundorg.apache.thrift.TException
-
computeProvider
Provider computeProvider(ProviderRef provider_ref, long domain_revision, Varset varset) throws ProviderNotFound, org.apache.thrift.TException - Throws:
ProviderNotFoundorg.apache.thrift.TException
-
computeProviderTerminalTerms
ProvisionTermSet computeProviderTerminalTerms(ProviderRef provider_ref, TerminalRef terminal_ref, long domain_revision, Varset varset) throws ProviderNotFound, TerminalNotFound, ProvisionTermSetUndefined, org.apache.thrift.TException - Throws:
ProviderNotFoundTerminalNotFoundProvisionTermSetUndefinedorg.apache.thrift.TException
-
computeProviderTerminal
ProviderTerminal computeProviderTerminal(TerminalRef terminal_ref, long domain_revision, Varset varset) throws TerminalNotFound, org.apache.thrift.TException Вычислить данные терминала провайдера. Аргумент `varset` может быть неопределён, в этом случае расчёт результрующих provision terms не производится, и в ответе они будут отсутствовать.- Parameters:
terminal_ref-domain_revision-varset-- Throws:
TerminalNotFoundorg.apache.thrift.TException
-
computeGlobals
Globals computeGlobals(long domain_revision, Varset varset) throws GlobalsNotFound, org.apache.thrift.TException - Throws:
GlobalsNotFoundorg.apache.thrift.TException
-
computeRoutingRuleset
RoutingRuleset computeRoutingRuleset(RoutingRulesetRef ruleset_ref, long domain_revision, Varset varset) throws RuleSetNotFound, org.apache.thrift.TException - Throws:
RuleSetNotFoundorg.apache.thrift.TException
-
computePaymentInstitutionTerms
TermSet computePaymentInstitutionTerms(PaymentInstitutionRef ref, Varset varset) throws PartyNotFound, PaymentInstitutionNotFound, org.apache.thrift.TException - Throws:
PartyNotFoundPaymentInstitutionNotFoundorg.apache.thrift.TException
-
computePaymentInstitution
PaymentInstitution computePaymentInstitution(PaymentInstitutionRef ref, long domain_revision, Varset varset) throws PartyNotFound, PaymentInstitutionNotFound, org.apache.thrift.TException - Throws:
PartyNotFoundPaymentInstitutionNotFoundorg.apache.thrift.TException
-