* 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
* HG-173: changed party interface to claims (#79)
* DC-45: implemented dirty version of event batching (#92)
* DC-45: implemented dirty version of event batching
* DC-45: Make invoice machines emit changes within single event
* HG-229: Embrace new events hierarchy (#94)
* HG-229: Bump to rbkmoney/damsel@7bb67fc
* HG-229: Embrace new events hierarchy
* HG-229: Fix long time broken typespecs
* HG-229: Employ session results + further decouple sessions from payment
* HG-229: Better classify payment errors
* HG-229: Implement model splitting
* HG-229: Stuff location with something meaningful
* HG-229: Overcome a couple of rebase related issues
* HG-229: Drop event filtering facilities altogether
* HG-229: Make result more explicit
* HG-229: Lessen verbosity on cleaning up
* HG-192: Handle missing shop properly (#95)
* HG-173: fixed some shop-related asserts (#97)
* HG-219: Bump to upstream rbkmoney/damsel@b665c89
* HG-213: Log public events for invoice and invoice payment (#89)
* HG-213: Postreview refactoring
* HG-213: Clause should be on new line
* HG-213: get_partial_remainders moved to hg_cashflow
* HG-213: appeal to accounter removed
* HG-213: log all events in hg_invoice
* HG-213: spec for get_partial_remainders fixed
* HG-213: existing macros are used
* HG-213: do not handle amounts with different currencies
* HG-213: partial remainders added to invoice_payment_status_changed event
* HG-213: tuple for account type converted to string
* HG-213: code style fixed
* HG-213: spec get_partial_remainders fixed
* HG-213: amount and currency added to all payment events
* HG-213: use separator . for elastic
* HG-213: code formatting
* HG-213: use try_get_payment_session in get_log_params
* HG-213: Code refactoring
* HG-213: Code refactoring
* HG-213: Contract for get_log_params func changed
* HG-190: Cut down on extraneous mg calls a little
* HG-190: Switch to rbkmoney/damsel@4018c41
* HG-190: Abuse persistent timers in the invoice machine
* HG-190: Drop merchant proxy logic altogether
* HG-190: Add one more test on invoice timings
* HG-190: Fix confusing timer management
* HG-190: Oops
* HG-190: Switch to damsel upstream, bump to rbkmoney/machinegun@a5a8653
* HG-190: Bump to rbkmoney/machinegun@707c2f8