diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 84a0918..28d1069 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -10,10 +10,11 @@ jobs: java: [ 11, 17, 21, 25 ] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup java - uses: actions/setup-java@v1 + uses: actions/setup-java@v5 with: + distribution: corretto java-version: ${{ matrix.java }} - name: Build with Maven diff --git a/README.md b/README.md index 7c4f253..37d43aa 100644 --- a/README.md +++ b/README.md @@ -12,14 +12,14 @@ This library provide ability to make requests to Transact Pro Gateway API v3. com.github.transactpro gateway - 2.0.2 + 2.0.3 ``` #### Gradle ```groovy -implementation 'com.github.transactpro:gateway:2.0.2' +implementation 'com.github.transactpro:gateway:2.0.3' ``` ## Documentation diff --git a/pom.xml b/pom.xml index 13da5f0..93246aa 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.github.transactpro gateway - 2.0.2 + 2.0.3 Transact Pro Gateway v3 Java client library A library that provide ability to make requests to Transact Pro Gateway API v3. diff --git a/src/main/java/com/github/transactpro/gateway/model/response/constants/ErrorCode.java b/src/main/java/com/github/transactpro/gateway/model/response/constants/ErrorCode.java index fbeff56..6133c72 100644 --- a/src/main/java/com/github/transactpro/gateway/model/response/constants/ErrorCode.java +++ b/src/main/java/com/github/transactpro/gateway/model/response/constants/ErrorCode.java @@ -96,6 +96,8 @@ public enum ErrorCode { EEC_TERMINAL_NOT_SUPPORTING_MOTO(1204), @SerializedName("1205") EEC_TERMINAL_NOT_SUPPORTING_RECURRENTS(1205), + @SerializedName("1206") + EEC_TERMINAL_LOCKED(1206), @SerializedName("1301") EEC_DECLINED_BY_ACQUIRER(1301), @SerializedName("1302")