From 6aea3da371a0fe5df7ab494890a7f87ddd525342 Mon Sep 17 00:00:00 2001 From: Mateusz Kamola Date: Mon, 16 Sep 2024 09:43:55 +0200 Subject: [PATCH] Add new dispute status chargeback_prevented --- README.md | 2 +- build.gradle | 4 ++-- src/main/java/com/shift4/enums/DisputeStatus.java | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e7055cb..9daefdd 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ To do this you will need to add this configuration to your `pom.xml`: com.shift4 shift4-java - 2.7.0 + 2.8.0 ``` diff --git a/build.gradle b/build.gradle index b9c34be..be6d35f 100644 --- a/build.gradle +++ b/build.gradle @@ -5,7 +5,7 @@ plugins { } group = "com.shift4" -version = "2.7.0" +version = "2.8.0" archivesBaseName = "shift4-java" repositories { @@ -117,4 +117,4 @@ if (findProperty("signingKey") != null) { repositories { mavenCentral() -} \ No newline at end of file +} diff --git a/src/main/java/com/shift4/enums/DisputeStatus.java b/src/main/java/com/shift4/enums/DisputeStatus.java index 993cf7e..91fcfd4 100644 --- a/src/main/java/com/shift4/enums/DisputeStatus.java +++ b/src/main/java/com/shift4/enums/DisputeStatus.java @@ -13,6 +13,7 @@ public enum DisputeStatus { CHARGEBACK_RESPONSE_UNDER_REVIEW("chargeback_response_under_review"), CHARGEBACK_REPRESENTED_SUCCESSFULLY("chargeback_represented_successfully"), CHARGEBACK_REPRESENTED_UNSUCCESSFULLY("chargeback_represented_unsuccessfully"), + CHARGEBACK_PREVENTED("chargeback_prevented"), /** * Used when received value can't be mapped to this enumeration.