Skip to content

Commit f8ed3af

Browse files
author
Thomas Hunziker
committed
Release 2.2.6
1 parent a4e5f01 commit f8ed3af

28 files changed

+5634
-20
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.5</version>
26+
<version>2.2.6</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.5"
36+
compile "com.postfinancecheckout:postfinancecheckout-java-sdk:2.2.6"
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.5.jar`
49+
* `target/postfinancecheckout-java-sdk-2.2.6.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.5'
5+
version = '2.2.6'
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.5",
5+
version := "2.2.6",
66
scalaVersion := "2.11.4",
77
scalacOptions ++= Seq("-feature"),
88
javacOptions in compile ++= Seq("-Xlint:deprecation"),

pom.xml

Lines changed: 1 addition & 1 deletion
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.5</version>
8+
<version>2.2.6</version>
99
<url>https://www.postfinance.ch/checkout</url>
1010
<description>The SDK for simplifying the integration with PostFinance Checkout API.</description>
1111
<scm>

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

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,22 @@ public DeliveryIndicationService getDeliveryIndicationService() {
218218
return this.deliveryIndicationService;
219219
}
220220

221+
private DocumentTemplateService documentTemplateService;
222+
public DocumentTemplateService getDocumentTemplateService() {
223+
if (this.documentTemplateService == null) {
224+
this.documentTemplateService = new DocumentTemplateService(this);
225+
}
226+
return this.documentTemplateService;
227+
}
228+
229+
private DocumentTemplateTypeService documentTemplateTypeService;
230+
public DocumentTemplateTypeService getDocumentTemplateTypeService() {
231+
if (this.documentTemplateTypeService == null) {
232+
this.documentTemplateTypeService = new DocumentTemplateTypeService(this);
233+
}
234+
return this.documentTemplateTypeService;
235+
}
236+
221237
private HumanUserService humanUserService;
222238
public HumanUserService getHumanUserService() {
223239
if (this.humanUserService == null) {
@@ -282,6 +298,14 @@ public PaymentConnectorService getPaymentConnectorService() {
282298
return this.paymentConnectorService;
283299
}
284300

301+
private PaymentLinkService paymentLinkService;
302+
public PaymentLinkService getPaymentLinkService() {
303+
if (this.paymentLinkService == null) {
304+
this.paymentLinkService = new PaymentLinkService(this);
305+
}
306+
return this.paymentLinkService;
307+
}
308+
285309
private PaymentMethodBrandService paymentMethodBrandService;
286310
public PaymentMethodBrandService getPaymentMethodBrandService() {
287311
if (this.paymentMethodBrandService == null) {
@@ -370,6 +394,22 @@ public StaticValueService getStaticValueService() {
370394
return this.staticValueService;
371395
}
372396

397+
private TokenService tokenService;
398+
public TokenService getTokenService() {
399+
if (this.tokenService == null) {
400+
this.tokenService = new TokenService(this);
401+
}
402+
return this.tokenService;
403+
}
404+
405+
private TokenVersionService tokenVersionService;
406+
public TokenVersionService getTokenVersionService() {
407+
if (this.tokenVersionService == null) {
408+
this.tokenVersionService = new TokenVersionService(this);
409+
}
410+
return this.tokenVersionService;
411+
}
412+
373413
private TransactionCommentService transactionCommentService;
374414
public TransactionCommentService getTransactionCommentService() {
375415
if (this.transactionCommentService == null) {

src/main/java/com/postfinancecheckout/sdk/model/AbstractAccountUpdate.java

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
import com.fasterxml.jackson.annotation.JsonValue;
2727
import io.swagger.annotations.ApiModel;
2828
import io.swagger.annotations.ApiModelProperty;
29+
import java.time.OffsetDateTime;
2930
import java.util.*;
3031
import java.time.OffsetDateTime;
3132

@@ -35,6 +36,10 @@
3536

3637
public class AbstractAccountUpdate {
3738

39+
@JsonProperty("lastModifiedDate")
40+
protected OffsetDateTime lastModifiedDate = null;
41+
42+
3843
@JsonProperty("name")
3944
protected String name = null;
4045

@@ -44,6 +49,25 @@ public class AbstractAccountUpdate {
4449

4550

4651

52+
public AbstractAccountUpdate lastModifiedDate(OffsetDateTime lastModifiedDate) {
53+
this.lastModifiedDate = lastModifiedDate;
54+
return this;
55+
}
56+
57+
/**
58+
*
59+
* @return lastModifiedDate
60+
**/
61+
@ApiModelProperty(value = "")
62+
public OffsetDateTime getLastModifiedDate() {
63+
return lastModifiedDate;
64+
}
65+
66+
public void setLastModifiedDate(OffsetDateTime lastModifiedDate) {
67+
this.lastModifiedDate = lastModifiedDate;
68+
}
69+
70+
4771
public AbstractAccountUpdate name(String name) {
4872
this.name = name;
4973
return this;
@@ -92,13 +116,14 @@ public boolean equals(java.lang.Object o) {
92116
return false;
93117
}
94118
AbstractAccountUpdate abstractAccountUpdate = (AbstractAccountUpdate) o;
95-
return Objects.equals(this.name, abstractAccountUpdate.name) &&
119+
return Objects.equals(this.lastModifiedDate, abstractAccountUpdate.lastModifiedDate) &&
120+
Objects.equals(this.name, abstractAccountUpdate.name) &&
96121
Objects.equals(this.subaccountLimit, abstractAccountUpdate.subaccountLimit);
97122
}
98123

99124
@Override
100125
public int hashCode() {
101-
return Objects.hash(name, subaccountLimit);
126+
return Objects.hash(lastModifiedDate, name, subaccountLimit);
102127
}
103128

104129

@@ -107,6 +132,7 @@ public String toString() {
107132
StringBuilder sb = new StringBuilder();
108133
sb.append("class AbstractAccountUpdate {\n");
109134

135+
sb.append(" lastModifiedDate: ").append(toIndentedString(lastModifiedDate)).append("\n");
110136
sb.append(" name: ").append(toIndentedString(name)).append("\n");
111137
sb.append(" subaccountLimit: ").append(toIndentedString(subaccountLimit)).append("\n");
112138
sb.append("}");

0 commit comments

Comments
 (0)