From 0e2814a1434c5681e7c891e39b0905681c0c7a22 Mon Sep 17 00:00:00 2001 From: Oleg Gorbik Date: Wed, 15 Apr 2026 15:28:32 +0300 Subject: [PATCH] Add new error code 1206 --- .github/workflows/maven.yml | 5 +++-- README.md | 4 ++-- pom.xml | 2 +- .../gateway/model/response/constants/ErrorCode.java | 2 ++ 4 files changed, 8 insertions(+), 5 deletions(-) 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")