Skip to content

Commit

Permalink
Release 4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vttn committed Jun 17, 2021
1 parent 6287d4b commit 55ac734
Show file tree
Hide file tree
Showing 364 changed files with 1,155 additions and 1,155 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ Add this dependency to your project's POM:

```xml
<dependency>
<groupId>ch.postfinance.checkout</groupId>
<groupId>ch.postfinance</groupId>
<artifactId>postfinancecheckout-java-sdk</artifactId>
<version>4.0.5</version>
<version>4.0.0</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 "ch.postfinance.checkout:postfinancecheckout-java-sdk:4.0.5"
compile "ch.postfinance:postfinancecheckout-java-sdk:4.0.0"
```

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

Then manually install the following JARs:

* `target/postfinancecheckout-java-sdk-4.0.5.jar`
* `target/postfinancecheckout-java-sdk-4.0.0.jar`
* `target/lib/*.jar`

## Usage
Expand All @@ -56,10 +56,10 @@ account dashboard](https://checkout.postfinance.ch/account/select). Set `space_i
### Configuring a Service

```java
package ch.postfinance.checkout.sdk.example;
package ch.postfinance.sdk.example;

import ch.postfinance.checkout.sdk.ApiClient;
import ch.postfinance.checkout.sdk.service.TransactionService;
import ch.postfinance.sdk.ApiClient;
import ch.postfinance.sdk.service.TransactionService;

public class Example {

Expand All @@ -81,11 +81,11 @@ public class Example {
To get started with sending transactions, please review the example below:

```java
package ch.postfinance.checkout.sdk.test;
package ch.postfinance.sdk.test;

import ch.postfinance.checkout.sdk.ApiClient;
import ch.postfinance.checkout.sdk.model.*;
import ch.postfinance.checkout.sdk.service.*;
import ch.postfinance.sdk.ApiClient;
import ch.postfinance.sdk.model.*;
import ch.postfinance.sdk.service.*;

import org.junit.Assert;
import org.junit.Before;
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apply plugin: 'idea'
apply plugin: 'eclipse'

group = 'ch.postfinance.checkout'
version = '4.0.5'
group = 'ch.postfinance'
version = '4.0.0'

buildscript {
repositories {
Expand Down
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
lazy val root = (project in file(".")).
settings(
organization := "ch.postfinance.checkout",
organization := "ch.postfinance",
name := "postfinancecheckout-java-sdk",
version := "4.0.5",
version := "4.0.0",
scalaVersion := "2.11.4",
scalacOptions ++= Seq("-feature"),
javacOptions in compile ++= Seq("-Xlint:deprecation"),
Expand Down
2 changes: 1 addition & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ then

else
echo "[INFO] Running deployment based on the mvn_settings.xml"
mvn deploy -PeX sign,build-extras --settings mvn_settings.xml;
mvn -e -X deploy -P sign,build-extras --settings mvn_settings.xml;
fi
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>ch.postfinance.checkout</groupId>
<groupId>ch.postfinance</groupId>
<artifactId>postfinancecheckout-java-sdk</artifactId>
<packaging>jar</packaging>
<name>postfinancecheckout-java-sdk</name>
<version>4.0.5</version>
<version>4.0.0</version>
<url>https://www.postfinance.ch/checkout</url>
<description>The SDK for simplifying the integration with PostFinance Checkout API.</description>
<scm>
Expand Down
2 changes: 1 addition & 1 deletion src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<manifest package="ch.postfinance.checkout.sdk" xmlns:android="http://schemas.android.com/apk/res/android">
<manifest package="ch.postfinance.sdk" xmlns:android="http://schemas.android.com/apk/res/android">
<application />
</manifest>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package ch.postfinance.checkout.sdk;
package ch.postfinance.sdk;

import ch.postfinance.checkout.sdk.service.*;
import ch.postfinance.sdk.service.*;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ch.postfinance.checkout.sdk;
package ch.postfinance.sdk;

import com.google.api.client.http.HttpExecuteInterceptor;
import com.google.api.client.http.HttpHeaders;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

package ch.postfinance.checkout.sdk;
package ch.postfinance.sdk;

import com.fasterxml.jackson.databind.util.StdDateFormat;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/


package ch.postfinance.checkout.sdk;
package ch.postfinance.sdk;

public class StringUtil {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/


package ch.postfinance.checkout.sdk.model;
package ch.postfinance.sdk.model;

import java.util.Objects;
import java.util.Arrays;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
*/


package ch.postfinance.checkout.sdk.model;
package ch.postfinance.sdk.model;

import java.util.Objects;
import java.util.Arrays;
import ch.postfinance.checkout.sdk.model.CreationEntityState;
import ch.postfinance.sdk.model.CreationEntityState;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/


package ch.postfinance.checkout.sdk.model;
package ch.postfinance.sdk.model;

import java.util.Objects;
import java.util.Arrays;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
*/


package ch.postfinance.checkout.sdk.model;
package ch.postfinance.sdk.model;

import java.util.Objects;
import java.util.Arrays;
import ch.postfinance.checkout.sdk.model.CustomerAddressType;
import ch.postfinance.checkout.sdk.model.CustomerPostalAddressCreate;
import ch.postfinance.sdk.model.CustomerAddressType;
import ch.postfinance.sdk.model.CustomerPostalAddressCreate;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/


package ch.postfinance.checkout.sdk.model;
package ch.postfinance.sdk.model;

import java.util.Objects;
import java.util.Arrays;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
*/


package ch.postfinance.checkout.sdk.model;
package ch.postfinance.sdk.model;

import java.util.Objects;
import java.util.Arrays;
import ch.postfinance.checkout.sdk.model.CreationEntityState;
import ch.postfinance.sdk.model.CreationEntityState;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
*/


package ch.postfinance.checkout.sdk.model;
package ch.postfinance.sdk.model;

import java.util.Objects;
import java.util.Arrays;
import ch.postfinance.checkout.sdk.model.LineItemCreate;
import ch.postfinance.checkout.sdk.model.PaymentLinkAddressHandlingMode;
import ch.postfinance.checkout.sdk.model.PaymentMethodConfiguration;
import ch.postfinance.sdk.model.LineItemCreate;
import ch.postfinance.sdk.model.PaymentLinkAddressHandlingMode;
import ch.postfinance.sdk.model.PaymentMethodConfiguration;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/


package ch.postfinance.checkout.sdk.model;
package ch.postfinance.sdk.model;

import java.util.Objects;
import java.util.Arrays;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
*/


package ch.postfinance.checkout.sdk.model;
package ch.postfinance.sdk.model;

import java.util.Objects;
import java.util.Arrays;
import ch.postfinance.checkout.sdk.model.ShopifySubscriptionBillingIntervalUnit;
import ch.postfinance.checkout.sdk.model.ShopifySubscriptionProductPricingOption;
import ch.postfinance.checkout.sdk.model.ShopifySubscriptionWeekday;
import ch.postfinance.sdk.model.ShopifySubscriptionBillingIntervalUnit;
import ch.postfinance.sdk.model.ShopifySubscriptionProductPricingOption;
import ch.postfinance.sdk.model.ShopifySubscriptionWeekday;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
*/


package ch.postfinance.checkout.sdk.model;
package ch.postfinance.sdk.model;

import java.util.Objects;
import java.util.Arrays;
import ch.postfinance.checkout.sdk.model.CreationEntityState;
import ch.postfinance.checkout.sdk.model.SpaceAddressCreate;
import ch.postfinance.sdk.model.CreationEntityState;
import ch.postfinance.sdk.model.SpaceAddressCreate;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/


package ch.postfinance.checkout.sdk.model;
package ch.postfinance.sdk.model;

import java.util.Objects;
import java.util.Arrays;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/


package ch.postfinance.checkout.sdk.model;
package ch.postfinance.sdk.model;

import java.util.Objects;
import java.util.Arrays;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/


package ch.postfinance.checkout.sdk.model;
package ch.postfinance.sdk.model;

import java.util.Objects;
import java.util.Arrays;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
*/


package ch.postfinance.checkout.sdk.model;
package ch.postfinance.sdk.model;

import java.util.Objects;
import java.util.Arrays;
import ch.postfinance.checkout.sdk.model.AddressCreate;
import ch.postfinance.checkout.sdk.model.LineItemCreate;
import ch.postfinance.checkout.sdk.model.PaymentMethodBrand;
import ch.postfinance.checkout.sdk.model.TokenizationMode;
import ch.postfinance.checkout.sdk.model.TransactionCompletionBehavior;
import ch.postfinance.sdk.model.AddressCreate;
import ch.postfinance.sdk.model.LineItemCreate;
import ch.postfinance.sdk.model.PaymentMethodBrand;
import ch.postfinance.sdk.model.TokenizationMode;
import ch.postfinance.sdk.model.TransactionCompletionBehavior;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
*/


package ch.postfinance.checkout.sdk.model;
package ch.postfinance.sdk.model;

import java.util.Objects;
import java.util.Arrays;
import ch.postfinance.checkout.sdk.model.CreationEntityState;
import ch.postfinance.sdk.model.CreationEntityState;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
*/


package ch.postfinance.checkout.sdk.model;
package ch.postfinance.sdk.model;

import java.util.Objects;
import java.util.Arrays;
import ch.postfinance.checkout.sdk.model.CreationEntityState;
import ch.postfinance.sdk.model.CreationEntityState;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
*/


package ch.postfinance.checkout.sdk.model;
package ch.postfinance.sdk.model;

import java.util.Objects;
import java.util.Arrays;
import ch.postfinance.checkout.sdk.model.Account;
import ch.postfinance.checkout.sdk.model.AccountState;
import ch.postfinance.checkout.sdk.model.AccountType;
import ch.postfinance.sdk.model.Account;
import ch.postfinance.sdk.model.AccountState;
import ch.postfinance.sdk.model.AccountType;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
*/


package ch.postfinance.checkout.sdk.model;
package ch.postfinance.sdk.model;

import java.util.Objects;
import java.util.Arrays;
import ch.postfinance.checkout.sdk.model.AbstractAccountUpdate;
import ch.postfinance.sdk.model.AbstractAccountUpdate;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/


package ch.postfinance.checkout.sdk.model;
package ch.postfinance.sdk.model;

import java.util.Objects;
import java.util.Arrays;
Expand Down
Loading

0 comments on commit 55ac734

Please sign in to comment.