Commit Graph

83 Commits

Author SHA1 Message Date
Anatoly Cherkasov
ff13e2313d
PROX-295: add ewallet (#440)
* PROX-295: add crypto wallet
2019-05-15 13:44:12 +03:00
Anatoly Cherkasov
ef27dd7a0d
BJ-429: ThreeDsVerificaion -> ThreeDsVerification (#431) 2019-04-19 13:08:52 +03:00
Anatoly Cherkasov
1ca5bcd53f
BJ-429: add additional trx info (#430)
* BJ-429: add additional trx info
2019-04-16 17:55:27 +03:00
Sergei
e51512a536
CAPI-340 Invoice idempotency (#416)
* Add external_id to InvoiceParams, InvoiceWithTemplateParams, InvoicePaymentParams
* Add external_id to  Invoice and InvoicePayment structs
* Add invoice id to InvoiceParams and InvoiceWithTemplateParams
* Add payment id to InvoicePaymentParams
2019-04-02 18:38:22 +03:00
Артем
aab11dfa2d
DC-115: Partial capture permit (#407) 2019-02-22 11:05:25 +03:00
Артем
101572eb51
DC-113: Empty cvv (#406) 2019-02-19 12:07:27 +03:00
Evgeny Levenets
18abfb502e
DC-104: rename 'PayoutProviders' to 'WithdrawalProviders' (#403)
for consistency
2019-01-30 15:37:51 +03:00
Alexey
9914f719bf
DC-111: Add subagent to SystemAccount (#402) 2019-01-29 12:57:21 +03:00
Артем
fa8b44506d
DC-110: Partial capture (#401) 2019-01-28 13:52:37 +03:00
Evgeny Levenets
1c28959c1a
DC-104: add payout providers (#398) 2018-12-26 20:27:44 +03:00
Артем
de069ae8e6
DC-105: Wallet payout tool (#394) 2018-12-10 14:00:35 +03:00
Andrey Fadeev
192ba019f0
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
2018-10-15 15:49:08 +03:00
Alexey
e044dd7fd9
DC-102: Improve compatibility (#391) 2018-10-12 16:24:58 +03:00
Alexey
970089c2b3
DC-102: Add Bank object to domain (#388) 2018-10-11 11:50:58 +03:00
Evgeny Levenets
8235b6f6df
HG-392: add primitive fistful limits (#385) 2018-10-04 18:07:15 +03:00
Alexey
9dd2741a3c
DC-102: Add Residence to BankCardConditionDefinition (#384) 2018-10-04 12:30:40 +03:00
Alexey
1351a0ce70
CAPI-304: add metadata to bankcard (#381) 2018-09-27 17:27:52 +03:00
Alexey
f532ed0520
CAPI-304: Add additional fields to domainBankCard to handle binbase data (#380)
* Add additional fields to handle binbase data

* these fields should be optional

* reorder fields back

* renaming for clarity
2018-09-27 12:12:43 +03:00
Evgeny Levenets
2afe121230 DC-96: direct recurrents (via first payment) (#359) 2018-09-26 14:55:10 +03:00
Andrey Fadeev
9f238cee7a
HG-422 Party revision to various payment structures (#372)
* Try to add party_revision to recurrent payment tool
* Add party_revision to refund and adjustment
2018-09-17 16:18:37 +03:00
Anton Belyaev
ba0c901c52
HG-396: Payout tool related updates (#368)
* Add PayoutToolInfoChanged effect
* Discard redundant backward compatibility
2018-09-13 17:50:10 +03:00
Andrew Mayorov
4529702db5
Generalize the notion of InternationalBankAccount (#358)
* Drop local bank code from InternationalBankAccount
* Unify bank accounts + make it possible to modify them
2018-08-31 19:53:40 +03:00
Andrey Fadeev
abda90bd81
HG-250 Add fallback risk scoring to inspector config (#354) 2018-08-02 13:53:49 +03:00
Evgeny Levenets
dab5394c8c
fix legacy structures in config causing dominant crashing (#349)
* fix legacy structures in config causing dominant crashing

* add TODO
2018-07-18 15:18:13 +03:00
Andrey Fadeev
2593ffe260
HG-381 Add owner_id and shop_id to InvoicePaymentStarted event (#347) 2018-07-18 14:01:57 +03:00
Evgeny Levenets
36907b0e50
DC-83: add RBKWallet to party management (#325)
* DC-83: add RBKWallet to party management (#311)

* DC-83: new exceptions for wallets & contractors (#330)

* CDS-57: introduce identity storage service (#338)

* HOOK-86: Hooks for wallets (#337)

* HG-364 CDS-57 Rename indentity docs erlang namespace. (#339)

Renamig is caused by review rbkmoney/cds#55

* HG-364 CDS-57 Simplify cds ident protocol. Move mask functions to API (#340)

* HG-371: Introduce simplistic withdrawal processing (#333)

* HG-371: add cumulative limits (#341)

* add turnover limits to wallet service terms
* add some thoughts in form of TODOs

* Add rbkmoney to DigitalWalletProvider enum (#343)

* DC-92: add ability to compute terms for wallet (#344)
2018-07-17 17:32:10 +03:00
Evgeny Levenets
ec88305207
DC-84: add act preferences to contract (#317) (#329)
* DC-84: add act preferences to contract (#317)

* add act preferences to contract
* enrich calendar with first day of week
* use business schedule to generalize all schedules

* Add other preferences for reports (#331)

* Add other preferences for reports

* Add reference parameter

* Review fixes

* Review fixes

* Remove unused fields
2018-05-16 16:03:37 +03:00
Andrew Mayorov
5e54b264b5 HG-357: Introduce apple pay in domain (#320)
* HG-357: Introduce apple pay in domain (#318)

* HG-357: Remove deprecated constructs from domain config (#322)

* BJ-279: Tokenized data extraction api (#319)

* BJ-279: Tokenized data extraction api

* BJ-279: Review fixes

*  CDS-55: Move verification data from card data to session data (#326)

* CDS-55: fix CardSecurityCode (#327)

* Apple pay in merch stat (#332)

* Apple pay in merch stat

* Review fixes
2018-05-08 12:28:28 +03:00
Natalia Pulina
cdf69d5c85
HG-330: Introduce partial refunds (#291)
* HG-330: Introduce partial refunds and terms (#289)

* HG-332: InvoicePaymentRefund is enriched with cash (#290)

* HG-330:
- TimeSpan added;
- optional cash in InvoicePaymentRefundParams;
- ex InvoicePaymentAmountExceeded added.

* HG-330: TimeSpanSelector for eligibility_time

* HG-330: Add some comments, use InvoicePaymentMaximumAmountExceeded ex

* HG-330: InvoicePaymentAmountExceeded fixed

* HG-339: operation_amount -> CashFlowConstant (#300)

* HG-341: Introduce provision terms for partial refunds (#301)

* HOOK-76: Partial refunds for webhooks (#309)
2018-03-06 17:04:49 +03:00
Andrew Mayorov
3dd66accb3
DC-66: Introduce payout terms (#283)
* DC-66: Introduce payout terms (#269)
* DC-66: Generalize cash flow constants
* DC-78: add ability to disable scheduled payouts (#284)
* DC-76: add ability to calculate fees for payout (#285)
* HG-312: add payout method condition (#294)
* HG-312: change InvalidRequest to OperationNotPermitted (#295)
* DC-80: enlarge international entities (#297)
* PAYOUT-52: Nonresidents in payout events (#298)
* CAPI-251: add varset for payment institution terms computation (#302)
2018-02-26 15:14:59 +03:00
Petr Kozorezov
c3ea314f4f
HG-338: introduce new errors for universal mapping; remove obsolete proxies files (#293)
* HG-338: introduce new errors for universal mapping; remove obsolete proxies files

* apply review comments

* add error static to dynamic converting example

* apply review comments

* apply more review comments

* apply more review comments

* refactor a static representation for payment processing errors

* add namespaces

* apply more review comments

* apply more review comments

* apply more and more and more review comments
2018-02-15 15:55:50 +03:00
Andrew Mayorov
620cca5366
DC-69: Introduce digital wallet as a payment method (#268)
* HG-325: Introduce concept of rounding for CashVolumeShare (#279)
2018-01-24 16:14:35 +03:00
Evgeny Levenets
284cb1ad85
BA-43: Bring payment institutions on the table (#259)
DC-62: add payment institution (#254)
  * add payment institution
  * add PaymentInstitutionRealm to identify test or live one
  * bump build image for the best thrift compiler
  * add PaymentInstitutionRef to contract creation params
  * remove shop, contract and party proto entirely

DC-64: add discrete party revisioning (#258)
  * add discrete party revisioning
  * add special PartyCreated change to separate service interface and event payload

DC-64: make party revisioning in change instead of event (#261)

DC-71: add international legal entity and bank account (#270)

DC-75: add migration data to Globals (#277)

DC-75: add backwards compatibility to party events (#278)
  * add notes about party revisioning
2018-01-19 16:44:26 +03:00
Dmitry Manik
0abdda2e76
Epic: Subscriptions 2 (#250) 2017-11-22 13:21:20 +03:00
Evgeny Levenets
8271b2e389 DC-51: penetrate invoice cart into invoice template (#248) 2017-10-25 15:44:15 +03:00
Dmitry Manik
478235a1bd HG-231: Introduce subscriptions (#163) (#205) 2017-10-23 15:00:48 +03:00
Alexey Semenkov
49773b2cc3 HG-58: Allow to refund payment (#210)
* HG-227: Introduce basic payment refunds (#158)

* HG-229: Move moving state parts out (#193)

* MST-112: Add refund status in stat proto (#206)

* HOOK-34: Introduce refunds (#203)

* HG-229: Introduce refund terms (#200)

* HG-229: Make provision terms much more strict (#211)

* HG-262: Use yet unallocated tag for the redesigned holds terms (#219)
2017-09-12 12:36:42 +03:00
Alexey Semenkov
44afec3edc HG-237: Introduce hold payments (#209)
* HG-233: Support of holds added (#159)

* HG-236: InvalidOperation ex added (#165)

* HG-236: InvalidPartyStatus, InvalidShopStatus -> CapturePayment, CancelPayment (#167)

* MST-111: holds in mst (#181)

* HG-255: Selector for holds (#207)
2017-08-29 18:51:12 +03:00
Evgeny Levenets
07c5f5c6f7 PIMP-6: fix damsel to prepare for PIMP removal (#208) 2017-08-25 16:50:32 +03:00
Evgeny Levenets
74a89b78d3 CAPI-176: fix payment terminal routing (#198) 2017-08-17 14:53:40 +03:00
Alexey Semenkov
1519af6daa Terminal api (pimporter) BJ-177
add domain terminal service
add importer service
2017-08-11 12:01:10 +03:00
Evgeny Levenets
a282232e79 HG-232: add fatal risk score (#191) 2017-08-10 11:43:26 +03:00
Evgeny Levenets
8c432f7f76 HG-246: add better support for 54FL (#184)
* add metadata to Party
* add interface for PartyMeta modification
* add cart with lines to invoice
2017-08-03 13:48:31 +03:00
Anton Belyaev
2b2e351ed4 Introduce invoice templates (#166)
* Introduce invoice templates
* Fix Jenkinsfile
2017-07-26 13:32:38 +03:00
Alexey Semenkov
b665c89c83 HG-192: Introduce multiclaims (#131)
* DC-23: changed PartyManagement interface to claims (#122)

* DC-23: changed PartyManagement interface to work with claims as primary editing method

DC-25: changed PartyChangeset to match with new interface (DC-23)
Moved ShopLocation to Shop level

* added ContractExpiered status and creation timestamp

* changed contracts & shops IDs types from Int to String

* extracted ShopUpdate fields to ShopModification level

* added InvalidChangeset exception

* Claim effects added (v0.1)

* Claim effects v1.0

* Claim effects v1.1

added created_at in all party objects

* Added ShopProxyChanged effect produced by ProxyModification changeset

* added ClaimUpdated event and ClaimRevision property

* added revision check to AcceptClaim

* added revision to deny/revoke methods for uniformity

* added ShopContractChanged to make one-to-one relations beetween change & effect

* Category is back to ShopParams as optional field

* AcceptClaim can throw InvalidChangeset exception

* Added AnonymousEntity to fulfill contract creation requirements

* Renamed AninymousEntity to RegisteredUser

* Added PayoutToolType to distinguish test and live payout tools

* Removed payout tool type due to redundancy

* Added PayoutToolPrototype to incapsulate test payout tool params

* Walker2 API (#125)

* Walker 2 api
new Methods for 
CRUD operations fro Claims, Comments and history(Actions)
WALK-20

* rename to wc_deploy

* add deploy_epic_nexus to list

* fix make cmd

* fixed suspension naming

* elastico interface

get end search party methods
Ft/walk 27/elastico (#133)

* Syncronize walker and payment processing thrifts

* WALK-27: Bump to rbkmoney/image-build@efd28e5 (#138)

* DC-27: added timestamp and revision to claim related events

* DC-27: added updated timestamp to claim

Added timestamp to blocking/suspension statuses (party & shop) for same reason.

* DC-27: removed unnecessary timestamp from accepted status (#143)

* Added missed InvalidContractStatus exception (#144)

* Removed timestamp from ContractTermination changeset

rebased to newest master

* jenkins pr crutch

* update walker 2 interface

* fix signature

* replace strings

* add update and create date

* Event batching v0.1 (obvious one) (#160)

* HG-227: Publish formerly internal events (#161)

* HG-227: Streamline event payload definitions

* HG-227: Publish formerly internal events

* HG-227: Introduce session-level result

* HG-227: Start classifying operation failures

* HG-227: Differentiate between domain and payproc invoicing models

* HG-227: Strip domain models further

* HG-227: Make risk score, route and cash flow required

* HG-227: Give shop location back to proxies (#164)
2017-07-17 13:21:41 +03:00
Andrew Mayorov
874759043e HG-195: Introduce payment adjustments (#148)
* HG-195: Simplify create flow in payproc

* HG-195: Introduce payment adjustments

* HG-195: Disallow more than one pending adjustment

* HG-195: Add reason to the payment adjustment

* HG-195: Sprinkle over some comments

* HG-195: Include cash flow diff

* HG-196: Fix according to complaints
2017-06-15 19:24:35 +03:00
Evgeny Levenets
cffd00b4ca DC-40: added name and description to ContractTemplate and TermSetHierarchy (#147) 2017-05-24 12:41:15 +03:00
Pavel Popov
e8c5cc5556 MST-87: own invoice and payment models (#146)
* MST-87: Switch domain invoice and payment models to own model

* MST-87: Copy and paste domain models

* MST-87: PaymentSession -> PaymentSessionID

* MST-87: More linear invoice, Context -> base.Content
2017-05-23 18:14:41 +04:00
Andrew Mayorov
27bc11c3d3 HG-154: Fix inspector selector to use list of decision (#116) 2017-02-03 16:16:37 +03:00
Andrew Mayorov
61701d2290 Stuff a couple of hacks in (#113)
* HG-153: Provider transport options for proxies

* HG-151: Provide selector as a means to choose an inspector

* HG-151: Provide the cost range condition

* HG-138: Introduce party related conditions

* Revert "HG-153: Provider transport options for proxies"

This reverts commit e0a541bc18efcef30cafd735a38584ee0df8e08e.

* HG-138: Provide const predicate to ease w/ construction catch-all decisions
2017-02-01 13:38:33 +03:00