diff --git a/CHANGELOG.md b/CHANGELOG.md index e74df5a..ead8482 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +# 0.2.5 + +- Added: new endpoint (settle charge) +- Added: new endpoint (settle carnet parcel) + # 0.2.4 - Added: new endpoint (create charge balance sheet) diff --git a/README.md b/README.md index 2fb3f3b..258126d 100755 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ java 7.0 and 8.0 **Via gradle:** ```gradle -compile 'br.com.gerencianet.gnsdk:gn-api-sdk-java:0.2.4' +compile 'br.com.gerencianet.gnsdk:gn-api-sdk-java:0.2.5' ``` **Via maven:** @@ -31,7 +31,7 @@ compile 'br.com.gerencianet.gnsdk:gn-api-sdk-java:0.2.4'     br.com.gerencianet.gnsdk     gn-api-sdk-java -    0.2.4 +    0.2.5 ``` diff --git a/pom.xml b/pom.xml index 621139a..43dede8 100755 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 br.com.gerencianet.gnsdk gn-api-sdk-java - 0.2.4 + 0.2.5 GN API SDK JAVA Java SDK for integrating with Gerencianet API diff --git a/src/main/java/br/com/gerencianet/gnsdk/Config.java b/src/main/java/br/com/gerencianet/gnsdk/Config.java index 1a8bf08..9581acd 100755 --- a/src/main/java/br/com/gerencianet/gnsdk/Config.java +++ b/src/main/java/br/com/gerencianet/gnsdk/Config.java @@ -8,7 +8,7 @@ * */ public class Config { - private final static String version = "0.2.4"; + private final static String version = "0.2.5"; private JSONObject conf = new JSONObject(); private JSONObject endpoints = new JSONObject(); private JSONObject urls = new JSONObject(); diff --git a/src/main/resources/config.json b/src/main/resources/config.json index 12e5455..1834ce1 100755 --- a/src/main/resources/config.json +++ b/src/main/resources/config.json @@ -139,6 +139,14 @@ "createChargeBalanceSheet": { "route": "/v1/charge/:id/balance-sheet", "method": "post" - } + }, + "settleCharge": { + "route": "/v1/charge/:id/settle", + "method": "PUT" + }, + "settleCarnetParcel": { + "route": "/v1/carnet/:id/parcel/:parcel/settle", + "method": "PUT" + } } } \ No newline at end of file