Skip to content

Commit

Permalink
Release 6.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wallee-deployment-user committed Oct 16, 2023
1 parent 75ae5f5 commit 64e9e4f
Show file tree
Hide file tree
Showing 10 changed files with 100 additions and 37 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.wallee</groupId>
<artifactId>wallee-java-sdk</artifactId>
<version>6.0.3</version>
<version>6.1.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 "com.wallee:wallee-java-sdk:6.0.3"
compile "com.wallee:wallee-java-sdk:6.1.0"
```

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

Then manually install the following JARs:

* `target/wallee-java-sdk-6.0.3.jar`
* `target/wallee-java-sdk-6.1.0.jar`
* `target/lib/*.jar`

## Usage
Expand Down
14 changes: 10 additions & 4 deletions 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.wallee'
version = '6.0.3'
version = '6.1.0'

buildscript {
repositories {
Expand Down Expand Up @@ -96,20 +96,26 @@ if(hasProperty('target') && target == 'android') {
ext {
swagger_annotations_version = "1.5.17"
jackson_version = "2.14.1"
google_api_client_version = "1.23.0"
google_api_client_version = "2.2.0"
guava_version = "32.1.2-jre"
jodatime_version = "2.9.9"
junit_version = "4.13.2"
httpclient_version = "4.5.14"
}

dependencies {
compile "io.swagger:swagger-annotations:$swagger_annotations_version"
compile "com.google.api-client:google-api-client:${google_api_client_version}"
compile "com.google.api-client:google-api-client:${google_api_client_version}" {
exclude group: 'commons-codec', module: 'commons-codec'
}
compile "com.google.guava:guava:$guava_version"
compile "com.fasterxml.jackson.core:jackson-core:$jackson_version"
compile "com.fasterxml.jackson.core:jackson-annotations:$jackson_version"
compile "com.fasterxml.jackson.core:jackson-databind:$jackson_version"
compile "com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:$jackson_version"
compile "org.apache.httpcomponents:httpclient:$httpclient_version"
compile("org.apache.httpcomponents:httpclient:$httpclient_version") {
exclude group: 'commons-codec', module: 'commons-codec'
}
compile "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:$jackson_version"
testCompile "junit:junit:$junit_version"
}
9 changes: 5 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,21 @@ lazy val root = (project in file(".")).
settings(
organization := "com.wallee",
name := "wallee-java-sdk",
version := "6.0.3",
version := "6.1.0",
scalaVersion := "2.11.4",
scalacOptions ++= Seq("-feature"),
javacOptions in compile ++= Seq("-Xlint:deprecation"),
publishArtifact in (Compile, packageDoc) := false,
resolvers += Resolver.mavenLocal,
libraryDependencies ++= Seq(
"io.swagger" % "swagger-annotations" % "1.5.17",
"com.google.api-client" % "google-api-client" % "1.23.0",
"org.glassfish.jersey.core" % "jersey-common" % "2.34",
"com.google.api-client" % "google-api-client" % "2.2.0" "compile" exclude("com.google.guava", "guava"),
"com.google.guava" % "guava" % "32.1.2-jre" "compile",
"org.glassfish.jersey.core" % "jersey-common" % "2.34" "compile",
"com.fasterxml.jackson.core" % "jackson-core" % "2.14.1" % "compile",
"com.fasterxml.jackson.core" % "jackson-annotations" % "2.14.1" % "compile",
"com.fasterxml.jackson.core" % "jackson-databind" % "2.14.1" % "compile",
"org.apache.httpcomponents" % "httpclient" % "4.5.14" % "compile",
"org.apache.httpcomponents" % "httpclient" % "4.5.14" % "compile" exclude("commons-codec", "commons-codec"),
"com.fasterxml.jackson.datatype" % "jackson-datatype-jsr310" % "2.14.1" % "compile",
"junit" % "junit" % "4.13.2" % "test",
"com.novocode" % "junit-interface" % "0.10" % "test"
Expand Down
32 changes: 20 additions & 12 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<artifactId>wallee-java-sdk</artifactId>
<packaging>jar</packaging>
<name>wallee-java-sdk</name>
<version>6.0.3</version>
<version>6.1.0</version>
<url>https://www.wallee.com</url>
<description>The SDK for simplifying the integration with wallee API.</description>
<scm>
Expand All @@ -22,16 +22,6 @@
</license>
</licenses>

<developers>
<developer>
<id>adamovic</id>
<name>Slobodan Adamovic</name>
<email>[email protected]</email>
<organization>customweb GmbH</organization>
<organizationUrl>https://www.customweb.com</organizationUrl>
</developer>
</developers>

<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
Expand Down Expand Up @@ -275,12 +265,29 @@
<groupId>com.google.api-client</groupId>
<artifactId>google-api-client</artifactId>
<version>${google-api-client-version}</version>
<exclusions>
<exclusion>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava-version}</version>
</dependency>
<!-- Apache HttpClient for building URLs from templates -->
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>${apache-httpclient-version}</version>
<exclusions>
<exclusion>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- JSON processing: jackson -->
<dependency>
Expand Down Expand Up @@ -315,7 +322,8 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<swagger-annotations-version>1.5.17</swagger-annotations-version>
<google-api-client-version>1.23.0</google-api-client-version>
<google-api-client-version>2.2.0</google-api-client-version>
<guava-version>32.1.2-jre</guava-version>
<jackson-version>2.14.1</jackson-version>
<apache-httpclient-version>4.5.14</apache-httpclient-version>
<maven-plugin-version>1.0.0</maven-plugin-version>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/wallee/sdk/DefaultHeaders.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public void intercept(HttpRequest request) throws IOException {

private HttpHeaders getDefaultHeaders() {
HttpHeaders headers = new HttpHeaders();
headers.put("x-meta-sdk-version", "6.0.3");
headers.put("x-meta-sdk-version", "6.1.0");
headers.put("x-meta-sdk-language", "java");
headers.put("x-meta-sdk-provider", "wallee");
headers.put("x-meta-sdk-language-version", System.getProperty("java.version"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -241,10 +241,10 @@ public AbstractPaymentLinkUpdate addLineItemsItem(LineItemCreate lineItemsItem)
}

/**
* The line items allows to define the line items for this payment link. When the line items are defined they cannot be overridden through the request parameters.
* The line items allows to define the line items for this payment link. When the line items are defined they cannot be overridden through the request parameters. If no amount for the payment link is defined, the additional checkout page to enter the amount is shown to the consumer.
* @return lineItems
**/
@ApiModelProperty(value = "The line items allows to define the line items for this payment link. When the line items are defined they cannot be overridden through the request parameters.")
@ApiModelProperty(value = "The line items allows to define the line items for this payment link. When the line items are defined they cannot be overridden through the request parameters. If no amount for the payment link is defined, the additional checkout page to enter the amount is shown to the consumer.")
public List<LineItemCreate> getLineItems() {
return lineItems;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@
*/
public enum CardAuthenticationResponse {

ENROLLMENT_VERIFICATION_ERROR("ENROLLMENT_VERIFICATION_ERROR"),
FULLY_AUTHENTICATED("FULLY_AUTHENTICATED"),

NOT_ENROLLED("NOT_ENROLLED"),
AUTHENTICATION_NOT_REQUIRED("AUTHENTICATION_NOT_REQUIRED"),

AUTHENTICATION_ERROR("AUTHENTICATION_ERROR"),
NOT_ENROLLED("NOT_ENROLLED"),

AUTHENTICATION_NOT_REQUIRED("AUTHENTICATION_NOT_REQUIRED"),
ENROLLMENT_ERROR("ENROLLMENT_ERROR"),

FULLY_AUTHENTICATED("FULLY_AUTHENTICATED");
AUTHENTICATION_ERROR("AUTHENTICATION_ERROR");

private String value;

Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/wallee/sdk/model/PaymentLink.java
Original file line number Diff line number Diff line change
Expand Up @@ -212,10 +212,10 @@ public String getLanguage() {


/**
* The line items allows to define the line items for this payment link. When the line items are defined they cannot be overridden through the request parameters.
* The line items allows to define the line items for this payment link. When the line items are defined they cannot be overridden through the request parameters. If no amount for the payment link is defined, the additional checkout page to enter the amount is shown to the consumer.
* @return lineItems
**/
@ApiModelProperty(value = "The line items allows to define the line items for this payment link. When the line items are defined they cannot be overridden through the request parameters.")
@ApiModelProperty(value = "The line items allows to define the line items for this payment link. When the line items are defined they cannot be overridden through the request parameters. If no amount for the payment link is defined, the additional checkout page to enter the amount is shown to the consumer.")
public List<LineItem> getLineItems() {
return lineItems;
}
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/wallee/sdk/model/PaymentLinkUpdate.java
Original file line number Diff line number Diff line change
Expand Up @@ -288,10 +288,10 @@ public PaymentLinkUpdate addLineItemsItem(LineItemCreate lineItemsItem) {
}

/**
* The line items allows to define the line items for this payment link. When the line items are defined they cannot be overridden through the request parameters.
* The line items allows to define the line items for this payment link. When the line items are defined they cannot be overridden through the request parameters. If no amount for the payment link is defined, the additional checkout page to enter the amount is shown to the consumer.
* @return lineItems
**/
@ApiModelProperty(value = "The line items allows to define the line items for this payment link. When the line items are defined they cannot be overridden through the request parameters.")
@ApiModelProperty(value = "The line items allows to define the line items for this payment link. When the line items are defined they cannot be overridden through the request parameters. If no amount for the payment link is defined, the additional checkout page to enter the amount is shown to the consumer.")
public List<LineItemCreate> getLineItems() {
return lineItems;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,22 @@ public class SubscriptionComponentConfiguration {
protected Long component = null;


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


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


@JsonProperty("quantity")
protected BigDecimal quantity = null;


@JsonProperty("version")
protected Integer version = null;



/**
*
Expand All @@ -56,6 +68,26 @@ public Long getComponent() {
}


/**
* A unique identifier for the object.
* @return id
**/
@ApiModelProperty(value = "A unique identifier for the object.")
public Long getId() {
return id;
}


/**
* The ID of the space this object belongs to.
* @return linkedSpaceId
**/
@ApiModelProperty(value = "The ID of the space this object belongs to.")
public Long getLinkedSpaceId() {
return linkedSpaceId;
}


/**
*
* @return quantity
Expand All @@ -66,6 +98,16 @@ public BigDecimal getQuantity() {
}


/**
* The version is used for optimistic locking and incremented whenever the object is updated.
* @return version
**/
@ApiModelProperty(value = "The version is used for optimistic locking and incremented whenever the object is updated.")
public Integer getVersion() {
return version;
}



@Override
public boolean equals(java.lang.Object o) {
Expand All @@ -77,12 +119,15 @@ public boolean equals(java.lang.Object o) {
}
SubscriptionComponentConfiguration subscriptionComponentConfiguration = (SubscriptionComponentConfiguration) o;
return Objects.equals(this.component, subscriptionComponentConfiguration.component) &&
Objects.equals(this.quantity, subscriptionComponentConfiguration.quantity);
Objects.equals(this.id, subscriptionComponentConfiguration.id) &&
Objects.equals(this.linkedSpaceId, subscriptionComponentConfiguration.linkedSpaceId) &&
Objects.equals(this.quantity, subscriptionComponentConfiguration.quantity) &&
Objects.equals(this.version, subscriptionComponentConfiguration.version);
}

@Override
public int hashCode() {
return Objects.hash(component, quantity);
return Objects.hash(component, id, linkedSpaceId, quantity, version);
}


Expand All @@ -92,7 +137,10 @@ public String toString() {
sb.append("class SubscriptionComponentConfiguration {\n");

sb.append(" component: ").append(toIndentedString(component)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" linkedSpaceId: ").append(toIndentedString(linkedSpaceId)).append("\n");
sb.append(" quantity: ").append(toIndentedString(quantity)).append("\n");
sb.append(" version: ").append(toIndentedString(version)).append("\n");
sb.append("}");
return sb.toString();
}
Expand Down

0 comments on commit 64e9e4f

Please sign in to comment.