Skip to content

Commit

Permalink
Feature/1179 create settlement model api (#175)
Browse files Browse the repository at this point in the history
* 1179-Create SettlementModel API

Added new enums for :
- SettlementDelay
- SettlementGranularity
- SettlementInterchange

* 1179-Create SettlementModel API

Bumped up the version of the service to 9.1.0
  • Loading branch information
lazolalucas authored Feb 7, 2020
1 parent f5acac5 commit 6c84b9a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mojaloop/central-services-shared",
"version": "8.8.3",
"version": "9.1.0",
"description": "Shared code for central services",
"main": "src/index.js",
"scripts": {
Expand Down
18 changes: 17 additions & 1 deletion src/enums/settlements.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
* ModusBox
- Georgi Georgiev <georgi.georgiev@modusbox.com>
- Lazola Lucas <lazola.lucas@modusbox.com>
--------------
******/

Expand All @@ -28,7 +29,22 @@ const SettlementWindowState = {
PROCESSING: 'PROCESSING',
CLOSED: 'CLOSED'
}
const SettlementDelay = {
IMMEDIATE: 1,
DEFERRED: 2
}
const SettlementGranularity = {
GROSS: 1,
NET: 2
}
const SettlementInterchange = {
BILATERAL: 1,
MULTILATERAL: 2
}

module.exports = {
SettlementWindowState
SettlementWindowState,
SettlementDelay,
SettlementGranularity,
SettlementInterchange
}

0 comments on commit 6c84b9a

Please sign in to comment.