Skip to content

Commit

Permalink
Release 2.2.25
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Hunziker committed Mar 22, 2021
1 parent 37b7525 commit 478ee92
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 8 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.24</version>
<version>2.2.25</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.24"
compile "com.postfinancecheckout:postfinancecheckout-java-sdk:2.2.25"
```

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

Then manually install the following JARs:

* `target/postfinancecheckout-java-sdk-2.2.24.jar`
* `target/postfinancecheckout-java-sdk-2.2.25.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.24'
version = '2.2.25'

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.24",
version := "2.2.25",
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.24</version>
<version>2.2.25</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 @@ -45,6 +45,10 @@ public class PaymentTerminal {
protected PaymentTerminalConfigurationVersion configurationVersion = null;


@JsonProperty("defaultCurrency")
protected String defaultCurrency = null;


@JsonProperty("id")
protected Long id = null;

Expand Down Expand Up @@ -92,6 +96,16 @@ public PaymentTerminalConfigurationVersion getConfigurationVersion() {
}


/**
*
* @return defaultCurrency
**/
@ApiModelProperty(value = "")
public String getDefaultCurrency() {
return defaultCurrency;
}


/**
* The ID is the primary key of the entity. The ID identifies the entity uniquely.
* @return id
Expand Down Expand Up @@ -193,6 +207,7 @@ public boolean equals(java.lang.Object o) {
}
PaymentTerminal paymentTerminal = (PaymentTerminal) o;
return Objects.equals(this.configurationVersion, paymentTerminal.configurationVersion) &&
Objects.equals(this.defaultCurrency, paymentTerminal.defaultCurrency) &&
Objects.equals(this.id, paymentTerminal.id) &&
Objects.equals(this.identifier, paymentTerminal.identifier) &&
Objects.equals(this.linkedSpaceId, paymentTerminal.linkedSpaceId) &&
Expand All @@ -206,7 +221,7 @@ public boolean equals(java.lang.Object o) {

@Override
public int hashCode() {
return Objects.hash(configurationVersion, id, identifier, linkedSpaceId, locationVersion, name, plannedPurgeDate, state, type, version);
return Objects.hash(configurationVersion, defaultCurrency, id, identifier, linkedSpaceId, locationVersion, name, plannedPurgeDate, state, type, version);
}


Expand All @@ -216,6 +231,7 @@ public String toString() {
sb.append("class PaymentTerminal {\n");

sb.append(" configurationVersion: ").append(toIndentedString(configurationVersion)).append("\n");
sb.append(" defaultCurrency: ").append(toIndentedString(defaultCurrency)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" identifier: ").append(toIndentedString(identifier)).append("\n");
sb.append(" linkedSpaceId: ").append(toIndentedString(linkedSpaceId)).append("\n");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ public class PaymentTerminalConfigurationVersion {
protected OffsetDateTime createdOn = null;


@JsonProperty("defaultCurrency")
protected String defaultCurrency = null;


@JsonProperty("id")
protected Long id = null;

Expand Down Expand Up @@ -134,6 +138,16 @@ public OffsetDateTime getCreatedOn() {
}


/**
* The currency is derived by default from the terminal location. By setting a specific currency the derived currency is overridden.
* @return defaultCurrency
**/
@ApiModelProperty(value = "The currency is derived by default from the terminal location. By setting a specific currency the derived currency is overridden.")
public String getDefaultCurrency() {
return defaultCurrency;
}


/**
* The ID is the primary key of the entity. The ID identifies the entity uniquely.
* @return id
Expand Down Expand Up @@ -238,6 +252,7 @@ public boolean equals(java.lang.Object o) {
Objects.equals(this.connectorConfigurations, paymentTerminalConfigurationVersion.connectorConfigurations) &&
Objects.equals(this.createdBy, paymentTerminalConfigurationVersion.createdBy) &&
Objects.equals(this.createdOn, paymentTerminalConfigurationVersion.createdOn) &&
Objects.equals(this.defaultCurrency, paymentTerminalConfigurationVersion.defaultCurrency) &&
Objects.equals(this.id, paymentTerminalConfigurationVersion.id) &&
Objects.equals(this.linkedSpaceId, paymentTerminalConfigurationVersion.linkedSpaceId) &&
Objects.equals(this.maintenanceWindowDuration, paymentTerminalConfigurationVersion.maintenanceWindowDuration) &&
Expand All @@ -251,7 +266,7 @@ public boolean equals(java.lang.Object o) {

@Override
public int hashCode() {
return Objects.hash(_configuration, connectorConfigurations, createdBy, createdOn, id, linkedSpaceId, maintenanceWindowDuration, maintenanceWindowStart, plannedPurgeDate, state, timeZone, version, versionAppliedImmediately);
return Objects.hash(_configuration, connectorConfigurations, createdBy, createdOn, defaultCurrency, id, linkedSpaceId, maintenanceWindowDuration, maintenanceWindowStart, plannedPurgeDate, state, timeZone, version, versionAppliedImmediately);
}


Expand All @@ -264,6 +279,7 @@ public String toString() {
sb.append(" connectorConfigurations: ").append(toIndentedString(connectorConfigurations)).append("\n");
sb.append(" createdBy: ").append(toIndentedString(createdBy)).append("\n");
sb.append(" createdOn: ").append(toIndentedString(createdOn)).append("\n");
sb.append(" defaultCurrency: ").append(toIndentedString(defaultCurrency)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" linkedSpaceId: ").append(toIndentedString(linkedSpaceId)).append("\n");
sb.append(" maintenanceWindowDuration: ").append(toIndentedString(maintenanceWindowDuration)).append("\n");
Expand Down

0 comments on commit 478ee92

Please sign in to comment.