From f68a8ac17bc9d9300121dd665ddf1926a1a07e6f Mon Sep 17 00:00:00 2001 From: wallee-deployment-user Date: Thu, 27 Jul 2023 14:00:25 +0200 Subject: [PATCH] Release 6.0.1 --- README.md | 6 +++--- build.gradle | 2 +- build.sbt | 2 +- pom.xml | 2 +- src/main/java/ch/postfinance/sdk/DefaultHeaders.java | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 251a00e..53262aa 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ Add this dependency to your project's POM: ch.postfinance postfinancecheckout-java-sdk - 5.1.2 + 6.0.1 compile ``` @@ -33,7 +33,7 @@ Add this dependency to your project's POM: Add this dependency to your project's build file: ```groovy -compile "ch.postfinance:postfinancecheckout-java-sdk:5.1.2" +compile "ch.postfinance:postfinancecheckout-java-sdk:6.0.1" ``` ### Others @@ -46,7 +46,7 @@ mvn clean package Then manually install the following JARs: -* `target/postfinancecheckout-java-sdk-5.1.2.jar` +* `target/postfinancecheckout-java-sdk-6.0.1.jar` * `target/lib/*.jar` ## Usage diff --git a/build.gradle b/build.gradle index 8b766bf..ae81bbc 100644 --- a/build.gradle +++ b/build.gradle @@ -2,7 +2,7 @@ apply plugin: 'idea' apply plugin: 'eclipse' group = 'ch.postfinance' -version = '5.1.2' +version = '6.0.1' buildscript { repositories { diff --git a/build.sbt b/build.sbt index 1b9c9c3..6a1e94a 100644 --- a/build.sbt +++ b/build.sbt @@ -2,7 +2,7 @@ lazy val root = (project in file(".")). settings( organization := "ch.postfinance", name := "postfinancecheckout-java-sdk", - version := "5.1.2", + version := "6.0.1", scalaVersion := "2.11.4", scalacOptions ++= Seq("-feature"), javacOptions in compile ++= Seq("-Xlint:deprecation"), diff --git a/pom.xml b/pom.xml index 43c130c..2d7e460 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ postfinancecheckout-java-sdk jar postfinancecheckout-java-sdk - 5.1.2 + 6.0.1 https://postfinance.ch/en/business/products/e-commerce/postfinance-checkout-all-in-one.html The SDK for simplifying the integration with PostFinance Checkout API. diff --git a/src/main/java/ch/postfinance/sdk/DefaultHeaders.java b/src/main/java/ch/postfinance/sdk/DefaultHeaders.java index 9f877ac..147d7e3 100644 --- a/src/main/java/ch/postfinance/sdk/DefaultHeaders.java +++ b/src/main/java/ch/postfinance/sdk/DefaultHeaders.java @@ -34,7 +34,7 @@ public void intercept(HttpRequest request) throws IOException { private HttpHeaders getDefaultHeaders() { HttpHeaders headers = new HttpHeaders(); - headers.put("x-meta-sdk-version", "5.1.2"); + headers.put("x-meta-sdk-version", "6.0.1"); headers.put("x-meta-sdk-language", "java"); headers.put("x-meta-sdk-provider", "PostFinance Checkout"); headers.put("x-meta-sdk-language-version", System.getProperty("java.version"));