Skip to content

Commit

Permalink
Release 2.2.11
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewrowanwallee committed Dec 15, 2020
1 parent f13f33a commit 734d90d
Show file tree
Hide file tree
Showing 57 changed files with 820 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Add this dependency to your project's POM:
<dependency>
<groupId>com.postfinancecheckout</groupId>
<artifactId>postfinancecheckout-java-sdk</artifactId>
<version>2.2.10</version>
<version>2.2.11</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -33,7 +33,7 @@ Add this dependency to your project's POM:
Add this dependency to your project's build file:

```groovy
compile "com.postfinancecheckout:postfinancecheckout-java-sdk:2.2.10"
compile "com.postfinancecheckout:postfinancecheckout-java-sdk:2.2.11"
```

### Others
Expand All @@ -46,7 +46,7 @@ mvn clean package

Then manually install the following JARs:

* `target/postfinancecheckout-java-sdk-2.2.10.jar`
* `target/postfinancecheckout-java-sdk-2.2.11.jar`
* `target/lib/*.jar`

## Usage
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apply plugin: 'idea'
apply plugin: 'eclipse'

group = 'com.postfinancecheckout'
version = '2.2.10'
version = '2.2.11'

buildscript {
repositories {
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
settings(
organization := "com.postfinancecheckout",
name := "postfinancecheckout-java-sdk",
version := "2.2.10",
version := "2.2.11",
scalaVersion := "2.11.4",
scalacOptions ++= Seq("-feature"),
javacOptions in compile ++= Seq("-Xlint:deprecation"),
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<artifactId>postfinancecheckout-java-sdk</artifactId>
<packaging>jar</packaging>
<name>postfinancecheckout-java-sdk</name>
<version>2.2.10</version>
<version>2.2.11</version>
<url>https://www.postfinance.ch/checkout</url>
<description>The SDK for simplifying the integration with PostFinance Checkout API.</description>
<scm>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ public HttpResponse countForHttpResponse(EntityQueryFilter filter) throws IOExce
HttpContent content = apiClient.new JacksonJsonHttpContent(filter);
HttpRequest httpRequest = apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content);


httpRequest.setReadTimeout(ApiClient.READ_TIMEOUT);
return httpRequest.execute();
}
Expand Down Expand Up @@ -142,6 +143,7 @@ public HttpResponse countForHttpResponse(EntityQueryFilter filter, Map<String, O
HttpContent content = apiClient.new JacksonJsonHttpContent(filter);
HttpRequest httpRequest = apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content);


httpRequest.setReadTimeout(ApiClient.READ_TIMEOUT);
return httpRequest.execute();
}
Expand Down Expand Up @@ -206,6 +208,7 @@ public HttpResponse createForHttpResponse(AccountCreate entity) throws IOExcepti
HttpContent content = apiClient.new JacksonJsonHttpContent(entity);
HttpRequest httpRequest = apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content);


httpRequest.setReadTimeout(ApiClient.READ_TIMEOUT);
return httpRequest.execute();
}
Expand Down Expand Up @@ -260,6 +263,7 @@ public HttpResponse createForHttpResponse(AccountCreate entity, Map<String, Obje
HttpContent content = apiClient.new JacksonJsonHttpContent(entity);
HttpRequest httpRequest = apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content);


httpRequest.setReadTimeout(ApiClient.READ_TIMEOUT);
return httpRequest.execute();
}
Expand Down Expand Up @@ -310,6 +314,7 @@ public HttpResponse deleteForHttpResponse(Long id) throws IOException {
HttpContent content = apiClient.new JacksonJsonHttpContent(id);
HttpRequest httpRequest = apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content);


httpRequest.setReadTimeout(ApiClient.READ_TIMEOUT);
return httpRequest.execute();
}
Expand Down Expand Up @@ -364,6 +369,7 @@ public HttpResponse deleteForHttpResponse(Long id, Map<String, Object> params) t
HttpContent content = apiClient.new JacksonJsonHttpContent(id);
HttpRequest httpRequest = apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content);


httpRequest.setReadTimeout(ApiClient.READ_TIMEOUT);
return httpRequest.execute();
}
Expand Down Expand Up @@ -438,6 +444,7 @@ public HttpResponse readForHttpResponse(Long id) throws IOException {

HttpContent content = null;
HttpRequest httpRequest = apiClient.getHttpRequestFactory().buildRequest(HttpMethods.GET, genericUrl, content);
httpRequest.getHeaders().setContentType("*/*");

httpRequest.setReadTimeout(ApiClient.READ_TIMEOUT);
return httpRequest.execute();
Expand Down Expand Up @@ -475,6 +482,7 @@ public HttpResponse readForHttpResponse(Long id, Map<String, Object> params) thr

HttpContent content = null;
HttpRequest httpRequest = apiClient.getHttpRequestFactory().buildRequest(HttpMethods.GET, genericUrl, content);
httpRequest.getHeaders().setContentType("*/*");

httpRequest.setReadTimeout(ApiClient.READ_TIMEOUT);
return httpRequest.execute();
Expand Down Expand Up @@ -540,6 +548,7 @@ public HttpResponse searchForHttpResponse(EntityQuery query) throws IOException
HttpContent content = apiClient.new JacksonJsonHttpContent(query);
HttpRequest httpRequest = apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content);


httpRequest.setReadTimeout(ApiClient.READ_TIMEOUT);
return httpRequest.execute();
}
Expand Down Expand Up @@ -594,6 +603,7 @@ public HttpResponse searchForHttpResponse(EntityQuery query, Map<String, Object>
HttpContent content = apiClient.new JacksonJsonHttpContent(query);
HttpRequest httpRequest = apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content);


httpRequest.setReadTimeout(ApiClient.READ_TIMEOUT);
return httpRequest.execute();
}
Expand Down Expand Up @@ -660,6 +670,7 @@ public HttpResponse updateForHttpResponse(AccountUpdate entity) throws IOExcepti
HttpContent content = apiClient.new JacksonJsonHttpContent(entity);
HttpRequest httpRequest = apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content);


httpRequest.setReadTimeout(ApiClient.READ_TIMEOUT);
return httpRequest.execute();
}
Expand Down Expand Up @@ -714,6 +725,7 @@ public HttpResponse updateForHttpResponse(AccountUpdate entity, Map<String, Obje
HttpContent content = apiClient.new JacksonJsonHttpContent(entity);
HttpRequest httpRequest = apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content);


httpRequest.setReadTimeout(ApiClient.READ_TIMEOUT);
return httpRequest.execute();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ public HttpResponse countForHttpResponse(EntityQueryFilter filter) throws IOExce
HttpContent content = apiClient.new JacksonJsonHttpContent(filter);
HttpRequest httpRequest = apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content);


httpRequest.setReadTimeout(ApiClient.READ_TIMEOUT);
return httpRequest.execute();
}
Expand Down Expand Up @@ -143,6 +144,7 @@ public HttpResponse countForHttpResponse(EntityQueryFilter filter, Map<String, O
HttpContent content = apiClient.new JacksonJsonHttpContent(filter);
HttpRequest httpRequest = apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content);


httpRequest.setReadTimeout(ApiClient.READ_TIMEOUT);
return httpRequest.execute();
}
Expand Down Expand Up @@ -207,6 +209,7 @@ public HttpResponse createForHttpResponse(ApplicationUserCreate entity) throws I
HttpContent content = apiClient.new JacksonJsonHttpContent(entity);
HttpRequest httpRequest = apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content);


httpRequest.setReadTimeout(ApiClient.READ_TIMEOUT);
return httpRequest.execute();
}
Expand Down Expand Up @@ -261,6 +264,7 @@ public HttpResponse createForHttpResponse(ApplicationUserCreate entity, Map<Stri
HttpContent content = apiClient.new JacksonJsonHttpContent(entity);
HttpRequest httpRequest = apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content);


httpRequest.setReadTimeout(ApiClient.READ_TIMEOUT);
return httpRequest.execute();
}
Expand Down Expand Up @@ -311,6 +315,7 @@ public HttpResponse deleteForHttpResponse(Long id) throws IOException {
HttpContent content = apiClient.new JacksonJsonHttpContent(id);
HttpRequest httpRequest = apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content);


httpRequest.setReadTimeout(ApiClient.READ_TIMEOUT);
return httpRequest.execute();
}
Expand Down Expand Up @@ -365,6 +370,7 @@ public HttpResponse deleteForHttpResponse(Long id, Map<String, Object> params) t
HttpContent content = apiClient.new JacksonJsonHttpContent(id);
HttpRequest httpRequest = apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content);


httpRequest.setReadTimeout(ApiClient.READ_TIMEOUT);
return httpRequest.execute();
}
Expand Down Expand Up @@ -439,6 +445,7 @@ public HttpResponse readForHttpResponse(Long id) throws IOException {

HttpContent content = null;
HttpRequest httpRequest = apiClient.getHttpRequestFactory().buildRequest(HttpMethods.GET, genericUrl, content);
httpRequest.getHeaders().setContentType("*/*");

httpRequest.setReadTimeout(ApiClient.READ_TIMEOUT);
return httpRequest.execute();
Expand Down Expand Up @@ -476,6 +483,7 @@ public HttpResponse readForHttpResponse(Long id, Map<String, Object> params) thr

HttpContent content = null;
HttpRequest httpRequest = apiClient.getHttpRequestFactory().buildRequest(HttpMethods.GET, genericUrl, content);
httpRequest.getHeaders().setContentType("*/*");

httpRequest.setReadTimeout(ApiClient.READ_TIMEOUT);
return httpRequest.execute();
Expand Down Expand Up @@ -541,6 +549,7 @@ public HttpResponse searchForHttpResponse(EntityQuery query) throws IOException
HttpContent content = apiClient.new JacksonJsonHttpContent(query);
HttpRequest httpRequest = apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content);


httpRequest.setReadTimeout(ApiClient.READ_TIMEOUT);
return httpRequest.execute();
}
Expand Down Expand Up @@ -595,6 +604,7 @@ public HttpResponse searchForHttpResponse(EntityQuery query, Map<String, Object>
HttpContent content = apiClient.new JacksonJsonHttpContent(query);
HttpRequest httpRequest = apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content);


httpRequest.setReadTimeout(ApiClient.READ_TIMEOUT);
return httpRequest.execute();
}
Expand Down Expand Up @@ -661,6 +671,7 @@ public HttpResponse updateForHttpResponse(ApplicationUserUpdate entity) throws I
HttpContent content = apiClient.new JacksonJsonHttpContent(entity);
HttpRequest httpRequest = apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content);


httpRequest.setReadTimeout(ApiClient.READ_TIMEOUT);
return httpRequest.execute();
}
Expand Down Expand Up @@ -715,6 +726,7 @@ public HttpResponse updateForHttpResponse(ApplicationUserUpdate entity, Map<Stri
HttpContent content = apiClient.new JacksonJsonHttpContent(entity);
HttpRequest httpRequest = apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content);


httpRequest.setReadTimeout(ApiClient.READ_TIMEOUT);
return httpRequest.execute();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ public HttpResponse countForHttpResponse(Long spaceId, EntityQueryFilter filter)
HttpContent content = apiClient.new JacksonJsonHttpContent(filter);
HttpRequest httpRequest = apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content);


httpRequest.setReadTimeout(ApiClient.READ_TIMEOUT);
return httpRequest.execute();
}
Expand Down Expand Up @@ -175,6 +176,7 @@ public HttpResponse countForHttpResponse(EntityQueryFilter filter, Long spaceId,
HttpContent content = apiClient.new JacksonJsonHttpContent(filter);
HttpRequest httpRequest = apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content);


httpRequest.setReadTimeout(ApiClient.READ_TIMEOUT);
return httpRequest.execute();
}
Expand Down Expand Up @@ -264,6 +266,7 @@ public HttpResponse readForHttpResponse(Long spaceId, Long id) throws IOExceptio

HttpContent content = null;
HttpRequest httpRequest = apiClient.getHttpRequestFactory().buildRequest(HttpMethods.GET, genericUrl, content);
httpRequest.getHeaders().setContentType("*/*");

httpRequest.setReadTimeout(ApiClient.READ_TIMEOUT);
return httpRequest.execute();
Expand Down Expand Up @@ -306,6 +309,7 @@ public HttpResponse readForHttpResponse(Long spaceId, Long id, Map<String, Objec

HttpContent content = null;
HttpRequest httpRequest = apiClient.getHttpRequestFactory().buildRequest(HttpMethods.GET, genericUrl, content);
httpRequest.getHeaders().setContentType("*/*");

httpRequest.setReadTimeout(ApiClient.READ_TIMEOUT);
return httpRequest.execute();
Expand Down Expand Up @@ -387,6 +391,7 @@ public HttpResponse searchForHttpResponse(Long spaceId, EntityQuery query) throw
HttpContent content = apiClient.new JacksonJsonHttpContent(query);
HttpRequest httpRequest = apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content);


httpRequest.setReadTimeout(ApiClient.READ_TIMEOUT);
return httpRequest.execute();
}
Expand Down Expand Up @@ -460,6 +465,7 @@ public HttpResponse searchForHttpResponse(Long spaceId, EntityQuery query, Map<S
HttpContent content = apiClient.new JacksonJsonHttpContent(query);
HttpRequest httpRequest = apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content);


httpRequest.setReadTimeout(ApiClient.READ_TIMEOUT);
return httpRequest.execute();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ public HttpResponse countForHttpResponse(Long spaceId, EntityQueryFilter filter)
HttpContent content = apiClient.new JacksonJsonHttpContent(filter);
HttpRequest httpRequest = apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content);


httpRequest.setReadTimeout(ApiClient.READ_TIMEOUT);
return httpRequest.execute();
}
Expand Down Expand Up @@ -175,6 +176,7 @@ public HttpResponse countForHttpResponse(EntityQueryFilter filter, Long spaceId,
HttpContent content = apiClient.new JacksonJsonHttpContent(filter);
HttpRequest httpRequest = apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content);


httpRequest.setReadTimeout(ApiClient.READ_TIMEOUT);
return httpRequest.execute();
}
Expand Down Expand Up @@ -264,6 +266,7 @@ public HttpResponse readForHttpResponse(Long spaceId, Long id) throws IOExceptio

HttpContent content = null;
HttpRequest httpRequest = apiClient.getHttpRequestFactory().buildRequest(HttpMethods.GET, genericUrl, content);
httpRequest.getHeaders().setContentType("*/*");

httpRequest.setReadTimeout(ApiClient.READ_TIMEOUT);
return httpRequest.execute();
Expand Down Expand Up @@ -306,6 +309,7 @@ public HttpResponse readForHttpResponse(Long spaceId, Long id, Map<String, Objec

HttpContent content = null;
HttpRequest httpRequest = apiClient.getHttpRequestFactory().buildRequest(HttpMethods.GET, genericUrl, content);
httpRequest.getHeaders().setContentType("*/*");

httpRequest.setReadTimeout(ApiClient.READ_TIMEOUT);
return httpRequest.execute();
Expand Down Expand Up @@ -387,6 +391,7 @@ public HttpResponse searchForHttpResponse(Long spaceId, EntityQuery query) throw
HttpContent content = apiClient.new JacksonJsonHttpContent(query);
HttpRequest httpRequest = apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content);


httpRequest.setReadTimeout(ApiClient.READ_TIMEOUT);
return httpRequest.execute();
}
Expand Down Expand Up @@ -460,6 +465,7 @@ public HttpResponse searchForHttpResponse(Long spaceId, EntityQuery query, Map<S
HttpContent content = apiClient.new JacksonJsonHttpContent(query);
HttpRequest httpRequest = apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content);


httpRequest.setReadTimeout(ApiClient.READ_TIMEOUT);
return httpRequest.execute();
}
Expand Down
Loading

0 comments on commit 734d90d

Please sign in to comment.