Skip to content

Commit d2663dd

Browse files
author
Thomas Hunziker
committed
Release 2.2.21
1 parent a7878ce commit d2663dd

File tree

8 files changed

+1451
-11
lines changed

8 files changed

+1451
-11
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Add this dependency to your project's POM:
2323
<dependency>
2424
<groupId>com.postfinancecheckout</groupId>
2525
<artifactId>postfinancecheckout-java-sdk</artifactId>
26-
<version>2.2.15</version>
26+
<version>2.2.21</version>
2727
<scope>compile</scope>
2828
</dependency>
2929
```
@@ -33,7 +33,7 @@ Add this dependency to your project's POM:
3333
Add this dependency to your project's build file:
3434

3535
```groovy
36-
compile "com.postfinancecheckout:postfinancecheckout-java-sdk:2.2.15"
36+
compile "com.postfinancecheckout:postfinancecheckout-java-sdk:2.2.21"
3737
```
3838

3939
### Others
@@ -46,7 +46,7 @@ mvn clean package
4646

4747
Then manually install the following JARs:
4848

49-
* `target/postfinancecheckout-java-sdk-2.2.15.jar`
49+
* `target/postfinancecheckout-java-sdk-2.2.21.jar`
5050
* `target/lib/*.jar`
5151

5252
## Usage

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apply plugin: 'idea'
22
apply plugin: 'eclipse'
33

44
group = 'com.postfinancecheckout'
5-
version = '2.2.15'
5+
version = '2.2.21'
66

77
buildscript {
88
repositories {

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
22
settings(
33
organization := "com.postfinancecheckout",
44
name := "postfinancecheckout-java-sdk",
5-
version := "2.2.15",
5+
version := "2.2.21",
66
scalaVersion := "2.11.4",
77
scalacOptions ++= Seq("-feature"),
88
javacOptions in compile ++= Seq("-Xlint:deprecation"),

pom.xml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>postfinancecheckout-java-sdk</artifactId>
66
<packaging>jar</packaging>
77
<name>postfinancecheckout-java-sdk</name>
8-
<version>2.2.15</version>
8+
<version>2.2.21</version>
99
<url>https://www.postfinance.ch/checkout</url>
1010
<description>The SDK for simplifying the integration with PostFinance Checkout API.</description>
1111
<scm>
@@ -39,10 +39,6 @@
3939
</snapshotRepository>
4040
</distributionManagement>
4141

42-
<prerequisites>
43-
<maven>2.2.0</maven>
44-
</prerequisites>
45-
4642
<build>
4743
<plugins>
4844
<plugin>
@@ -69,7 +65,8 @@
6965
<configuration>
7066
<rules>
7167
<requireMavenVersion>
72-
<version>2.2.0</version>
68+
<version>(,3.6)</version>
69+
<message>Invalid Maven version. It should, at least, be 2.0</message>
7370
</requireMavenVersion>
7471
</rules>
7572
</configuration>

src/main/java/com/postfinancecheckout/sdk/ApiClient.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,22 @@ public ApplicationUserService getApplicationUserService() {
125125
return this.applicationUserService;
126126
}
127127

128+
private BankAccountService bankAccountService;
129+
public BankAccountService getBankAccountService() {
130+
if (this.bankAccountService == null) {
131+
this.bankAccountService = new BankAccountService(this);
132+
}
133+
return this.bankAccountService;
134+
}
135+
136+
private BankTransactionService bankTransactionService;
137+
public BankTransactionService getBankTransactionService() {
138+
if (this.bankTransactionService == null) {
139+
this.bankTransactionService = new BankTransactionService(this);
140+
}
141+
return this.bankTransactionService;
142+
}
143+
128144
private ChargeAttemptService chargeAttemptService;
129145
public ChargeAttemptService getChargeAttemptService() {
130146
if (this.chargeAttemptService == null) {
@@ -189,6 +205,14 @@ public CountryStateService getCountryStateService() {
189205
return this.countryStateService;
190206
}
191207

208+
private CurrencyBankAccountService currencyBankAccountService;
209+
public CurrencyBankAccountService getCurrencyBankAccountService() {
210+
if (this.currencyBankAccountService == null) {
211+
this.currencyBankAccountService = new CurrencyBankAccountService(this);
212+
}
213+
return this.currencyBankAccountService;
214+
}
215+
192216
private CurrencyService currencyService;
193217
public CurrencyService getCurrencyService() {
194218
if (this.currencyService == null) {

0 commit comments

Comments
 (0)