* use specific exceptions instead of InvalidRequest
* remove unused stuff
* make payout_tool truly optional
* adapt to new exceptions and add PayoutScheduleRef check
* use hg_domain:exist instead of get
* add payout tool currency check
* rbkmoney/damsel@83d6c99
* HG-339: Introduce partial refunds (#176)
* HG-339: Enrich refund with payment cash for old events (#177)
* HG-341: Introduce provision and service terms for partial refunds (#180)
* HG-348: Make refund id using sequences service (#186)
* HG-348: Make refund id using sequences service
* HG-348: Bump to rbkmoney/scoper@cbe3abc
* HG-339: rebar.config fixed
* HG-339: seq_proto -> hg_proto.app.src (#188)
* HG-339: Cant start simultaneous partial refunds (#189)
* HG-339: Bump rbkmoney/damsel@349d26c, Bump rbkmoney/dominant@007326a
* HG-312: add payout terms support (#174)
* add payout terms support
* add payout method condition support
* clean up hg_party a little bit
* separate payment institution stuff
* CAPI-251: add varset support to payment institution terms computation (#178)
* add varset support to payment institution terms computation
* add more science to pmnt_institution test
* HG-343: add marshaling for old models (#183)
* bump damsel and dominant
* remove policy from payout service terms
* rename SheduleRef to PayoutSheduleRef to match damsel naming
* add marshaling for old models: international bank account, international legal entity, shop
* HG-343: fix old contract unmarshalling (#184)
* HG-343: fix old contract params unmarshalling (#184)
* linter fix
* HG-343: add support for merchant payout account (#185)
* add support for merchant payout account
* fix exceptions for ComputeTerms methods
* HG-314: Let it learn new payment tool and storage schema
* HG-314: Add forgotten payment tool condition assertions
* HG-314: Increase healthcheck timeouts just for the fun of it
* HG-326: Introduce new rounding rule for cashflow volume (#169)
* BA-52: Bump to master rbkmoney/damsel@620cca5
* BA-52: Bump to master rbkmoney/dominant@68d75c0
* use scoper lib for log meta scoping
* remove woody_event_handler behaviour from hg_client_api (unused)
* update tests config for scoper
* bump up dmt_client (now with scoper support)
* HG-294: Refactor tests a bit
* HG-294: Fix obsolete callback handling
* HG-294: Test obsolete callback in a hold payment
* HG-294: Allow to run single suite w/ Make target
* HG-264: Adapt to the modified protocol
* HG-264: Generalize hg_machine interfaces a little
* HG-264: Hack up GetPayment interface for proxies
* HG-264: Bump to rbkmoney/damsel@23b50e4
* HG-260: add ability to retrieve terms for contract & shop (#127)
* add ability to retrieve terms for contract & shop
* switch to epic damsel rbkmoney/damsel@caa8dcb
* fix selector reducer
First problem was in selector reducer. In case of {decisions, [D1, D2, ..., Dn]}, If D1 reduce to <some_non_const_condition, some_value> and D2 reduce to <const_bool_condition, some_value>, then reducer generate invalid thrift structure like {decisions, [ReducedD1, {_true_, <some_value>}, ..., ReducedDn]}.
Second problem was in condition solver: party condition evals to false in case of missing shop in var_set, even if no shop condition specified.
* HG-276: ability to retrieve terms of contract for invoice (#129)
* BA-36: Bump to rbkmoney/damsel@release/erlang/master
* HG-237: Provide msgpack marshalling for invoice templates
* HG-237: Shut dialyzer whining up with a couple of hotfixes
* HG-237: Try to tame these infernal timeouts