diff --git a/LICENSE b/LICENSE
index bdd6141..de06a90 100644
--- a/LICENSE
+++ b/LICENSE
@@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.
- Copyright 2020 customweb GmbH
+ Copyright 2020 wallee AG
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/README.md b/README.md
index 788a747..c81fabf 100644
--- a/README.md
+++ b/README.md
@@ -23,7 +23,7 @@ Add this dependency to your project's POM:
com.postfinancecheckoutpostfinancecheckout-java-sdk
- 2.2.7
+ 2.2.8compile
```
@@ -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.7"
+compile "com.postfinancecheckout:postfinancecheckout-java-sdk:2.2.8"
```
### Others
@@ -46,7 +46,7 @@ mvn clean package
Then manually install the following JARs:
-* `target/postfinancecheckout-java-sdk-2.2.7.jar`
+* `target/postfinancecheckout-java-sdk-2.2.8.jar`
* `target/lib/*.jar`
## Usage
diff --git a/build.gradle b/build.gradle
index 3afb272..3eb4529 100644
--- a/build.gradle
+++ b/build.gradle
@@ -2,7 +2,7 @@ apply plugin: 'idea'
apply plugin: 'eclipse'
group = 'com.postfinancecheckout'
-version = '2.2.7'
+version = '2.2.8'
buildscript {
repositories {
diff --git a/build.sbt b/build.sbt
index 2d727af..7aabba1 100644
--- a/build.sbt
+++ b/build.sbt
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
settings(
organization := "com.postfinancecheckout",
name := "postfinancecheckout-java-sdk",
- version := "2.2.7",
+ version := "2.2.8",
scalaVersion := "2.11.4",
scalacOptions ++= Seq("-feature"),
javacOptions in compile ++= Seq("-Xlint:deprecation"),
diff --git a/pom.xml b/pom.xml
index 8c34f27..5c9327f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
postfinancecheckout-java-sdkjarpostfinancecheckout-java-sdk
- 2.2.7
+ 2.2.8https://www.postfinance.ch/checkoutThe SDK for simplifying the integration with PostFinance Checkout API.
diff --git a/src/main/java/com/postfinancecheckout/sdk/ApiClient.java b/src/main/java/com/postfinancecheckout/sdk/ApiClient.java
index a1573df..fbab62a 100644
--- a/src/main/java/com/postfinancecheckout/sdk/ApiClient.java
+++ b/src/main/java/com/postfinancecheckout/sdk/ApiClient.java
@@ -23,14 +23,15 @@ public class ApiClient {
private final ObjectMapper objectMapper;
private final long userId;
private final String applicationKey;
+ public final static int READ_TIMEOUT = 20 * 1000;
// A reasonable default object mapper. Client can pass in a chosen ObjectMapper anyway, this is just for reasonable defaults.
private static ObjectMapper createDefaultObjectMapper() {
ObjectMapper objectMapper = new ObjectMapper()
.disable(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES)
.disable(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS)
- .setDateFormat(new RFC3339DateFormat());
- objectMapper.setSerializationInclusion(JsonInclude.Include.NON_NULL);
+ .setDateFormat(new RFC3339DateFormat())
+ .setSerializationInclusion(JsonInclude.Include.NON_NULL);
objectMapper.registerModule(new JavaTimeModule());
return objectMapper;
}
diff --git a/src/main/java/com/postfinancecheckout/sdk/RFC3339DateFormat.java b/src/main/java/com/postfinancecheckout/sdk/RFC3339DateFormat.java
index ca0e4e6..1ab93bf 100644
--- a/src/main/java/com/postfinancecheckout/sdk/RFC3339DateFormat.java
+++ b/src/main/java/com/postfinancecheckout/sdk/RFC3339DateFormat.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -18,19 +18,22 @@
package com.postfinancecheckout.sdk;
-import com.fasterxml.jackson.databind.util.ISO8601DateFormat;
-import com.fasterxml.jackson.databind.util.ISO8601Utils;
+import com.fasterxml.jackson.databind.util.StdDateFormat;
+import java.text.DateFormat;
import java.text.FieldPosition;
+import java.text.SimpleDateFormat;
import java.util.Date;
+import java.util.TimeZone;
-
-public class RFC3339DateFormat extends ISO8601DateFormat {
+public class RFC3339DateFormat extends StdDateFormat {
// Same as ISO8601DateFormat but serializing milliseconds.
@Override
public StringBuffer format(Date date, StringBuffer toAppendTo, FieldPosition fieldPosition) {
- String value = ISO8601Utils.format(date, true);
+ DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
+ dateFormat.setTimeZone(TimeZone.getTimeZone("GMT"));
+ String value = dateFormat.format(date);
toAppendTo.append(value);
return toAppendTo;
}
diff --git a/src/main/java/com/postfinancecheckout/sdk/StringUtil.java b/src/main/java/com/postfinancecheckout/sdk/StringUtil.java
index 92f0700..6cd757d 100644
--- a/src/main/java/com/postfinancecheckout/sdk/StringUtil.java
+++ b/src/main/java/com/postfinancecheckout/sdk/StringUtil.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/AbstractAccountUpdate.java b/src/main/java/com/postfinancecheckout/sdk/model/AbstractAccountUpdate.java
index 05dfc68..5e9e895 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/AbstractAccountUpdate.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/AbstractAccountUpdate.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/AbstractApplicationUserUpdate.java b/src/main/java/com/postfinancecheckout/sdk/model/AbstractApplicationUserUpdate.java
index 905807a..18a5dd9 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/AbstractApplicationUserUpdate.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/AbstractApplicationUserUpdate.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/AbstractCustomerActive.java b/src/main/java/com/postfinancecheckout/sdk/model/AbstractCustomerActive.java
index efbc803..ffa98cf 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/AbstractCustomerActive.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/AbstractCustomerActive.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/AbstractCustomerAddressActive.java b/src/main/java/com/postfinancecheckout/sdk/model/AbstractCustomerAddressActive.java
index 39d4d4c..7e0757b 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/AbstractCustomerAddressActive.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/AbstractCustomerAddressActive.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/AbstractCustomerCommentActive.java b/src/main/java/com/postfinancecheckout/sdk/model/AbstractCustomerCommentActive.java
index 9c76496..8a55272 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/AbstractCustomerCommentActive.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/AbstractCustomerCommentActive.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/AbstractHumanUserUpdate.java b/src/main/java/com/postfinancecheckout/sdk/model/AbstractHumanUserUpdate.java
index eb4edc2..9c92c7a 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/AbstractHumanUserUpdate.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/AbstractHumanUserUpdate.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/AbstractPaymentLinkUpdate.java b/src/main/java/com/postfinancecheckout/sdk/model/AbstractPaymentLinkUpdate.java
index 296a67d..47ac759 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/AbstractPaymentLinkUpdate.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/AbstractPaymentLinkUpdate.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/AbstractRefundCommentActive.java b/src/main/java/com/postfinancecheckout/sdk/model/AbstractRefundCommentActive.java
index d2a7011..ab577ac 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/AbstractRefundCommentActive.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/AbstractRefundCommentActive.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/AbstractSpaceUpdate.java b/src/main/java/com/postfinancecheckout/sdk/model/AbstractSpaceUpdate.java
index e6cf5c6..f272f40 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/AbstractSpaceUpdate.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/AbstractSpaceUpdate.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/AbstractTokenUpdate.java b/src/main/java/com/postfinancecheckout/sdk/model/AbstractTokenUpdate.java
index 329be36..a59cdf2 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/AbstractTokenUpdate.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/AbstractTokenUpdate.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/AbstractTransactionCommentActive.java b/src/main/java/com/postfinancecheckout/sdk/model/AbstractTransactionCommentActive.java
index 795a3ae..ce5f418 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/AbstractTransactionCommentActive.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/AbstractTransactionCommentActive.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/AbstractTransactionInvoiceCommentActive.java b/src/main/java/com/postfinancecheckout/sdk/model/AbstractTransactionInvoiceCommentActive.java
index b10840b..1b61224 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/AbstractTransactionInvoiceCommentActive.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/AbstractTransactionInvoiceCommentActive.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/AbstractTransactionPending.java b/src/main/java/com/postfinancecheckout/sdk/model/AbstractTransactionPending.java
index 72b6599..46b8943 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/AbstractTransactionPending.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/AbstractTransactionPending.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,6 +28,7 @@
import com.postfinancecheckout.sdk.model.LineItemCreate;
import com.postfinancecheckout.sdk.model.PaymentMethodBrand;
import com.postfinancecheckout.sdk.model.TokenizationMode;
+import com.postfinancecheckout.sdk.model.TransactionCompletionBehavior;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.ArrayList;
@@ -55,6 +56,10 @@ public class AbstractTransactionPending {
protected AddressCreate billingAddress = null;
+ @JsonProperty("completionBehavior")
+ protected TransactionCompletionBehavior completionBehavior = null;
+
+
@JsonProperty("currency")
protected String currency = null;
@@ -189,6 +194,25 @@ public void setBillingAddress(AddressCreate billingAddress) {
}
+ public AbstractTransactionPending completionBehavior(TransactionCompletionBehavior completionBehavior) {
+ this.completionBehavior = completionBehavior;
+ return this;
+ }
+
+ /**
+ * The completion behavior controls when the transaction is completed.
+ * @return completionBehavior
+ **/
+ @ApiModelProperty(value = "The completion behavior controls when the transaction is completed.")
+ public TransactionCompletionBehavior getCompletionBehavior() {
+ return completionBehavior;
+ }
+
+ public void setCompletionBehavior(TransactionCompletionBehavior completionBehavior) {
+ this.completionBehavior = completionBehavior;
+ }
+
+
public AbstractTransactionPending currency(String currency) {
this.currency = currency;
return this;
@@ -503,6 +527,7 @@ public boolean equals(java.lang.Object o) {
return Objects.equals(this.allowedPaymentMethodBrands, abstractTransactionPending.allowedPaymentMethodBrands) &&
Objects.equals(this.allowedPaymentMethodConfigurations, abstractTransactionPending.allowedPaymentMethodConfigurations) &&
Objects.equals(this.billingAddress, abstractTransactionPending.billingAddress) &&
+ Objects.equals(this.completionBehavior, abstractTransactionPending.completionBehavior) &&
Objects.equals(this.currency, abstractTransactionPending.currency) &&
Objects.equals(this.customerEmailAddress, abstractTransactionPending.customerEmailAddress) &&
Objects.equals(this.customerId, abstractTransactionPending.customerId) &&
@@ -522,7 +547,7 @@ public boolean equals(java.lang.Object o) {
@Override
public int hashCode() {
- return Objects.hash(allowedPaymentMethodBrands, allowedPaymentMethodConfigurations, billingAddress, currency, customerEmailAddress, customerId, failedUrl, invoiceMerchantReference, language, lineItems, merchantReference, metaData, shippingAddress, shippingMethod, successUrl, timeZone, token, tokenizationMode);
+ return Objects.hash(allowedPaymentMethodBrands, allowedPaymentMethodConfigurations, billingAddress, completionBehavior, currency, customerEmailAddress, customerId, failedUrl, invoiceMerchantReference, language, lineItems, merchantReference, metaData, shippingAddress, shippingMethod, successUrl, timeZone, token, tokenizationMode);
}
@@ -534,6 +559,7 @@ public String toString() {
sb.append(" allowedPaymentMethodBrands: ").append(toIndentedString(allowedPaymentMethodBrands)).append("\n");
sb.append(" allowedPaymentMethodConfigurations: ").append(toIndentedString(allowedPaymentMethodConfigurations)).append("\n");
sb.append(" billingAddress: ").append(toIndentedString(billingAddress)).append("\n");
+ sb.append(" completionBehavior: ").append(toIndentedString(completionBehavior)).append("\n");
sb.append(" currency: ").append(toIndentedString(currency)).append("\n");
sb.append(" customerEmailAddress: ").append(toIndentedString(customerEmailAddress)).append("\n");
sb.append(" customerId: ").append(toIndentedString(customerId)).append("\n");
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/AbstractWebhookListenerUpdate.java b/src/main/java/com/postfinancecheckout/sdk/model/AbstractWebhookListenerUpdate.java
index d1eb64d..5e936d0 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/AbstractWebhookListenerUpdate.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/AbstractWebhookListenerUpdate.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/AbstractWebhookUrlUpdate.java b/src/main/java/com/postfinancecheckout/sdk/model/AbstractWebhookUrlUpdate.java
index 251e352..8a3b5a7 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/AbstractWebhookUrlUpdate.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/AbstractWebhookUrlUpdate.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/Account.java b/src/main/java/com/postfinancecheckout/sdk/model/Account.java
index 4d800dc..dd69588 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/Account.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/Account.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -48,6 +48,14 @@ public class Account {
protected Boolean activeOrRestrictedActive = null;
+ @JsonProperty("createdBy")
+ protected Long createdBy = null;
+
+
+ @JsonProperty("createdOn")
+ protected OffsetDateTime createdOn = null;
+
+
@JsonProperty("deletedBy")
protected Long deletedBy = null;
@@ -121,6 +129,26 @@ public Boolean isActiveOrRestrictedActive() {
}
+ /**
+ * The ID of the user who created this entity.
+ * @return createdBy
+ **/
+ @ApiModelProperty(value = "The ID of the user who created this entity.")
+ public Long getCreatedBy() {
+ return createdBy;
+ }
+
+
+ /**
+ * The date and time when this entity was created.
+ * @return createdOn
+ **/
+ @ApiModelProperty(value = "The date and time when this entity was created.")
+ public OffsetDateTime getCreatedOn() {
+ return createdOn;
+ }
+
+
/**
* The ID of a user that deleted this entity.
* @return deletedBy
@@ -263,6 +291,8 @@ public boolean equals(java.lang.Object o) {
Account account = (Account) o;
return Objects.equals(this.active, account.active) &&
Objects.equals(this.activeOrRestrictedActive, account.activeOrRestrictedActive) &&
+ Objects.equals(this.createdBy, account.createdBy) &&
+ Objects.equals(this.createdOn, account.createdOn) &&
Objects.equals(this.deletedBy, account.deletedBy) &&
Objects.equals(this.deletedOn, account.deletedOn) &&
Objects.equals(this.id, account.id) &&
@@ -280,7 +310,7 @@ public boolean equals(java.lang.Object o) {
@Override
public int hashCode() {
- return Objects.hash(active, activeOrRestrictedActive, deletedBy, deletedOn, id, lastModifiedDate, name, parentAccount, plannedPurgeDate, restrictedActive, scope, state, subaccountLimit, type, version);
+ return Objects.hash(active, activeOrRestrictedActive, createdBy, createdOn, deletedBy, deletedOn, id, lastModifiedDate, name, parentAccount, plannedPurgeDate, restrictedActive, scope, state, subaccountLimit, type, version);
}
@@ -291,6 +321,8 @@ public String toString() {
sb.append(" active: ").append(toIndentedString(active)).append("\n");
sb.append(" activeOrRestrictedActive: ").append(toIndentedString(activeOrRestrictedActive)).append("\n");
+ sb.append(" createdBy: ").append(toIndentedString(createdBy)).append("\n");
+ sb.append(" createdOn: ").append(toIndentedString(createdOn)).append("\n");
sb.append(" deletedBy: ").append(toIndentedString(deletedBy)).append("\n");
sb.append(" deletedOn: ").append(toIndentedString(deletedOn)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/AccountCreate.java b/src/main/java/com/postfinancecheckout/sdk/model/AccountCreate.java
index 45f6683..1a17c6c 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/AccountCreate.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/AccountCreate.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -27,6 +27,7 @@
import com.postfinancecheckout.sdk.model.AbstractAccountUpdate;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
+import java.time.OffsetDateTime;
import java.util.*;
import java.time.OffsetDateTime;
@@ -94,17 +95,14 @@ public boolean equals(java.lang.Object o) {
return false;
}
AccountCreate accountCreate = (AccountCreate) o;
- return Objects.equals(this.lastModifiedDate, accountCreate.lastModifiedDate) &&
- Objects.equals(this.name, accountCreate.name) &&
- Objects.equals(this.subaccountLimit, accountCreate.subaccountLimit) &&
- Objects.equals(this.parentAccount, accountCreate.parentAccount) &&
+ return Objects.equals(this.parentAccount, accountCreate.parentAccount) &&
Objects.equals(this.scope, accountCreate.scope) &&
super.equals(o);
}
@Override
public int hashCode() {
- return Objects.hash(lastModifiedDate, name, subaccountLimit, parentAccount, scope, super.hashCode());
+ return Objects.hash(parentAccount, scope, super.hashCode());
}
@@ -113,9 +111,6 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AccountCreate {\n");
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
- sb.append(" lastModifiedDate: ").append(toIndentedString(lastModifiedDate)).append("\n");
- sb.append(" name: ").append(toIndentedString(name)).append("\n");
- sb.append(" subaccountLimit: ").append(toIndentedString(subaccountLimit)).append("\n");
sb.append(" parentAccount: ").append(toIndentedString(parentAccount)).append("\n");
sb.append(" scope: ").append(toIndentedString(scope)).append("\n");
sb.append("}");
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/AccountState.java b/src/main/java/com/postfinancecheckout/sdk/model/AccountState.java
index 13f1f4b..0e99c35 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/AccountState.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/AccountState.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/AccountType.java b/src/main/java/com/postfinancecheckout/sdk/model/AccountType.java
index e082a94..339a821 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/AccountType.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/AccountType.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/AccountUpdate.java b/src/main/java/com/postfinancecheckout/sdk/model/AccountUpdate.java
index 5a2a568..06e0a97 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/AccountUpdate.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/AccountUpdate.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -27,6 +27,7 @@
import com.postfinancecheckout.sdk.model.AbstractAccountUpdate;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
+import java.time.OffsetDateTime;
import java.util.*;
import java.time.OffsetDateTime;
@@ -94,17 +95,14 @@ public boolean equals(java.lang.Object o) {
return false;
}
AccountUpdate accountUpdate = (AccountUpdate) o;
- return Objects.equals(this.lastModifiedDate, accountUpdate.lastModifiedDate) &&
- Objects.equals(this.name, accountUpdate.name) &&
- Objects.equals(this.subaccountLimit, accountUpdate.subaccountLimit) &&
- Objects.equals(this.id, accountUpdate.id) &&
+ return Objects.equals(this.id, accountUpdate.id) &&
Objects.equals(this.version, accountUpdate.version) &&
super.equals(o);
}
@Override
public int hashCode() {
- return Objects.hash(lastModifiedDate, name, subaccountLimit, id, version, super.hashCode());
+ return Objects.hash(id, version, super.hashCode());
}
@@ -113,9 +111,6 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AccountUpdate {\n");
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
- sb.append(" lastModifiedDate: ").append(toIndentedString(lastModifiedDate)).append("\n");
- sb.append(" name: ").append(toIndentedString(name)).append("\n");
- sb.append(" subaccountLimit: ").append(toIndentedString(subaccountLimit)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" version: ").append(toIndentedString(version)).append("\n");
sb.append("}");
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/Address.java b/src/main/java/com/postfinancecheckout/sdk/model/Address.java
index 8283555..871ebaa 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/Address.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/Address.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/AddressCreate.java b/src/main/java/com/postfinancecheckout/sdk/model/AddressCreate.java
index 2d9f19b..2b8ddc1 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/AddressCreate.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/AddressCreate.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/ApplicationUser.java b/src/main/java/com/postfinancecheckout/sdk/model/ApplicationUser.java
index db0ad1d..d49f099 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/ApplicationUser.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/ApplicationUser.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -25,9 +25,13 @@
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import com.postfinancecheckout.sdk.model.Account;
+import com.postfinancecheckout.sdk.model.CreationEntityState;
+import com.postfinancecheckout.sdk.model.Scope;
import com.postfinancecheckout.sdk.model.User;
+import com.postfinancecheckout.sdk.model.UserType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
+import java.time.OffsetDateTime;
import java.util.*;
import java.time.OffsetDateTime;
@@ -50,6 +54,10 @@ public class ApplicationUser extends User {
protected Long requestLimit = null;
+ @JsonProperty("scope")
+ protected Scope scope = null;
+
+
/**
* The user name is used to identify the application user in administrative interfaces.
@@ -81,6 +89,16 @@ public Long getRequestLimit() {
}
+ /**
+ * The scope to which the user belongs to.
+ * @return scope
+ **/
+ @ApiModelProperty(value = "The scope to which the user belongs to.")
+ public Scope getScope() {
+ return scope;
+ }
+
+
@Override
public boolean equals(java.lang.Object o) {
@@ -91,21 +109,16 @@ public boolean equals(java.lang.Object o) {
return false;
}
ApplicationUser applicationUser = (ApplicationUser) o;
- return Objects.equals(this.id, applicationUser.id) &&
- Objects.equals(this.plannedPurgeDate, applicationUser.plannedPurgeDate) &&
- Objects.equals(this.scope, applicationUser.scope) &&
- Objects.equals(this.state, applicationUser.state) &&
- Objects.equals(this.userType, applicationUser.userType) &&
- Objects.equals(this.version, applicationUser.version) &&
- Objects.equals(this.name, applicationUser.name) &&
+ return Objects.equals(this.name, applicationUser.name) &&
Objects.equals(this.primaryAccount, applicationUser.primaryAccount) &&
Objects.equals(this.requestLimit, applicationUser.requestLimit) &&
+ Objects.equals(this.scope, applicationUser.scope) &&
super.equals(o);
}
@Override
public int hashCode() {
- return Objects.hash(id, plannedPurgeDate, scope, state, userType, version, name, primaryAccount, requestLimit, super.hashCode());
+ return Objects.hash(name, primaryAccount, requestLimit, scope, super.hashCode());
}
@@ -114,15 +127,10 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ApplicationUser {\n");
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
- sb.append(" id: ").append(toIndentedString(id)).append("\n");
- sb.append(" plannedPurgeDate: ").append(toIndentedString(plannedPurgeDate)).append("\n");
- sb.append(" scope: ").append(toIndentedString(scope)).append("\n");
- sb.append(" state: ").append(toIndentedString(state)).append("\n");
- sb.append(" userType: ").append(toIndentedString(userType)).append("\n");
- sb.append(" version: ").append(toIndentedString(version)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" primaryAccount: ").append(toIndentedString(primaryAccount)).append("\n");
sb.append(" requestLimit: ").append(toIndentedString(requestLimit)).append("\n");
+ sb.append(" scope: ").append(toIndentedString(scope)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/ApplicationUserCreate.java b/src/main/java/com/postfinancecheckout/sdk/model/ApplicationUserCreate.java
index 1ddb37a..06cc8ba 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/ApplicationUserCreate.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/ApplicationUserCreate.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -25,6 +25,7 @@
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import com.postfinancecheckout.sdk.model.AbstractApplicationUserUpdate;
+import com.postfinancecheckout.sdk.model.CreationEntityState;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.*;
@@ -71,16 +72,13 @@ public boolean equals(java.lang.Object o) {
return false;
}
ApplicationUserCreate applicationUserCreate = (ApplicationUserCreate) o;
- return Objects.equals(this.name, applicationUserCreate.name) &&
- Objects.equals(this.requestLimit, applicationUserCreate.requestLimit) &&
- Objects.equals(this.state, applicationUserCreate.state) &&
- Objects.equals(this.primaryAccount, applicationUserCreate.primaryAccount) &&
+ return Objects.equals(this.primaryAccount, applicationUserCreate.primaryAccount) &&
super.equals(o);
}
@Override
public int hashCode() {
- return Objects.hash(name, requestLimit, state, primaryAccount, super.hashCode());
+ return Objects.hash(primaryAccount, super.hashCode());
}
@@ -89,9 +87,6 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ApplicationUserCreate {\n");
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
- sb.append(" name: ").append(toIndentedString(name)).append("\n");
- sb.append(" requestLimit: ").append(toIndentedString(requestLimit)).append("\n");
- sb.append(" state: ").append(toIndentedString(state)).append("\n");
sb.append(" primaryAccount: ").append(toIndentedString(primaryAccount)).append("\n");
sb.append("}");
return sb.toString();
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/ApplicationUserCreateWithMacKey.java b/src/main/java/com/postfinancecheckout/sdk/model/ApplicationUserCreateWithMacKey.java
index a404952..7631a3e 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/ApplicationUserCreateWithMacKey.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/ApplicationUserCreateWithMacKey.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -24,9 +24,14 @@
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
+import com.postfinancecheckout.sdk.model.Account;
import com.postfinancecheckout.sdk.model.ApplicationUser;
+import com.postfinancecheckout.sdk.model.CreationEntityState;
+import com.postfinancecheckout.sdk.model.Scope;
+import com.postfinancecheckout.sdk.model.UserType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
+import java.time.OffsetDateTime;
import java.util.*;
import java.time.OffsetDateTime;
@@ -62,22 +67,13 @@ public boolean equals(java.lang.Object o) {
return false;
}
ApplicationUserCreateWithMacKey applicationUserCreateWithMacKey = (ApplicationUserCreateWithMacKey) o;
- return Objects.equals(this.id, applicationUserCreateWithMacKey.id) &&
- Objects.equals(this.plannedPurgeDate, applicationUserCreateWithMacKey.plannedPurgeDate) &&
- Objects.equals(this.scope, applicationUserCreateWithMacKey.scope) &&
- Objects.equals(this.state, applicationUserCreateWithMacKey.state) &&
- Objects.equals(this.userType, applicationUserCreateWithMacKey.userType) &&
- Objects.equals(this.version, applicationUserCreateWithMacKey.version) &&
- Objects.equals(this.name, applicationUserCreateWithMacKey.name) &&
- Objects.equals(this.primaryAccount, applicationUserCreateWithMacKey.primaryAccount) &&
- Objects.equals(this.requestLimit, applicationUserCreateWithMacKey.requestLimit) &&
- Objects.equals(this.macKey, applicationUserCreateWithMacKey.macKey) &&
+ return Objects.equals(this.macKey, applicationUserCreateWithMacKey.macKey) &&
super.equals(o);
}
@Override
public int hashCode() {
- return Objects.hash(id, plannedPurgeDate, scope, state, userType, version, name, primaryAccount, requestLimit, macKey, super.hashCode());
+ return Objects.hash(macKey, super.hashCode());
}
@@ -86,15 +82,6 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ApplicationUserCreateWithMacKey {\n");
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
- sb.append(" id: ").append(toIndentedString(id)).append("\n");
- sb.append(" plannedPurgeDate: ").append(toIndentedString(plannedPurgeDate)).append("\n");
- sb.append(" scope: ").append(toIndentedString(scope)).append("\n");
- sb.append(" state: ").append(toIndentedString(state)).append("\n");
- sb.append(" userType: ").append(toIndentedString(userType)).append("\n");
- sb.append(" version: ").append(toIndentedString(version)).append("\n");
- sb.append(" name: ").append(toIndentedString(name)).append("\n");
- sb.append(" primaryAccount: ").append(toIndentedString(primaryAccount)).append("\n");
- sb.append(" requestLimit: ").append(toIndentedString(requestLimit)).append("\n");
sb.append(" macKey: ").append(toIndentedString(macKey)).append("\n");
sb.append("}");
return sb.toString();
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/ApplicationUserUpdate.java b/src/main/java/com/postfinancecheckout/sdk/model/ApplicationUserUpdate.java
index 4e3aecd..e82e249 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/ApplicationUserUpdate.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/ApplicationUserUpdate.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -25,6 +25,7 @@
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import com.postfinancecheckout.sdk.model.AbstractApplicationUserUpdate;
+import com.postfinancecheckout.sdk.model.CreationEntityState;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.*;
@@ -94,17 +95,14 @@ public boolean equals(java.lang.Object o) {
return false;
}
ApplicationUserUpdate applicationUserUpdate = (ApplicationUserUpdate) o;
- return Objects.equals(this.name, applicationUserUpdate.name) &&
- Objects.equals(this.requestLimit, applicationUserUpdate.requestLimit) &&
- Objects.equals(this.state, applicationUserUpdate.state) &&
- Objects.equals(this.id, applicationUserUpdate.id) &&
+ return Objects.equals(this.id, applicationUserUpdate.id) &&
Objects.equals(this.version, applicationUserUpdate.version) &&
super.equals(o);
}
@Override
public int hashCode() {
- return Objects.hash(name, requestLimit, state, id, version, super.hashCode());
+ return Objects.hash(id, version, super.hashCode());
}
@@ -113,9 +111,6 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ApplicationUserUpdate {\n");
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
- sb.append(" name: ").append(toIndentedString(name)).append("\n");
- sb.append(" requestLimit: ").append(toIndentedString(requestLimit)).append("\n");
- sb.append(" state: ").append(toIndentedString(state)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" version: ").append(toIndentedString(version)).append("\n");
sb.append("}");
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/Charge.java b/src/main/java/com/postfinancecheckout/sdk/model/Charge.java
index 2d6ce14..7cf23d0 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/Charge.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/Charge.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -54,6 +54,10 @@ public class Charge extends TransactionAwareEntity {
protected String language = null;
+ @JsonProperty("linkedSpaceId")
+ protected Long linkedSpaceId = null;
+
+
@JsonProperty("plannedPurgeDate")
protected OffsetDateTime plannedPurgeDate = null;
@@ -121,6 +125,16 @@ public String getLanguage() {
}
+ /**
+ * The linked space id holds the ID of the space to which the entity belongs to.
+ * @return linkedSpaceId
+ **/
+ @ApiModelProperty(value = "The linked space id holds the ID of the space to which the entity belongs to.")
+ public Long getLinkedSpaceId() {
+ return linkedSpaceId;
+ }
+
+
/**
* The planned purge date indicates when the entity is permanently removed. When the date is null the entity is not planned to be removed.
* @return plannedPurgeDate
@@ -221,12 +235,10 @@ public boolean equals(java.lang.Object o) {
return false;
}
Charge charge = (Charge) o;
- return Objects.equals(this.id, charge.id) &&
- Objects.equals(this.linkedSpaceId, charge.linkedSpaceId) &&
- Objects.equals(this.linkedTransaction, charge.linkedTransaction) &&
- Objects.equals(this.createdOn, charge.createdOn) &&
+ return Objects.equals(this.createdOn, charge.createdOn) &&
Objects.equals(this.failureReason, charge.failureReason) &&
Objects.equals(this.language, charge.language) &&
+ Objects.equals(this.linkedSpaceId, charge.linkedSpaceId) &&
Objects.equals(this.plannedPurgeDate, charge.plannedPurgeDate) &&
Objects.equals(this.spaceViewId, charge.spaceViewId) &&
Objects.equals(this.state, charge.state) &&
@@ -241,7 +253,7 @@ public boolean equals(java.lang.Object o) {
@Override
public int hashCode() {
- return Objects.hash(id, linkedSpaceId, linkedTransaction, createdOn, failureReason, language, plannedPurgeDate, spaceViewId, state, timeZone, timeoutOn, transaction, type, userFailureMessage, version, super.hashCode());
+ return Objects.hash(createdOn, failureReason, language, linkedSpaceId, plannedPurgeDate, spaceViewId, state, timeZone, timeoutOn, transaction, type, userFailureMessage, version, super.hashCode());
}
@@ -250,12 +262,10 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Charge {\n");
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
- sb.append(" id: ").append(toIndentedString(id)).append("\n");
- sb.append(" linkedSpaceId: ").append(toIndentedString(linkedSpaceId)).append("\n");
- sb.append(" linkedTransaction: ").append(toIndentedString(linkedTransaction)).append("\n");
sb.append(" createdOn: ").append(toIndentedString(createdOn)).append("\n");
sb.append(" failureReason: ").append(toIndentedString(failureReason)).append("\n");
sb.append(" language: ").append(toIndentedString(language)).append("\n");
+ sb.append(" linkedSpaceId: ").append(toIndentedString(linkedSpaceId)).append("\n");
sb.append(" plannedPurgeDate: ").append(toIndentedString(plannedPurgeDate)).append("\n");
sb.append(" spaceViewId: ").append(toIndentedString(spaceViewId)).append("\n");
sb.append(" state: ").append(toIndentedString(state)).append("\n");
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/ChargeAttempt.java b/src/main/java/com/postfinancecheckout/sdk/model/ChargeAttempt.java
index 0c2aac4..b700a57 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/ChargeAttempt.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/ChargeAttempt.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -34,6 +34,7 @@
import com.postfinancecheckout.sdk.model.PaymentTerminal;
import com.postfinancecheckout.sdk.model.TokenVersion;
import com.postfinancecheckout.sdk.model.TransactionAwareEntity;
+import com.postfinancecheckout.sdk.model.TransactionCompletionBehavior;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.time.OffsetDateTime;
@@ -53,6 +54,10 @@ public class ChargeAttempt extends TransactionAwareEntity {
protected Charge charge = null;
+ @JsonProperty("completionBehavior")
+ protected TransactionCompletionBehavior completionBehavior = null;
+
+
@JsonProperty("connectorConfiguration")
protected PaymentConnectorConfiguration connectorConfiguration = null;
@@ -89,6 +94,10 @@ public class ChargeAttempt extends TransactionAwareEntity {
protected String language = null;
+ @JsonProperty("linkedSpaceId")
+ protected Long linkedSpaceId = null;
+
+
@JsonProperty("nextUpdateOn")
protected OffsetDateTime nextUpdateOn = null;
@@ -152,6 +161,16 @@ public Charge getCharge() {
}
+ /**
+ *
+ * @return completionBehavior
+ **/
+ @ApiModelProperty(value = "")
+ public TransactionCompletionBehavior getCompletionBehavior() {
+ return completionBehavior;
+ }
+
+
/**
*
* @return connectorConfiguration
@@ -242,6 +261,16 @@ public String getLanguage() {
}
+ /**
+ * The linked space id holds the ID of the space to which the entity belongs to.
+ * @return linkedSpaceId
+ **/
+ @ApiModelProperty(value = "The linked space id holds the ID of the space to which the entity belongs to.")
+ public Long getLinkedSpaceId() {
+ return linkedSpaceId;
+ }
+
+
/**
*
* @return nextUpdateOn
@@ -382,10 +411,8 @@ public boolean equals(java.lang.Object o) {
return false;
}
ChargeAttempt chargeAttempt = (ChargeAttempt) o;
- return Objects.equals(this.id, chargeAttempt.id) &&
- Objects.equals(this.linkedSpaceId, chargeAttempt.linkedSpaceId) &&
- Objects.equals(this.linkedTransaction, chargeAttempt.linkedTransaction) &&
- Objects.equals(this.charge, chargeAttempt.charge) &&
+ return Objects.equals(this.charge, chargeAttempt.charge) &&
+ Objects.equals(this.completionBehavior, chargeAttempt.completionBehavior) &&
Objects.equals(this.connectorConfiguration, chargeAttempt.connectorConfiguration) &&
Objects.equals(this.createdOn, chargeAttempt.createdOn) &&
Objects.equals(this.environment, chargeAttempt.environment) &&
@@ -395,6 +422,7 @@ public boolean equals(java.lang.Object o) {
Objects.equals(this.invocation, chargeAttempt.invocation) &&
Objects.equals(this.labels, chargeAttempt.labels) &&
Objects.equals(this.language, chargeAttempt.language) &&
+ Objects.equals(this.linkedSpaceId, chargeAttempt.linkedSpaceId) &&
Objects.equals(this.nextUpdateOn, chargeAttempt.nextUpdateOn) &&
Objects.equals(this.plannedPurgeDate, chargeAttempt.plannedPurgeDate) &&
Objects.equals(this.redirectionUrl, chargeAttempt.redirectionUrl) &&
@@ -413,7 +441,7 @@ public boolean equals(java.lang.Object o) {
@Override
public int hashCode() {
- return Objects.hash(id, linkedSpaceId, linkedTransaction, charge, connectorConfiguration, createdOn, environment, failedOn, failureReason, initializingTokenVersion, invocation, labels, language, nextUpdateOn, plannedPurgeDate, redirectionUrl, salesChannel, spaceViewId, state, succeededOn, terminal, timeZone, timeoutOn, tokenVersion, userFailureMessage, version, super.hashCode());
+ return Objects.hash(charge, completionBehavior, connectorConfiguration, createdOn, environment, failedOn, failureReason, initializingTokenVersion, invocation, labels, language, linkedSpaceId, nextUpdateOn, plannedPurgeDate, redirectionUrl, salesChannel, spaceViewId, state, succeededOn, terminal, timeZone, timeoutOn, tokenVersion, userFailureMessage, version, super.hashCode());
}
@@ -422,10 +450,8 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ChargeAttempt {\n");
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
- sb.append(" id: ").append(toIndentedString(id)).append("\n");
- sb.append(" linkedSpaceId: ").append(toIndentedString(linkedSpaceId)).append("\n");
- sb.append(" linkedTransaction: ").append(toIndentedString(linkedTransaction)).append("\n");
sb.append(" charge: ").append(toIndentedString(charge)).append("\n");
+ sb.append(" completionBehavior: ").append(toIndentedString(completionBehavior)).append("\n");
sb.append(" connectorConfiguration: ").append(toIndentedString(connectorConfiguration)).append("\n");
sb.append(" createdOn: ").append(toIndentedString(createdOn)).append("\n");
sb.append(" environment: ").append(toIndentedString(environment)).append("\n");
@@ -435,6 +461,7 @@ public String toString() {
sb.append(" invocation: ").append(toIndentedString(invocation)).append("\n");
sb.append(" labels: ").append(toIndentedString(labels)).append("\n");
sb.append(" language: ").append(toIndentedString(language)).append("\n");
+ sb.append(" linkedSpaceId: ").append(toIndentedString(linkedSpaceId)).append("\n");
sb.append(" nextUpdateOn: ").append(toIndentedString(nextUpdateOn)).append("\n");
sb.append(" plannedPurgeDate: ").append(toIndentedString(plannedPurgeDate)).append("\n");
sb.append(" redirectionUrl: ").append(toIndentedString(redirectionUrl)).append("\n");
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/ChargeAttemptEnvironment.java b/src/main/java/com/postfinancecheckout/sdk/model/ChargeAttemptEnvironment.java
index cbced4f..77b21c7 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/ChargeAttemptEnvironment.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/ChargeAttemptEnvironment.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/ChargeAttemptState.java b/src/main/java/com/postfinancecheckout/sdk/model/ChargeAttemptState.java
index aaea1c3..a775cfe 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/ChargeAttemptState.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/ChargeAttemptState.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/ChargeFlow.java b/src/main/java/com/postfinancecheckout/sdk/model/ChargeFlow.java
index 2b8e3a0..ce40ac8 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/ChargeFlow.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/ChargeFlow.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/ChargeFlowLevel.java b/src/main/java/com/postfinancecheckout/sdk/model/ChargeFlowLevel.java
index 89df2fa..b8c866f 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/ChargeFlowLevel.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/ChargeFlowLevel.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -53,6 +53,10 @@ public class ChargeFlowLevel extends TransactionAwareEntity {
protected OffsetDateTime createdOn = null;
+ @JsonProperty("linkedSpaceId")
+ protected Long linkedSpaceId = null;
+
+
@JsonProperty("plannedPurgeDate")
protected OffsetDateTime plannedPurgeDate = null;
@@ -112,6 +116,16 @@ public OffsetDateTime getCreatedOn() {
}
+ /**
+ * The linked space id holds the ID of the space to which the entity belongs to.
+ * @return linkedSpaceId
+ **/
+ @ApiModelProperty(value = "The linked space id holds the ID of the space to which the entity belongs to.")
+ public Long getLinkedSpaceId() {
+ return linkedSpaceId;
+ }
+
+
/**
* The planned purge date indicates when the entity is permanently removed. When the date is null the entity is not planned to be removed.
* @return plannedPurgeDate
@@ -192,12 +206,10 @@ public boolean equals(java.lang.Object o) {
return false;
}
ChargeFlowLevel chargeFlowLevel = (ChargeFlowLevel) o;
- return Objects.equals(this.id, chargeFlowLevel.id) &&
- Objects.equals(this.linkedSpaceId, chargeFlowLevel.linkedSpaceId) &&
- Objects.equals(this.linkedTransaction, chargeFlowLevel.linkedTransaction) &&
- Objects.equals(this.asynchronousCharge, chargeFlowLevel.asynchronousCharge) &&
+ return Objects.equals(this.asynchronousCharge, chargeFlowLevel.asynchronousCharge) &&
Objects.equals(this._configuration, chargeFlowLevel._configuration) &&
Objects.equals(this.createdOn, chargeFlowLevel.createdOn) &&
+ Objects.equals(this.linkedSpaceId, chargeFlowLevel.linkedSpaceId) &&
Objects.equals(this.plannedPurgeDate, chargeFlowLevel.plannedPurgeDate) &&
Objects.equals(this.state, chargeFlowLevel.state) &&
Objects.equals(this.synchronousCharge, chargeFlowLevel.synchronousCharge) &&
@@ -210,7 +222,7 @@ public boolean equals(java.lang.Object o) {
@Override
public int hashCode() {
- return Objects.hash(id, linkedSpaceId, linkedTransaction, asynchronousCharge, _configuration, createdOn, plannedPurgeDate, state, synchronousCharge, timeoutOn, tokenCharge, transaction, version, super.hashCode());
+ return Objects.hash(asynchronousCharge, _configuration, createdOn, linkedSpaceId, plannedPurgeDate, state, synchronousCharge, timeoutOn, tokenCharge, transaction, version, super.hashCode());
}
@@ -219,12 +231,10 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ChargeFlowLevel {\n");
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
- sb.append(" id: ").append(toIndentedString(id)).append("\n");
- sb.append(" linkedSpaceId: ").append(toIndentedString(linkedSpaceId)).append("\n");
- sb.append(" linkedTransaction: ").append(toIndentedString(linkedTransaction)).append("\n");
sb.append(" asynchronousCharge: ").append(toIndentedString(asynchronousCharge)).append("\n");
sb.append(" _configuration: ").append(toIndentedString(_configuration)).append("\n");
sb.append(" createdOn: ").append(toIndentedString(createdOn)).append("\n");
+ sb.append(" linkedSpaceId: ").append(toIndentedString(linkedSpaceId)).append("\n");
sb.append(" plannedPurgeDate: ").append(toIndentedString(plannedPurgeDate)).append("\n");
sb.append(" state: ").append(toIndentedString(state)).append("\n");
sb.append(" synchronousCharge: ").append(toIndentedString(synchronousCharge)).append("\n");
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/ChargeFlowLevelConfiguration.java b/src/main/java/com/postfinancecheckout/sdk/model/ChargeFlowLevelConfiguration.java
index 02bfaed..500049d 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/ChargeFlowLevelConfiguration.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/ChargeFlowLevelConfiguration.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/ChargeFlowLevelConfigurationType.java b/src/main/java/com/postfinancecheckout/sdk/model/ChargeFlowLevelConfigurationType.java
index dd6e81b..b61883b 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/ChargeFlowLevelConfigurationType.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/ChargeFlowLevelConfigurationType.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/ChargeFlowLevelPaymentLink.java b/src/main/java/com/postfinancecheckout/sdk/model/ChargeFlowLevelPaymentLink.java
index 09b7bc3..2ee0ad2 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/ChargeFlowLevelPaymentLink.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/ChargeFlowLevelPaymentLink.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -42,6 +42,10 @@ public class ChargeFlowLevelPaymentLink extends TransactionAwareEntity {
protected ChargeFlowLevel chargeFlowLevel = null;
+ @JsonProperty("linkedSpaceId")
+ protected Long linkedSpaceId = null;
+
+
@JsonProperty("paymentLink")
protected String paymentLink = null;
@@ -57,6 +61,16 @@ public ChargeFlowLevel getChargeFlowLevel() {
}
+ /**
+ * The linked space id holds the ID of the space to which the entity belongs to.
+ * @return linkedSpaceId
+ **/
+ @ApiModelProperty(value = "The linked space id holds the ID of the space to which the entity belongs to.")
+ public Long getLinkedSpaceId() {
+ return linkedSpaceId;
+ }
+
+
/**
*
* @return paymentLink
@@ -77,17 +91,15 @@ public boolean equals(java.lang.Object o) {
return false;
}
ChargeFlowLevelPaymentLink chargeFlowLevelPaymentLink = (ChargeFlowLevelPaymentLink) o;
- return Objects.equals(this.id, chargeFlowLevelPaymentLink.id) &&
+ return Objects.equals(this.chargeFlowLevel, chargeFlowLevelPaymentLink.chargeFlowLevel) &&
Objects.equals(this.linkedSpaceId, chargeFlowLevelPaymentLink.linkedSpaceId) &&
- Objects.equals(this.linkedTransaction, chargeFlowLevelPaymentLink.linkedTransaction) &&
- Objects.equals(this.chargeFlowLevel, chargeFlowLevelPaymentLink.chargeFlowLevel) &&
Objects.equals(this.paymentLink, chargeFlowLevelPaymentLink.paymentLink) &&
super.equals(o);
}
@Override
public int hashCode() {
- return Objects.hash(id, linkedSpaceId, linkedTransaction, chargeFlowLevel, paymentLink, super.hashCode());
+ return Objects.hash(chargeFlowLevel, linkedSpaceId, paymentLink, super.hashCode());
}
@@ -96,10 +108,8 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ChargeFlowLevelPaymentLink {\n");
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
- sb.append(" id: ").append(toIndentedString(id)).append("\n");
- sb.append(" linkedSpaceId: ").append(toIndentedString(linkedSpaceId)).append("\n");
- sb.append(" linkedTransaction: ").append(toIndentedString(linkedTransaction)).append("\n");
sb.append(" chargeFlowLevel: ").append(toIndentedString(chargeFlowLevel)).append("\n");
+ sb.append(" linkedSpaceId: ").append(toIndentedString(linkedSpaceId)).append("\n");
sb.append(" paymentLink: ").append(toIndentedString(paymentLink)).append("\n");
sb.append("}");
return sb.toString();
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/ChargeFlowLevelState.java b/src/main/java/com/postfinancecheckout/sdk/model/ChargeFlowLevelState.java
index d7d68f5..5505bb6 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/ChargeFlowLevelState.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/ChargeFlowLevelState.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/ChargeState.java b/src/main/java/com/postfinancecheckout/sdk/model/ChargeState.java
index 18acd96..6151930 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/ChargeState.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/ChargeState.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/ChargeType.java b/src/main/java/com/postfinancecheckout/sdk/model/ChargeType.java
index 59a5b42..1d454cb 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/ChargeType.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/ChargeType.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/ClientError.java b/src/main/java/com/postfinancecheckout/sdk/model/ClientError.java
index a46f4ed..a9bf3f9 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/ClientError.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/ClientError.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/ClientErrorType.java b/src/main/java/com/postfinancecheckout/sdk/model/ClientErrorType.java
index 7c7a917..b5c2cc1 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/ClientErrorType.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/ClientErrorType.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/CompletionLineItem.java b/src/main/java/com/postfinancecheckout/sdk/model/CompletionLineItem.java
index 515e399..fae7bbc 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/CompletionLineItem.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/CompletionLineItem.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/CompletionLineItemCreate.java b/src/main/java/com/postfinancecheckout/sdk/model/CompletionLineItemCreate.java
index 710f441..9701e20 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/CompletionLineItemCreate.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/CompletionLineItemCreate.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/Condition.java b/src/main/java/com/postfinancecheckout/sdk/model/Condition.java
index 9f757d1..2dc3411 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/Condition.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/Condition.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/ConditionType.java b/src/main/java/com/postfinancecheckout/sdk/model/ConditionType.java
index 816febf..aae9dc4 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/ConditionType.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/ConditionType.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/ConnectorInvocation.java b/src/main/java/com/postfinancecheckout/sdk/model/ConnectorInvocation.java
index 3aa5784..2ee1726 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/ConnectorInvocation.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/ConnectorInvocation.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -43,6 +43,10 @@ public class ConnectorInvocation extends TransactionAwareEntity {
protected OffsetDateTime createdOn = null;
+ @JsonProperty("linkedSpaceId")
+ protected Long linkedSpaceId = null;
+
+
@JsonProperty("plannedPurgeDate")
protected OffsetDateTime plannedPurgeDate = null;
@@ -74,6 +78,16 @@ public OffsetDateTime getCreatedOn() {
}
+ /**
+ * The linked space id holds the ID of the space to which the entity belongs to.
+ * @return linkedSpaceId
+ **/
+ @ApiModelProperty(value = "The linked space id holds the ID of the space to which the entity belongs to.")
+ public Long getLinkedSpaceId() {
+ return linkedSpaceId;
+ }
+
+
/**
* The planned purge date indicates when the entity is permanently removed. When the date is null the entity is not planned to be removed.
* @return plannedPurgeDate
@@ -134,10 +148,8 @@ public boolean equals(java.lang.Object o) {
return false;
}
ConnectorInvocation connectorInvocation = (ConnectorInvocation) o;
- return Objects.equals(this.id, connectorInvocation.id) &&
+ return Objects.equals(this.createdOn, connectorInvocation.createdOn) &&
Objects.equals(this.linkedSpaceId, connectorInvocation.linkedSpaceId) &&
- Objects.equals(this.linkedTransaction, connectorInvocation.linkedTransaction) &&
- Objects.equals(this.createdOn, connectorInvocation.createdOn) &&
Objects.equals(this.plannedPurgeDate, connectorInvocation.plannedPurgeDate) &&
Objects.equals(this.stage, connectorInvocation.stage) &&
Objects.equals(this.timeTookInMilliseconds, connectorInvocation.timeTookInMilliseconds) &&
@@ -148,7 +160,7 @@ public boolean equals(java.lang.Object o) {
@Override
public int hashCode() {
- return Objects.hash(id, linkedSpaceId, linkedTransaction, createdOn, plannedPurgeDate, stage, timeTookInMilliseconds, transaction, version, super.hashCode());
+ return Objects.hash(createdOn, linkedSpaceId, plannedPurgeDate, stage, timeTookInMilliseconds, transaction, version, super.hashCode());
}
@@ -157,10 +169,8 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ConnectorInvocation {\n");
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
- sb.append(" id: ").append(toIndentedString(id)).append("\n");
- sb.append(" linkedSpaceId: ").append(toIndentedString(linkedSpaceId)).append("\n");
- sb.append(" linkedTransaction: ").append(toIndentedString(linkedTransaction)).append("\n");
sb.append(" createdOn: ").append(toIndentedString(createdOn)).append("\n");
+ sb.append(" linkedSpaceId: ").append(toIndentedString(linkedSpaceId)).append("\n");
sb.append(" plannedPurgeDate: ").append(toIndentedString(plannedPurgeDate)).append("\n");
sb.append(" stage: ").append(toIndentedString(stage)).append("\n");
sb.append(" timeTookInMilliseconds: ").append(toIndentedString(timeTookInMilliseconds)).append("\n");
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/ConnectorInvocationStage.java b/src/main/java/com/postfinancecheckout/sdk/model/ConnectorInvocationStage.java
index ef85e60..56a8038 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/ConnectorInvocationStage.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/ConnectorInvocationStage.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/CreationEntityState.java b/src/main/java/com/postfinancecheckout/sdk/model/CreationEntityState.java
index aeb002d..8231b3a 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/CreationEntityState.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/CreationEntityState.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/CriteriaOperator.java b/src/main/java/com/postfinancecheckout/sdk/model/CriteriaOperator.java
index b4b8a79..c449202 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/CriteriaOperator.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/CriteriaOperator.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/Customer.java b/src/main/java/com/postfinancecheckout/sdk/model/Customer.java
index 0218f31..5a1bb06 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/Customer.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/Customer.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/CustomerActive.java b/src/main/java/com/postfinancecheckout/sdk/model/CustomerActive.java
index a66bbe6..7f700a8 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/CustomerActive.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/CustomerActive.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -27,7 +27,8 @@
import com.postfinancecheckout.sdk.model.AbstractCustomerActive;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
-import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
import java.util.*;
import java.time.OffsetDateTime;
@@ -95,21 +96,14 @@ public boolean equals(java.lang.Object o) {
return false;
}
CustomerActive customerActive = (CustomerActive) o;
- return Objects.equals(this.customerId, customerActive.customerId) &&
- Objects.equals(this.emailAddress, customerActive.emailAddress) &&
- Objects.equals(this.familyName, customerActive.familyName) &&
- Objects.equals(this.givenName, customerActive.givenName) &&
- Objects.equals(this.language, customerActive.language) &&
- Objects.equals(this.metaData, customerActive.metaData) &&
- Objects.equals(this.preferredCurrency, customerActive.preferredCurrency) &&
- Objects.equals(this.id, customerActive.id) &&
+ return Objects.equals(this.id, customerActive.id) &&
Objects.equals(this.version, customerActive.version) &&
super.equals(o);
}
@Override
public int hashCode() {
- return Objects.hash(customerId, emailAddress, familyName, givenName, language, metaData, preferredCurrency, id, version, super.hashCode());
+ return Objects.hash(id, version, super.hashCode());
}
@@ -118,13 +112,6 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CustomerActive {\n");
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
- sb.append(" customerId: ").append(toIndentedString(customerId)).append("\n");
- sb.append(" emailAddress: ").append(toIndentedString(emailAddress)).append("\n");
- sb.append(" familyName: ").append(toIndentedString(familyName)).append("\n");
- sb.append(" givenName: ").append(toIndentedString(givenName)).append("\n");
- sb.append(" language: ").append(toIndentedString(language)).append("\n");
- sb.append(" metaData: ").append(toIndentedString(metaData)).append("\n");
- sb.append(" preferredCurrency: ").append(toIndentedString(preferredCurrency)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" version: ").append(toIndentedString(version)).append("\n");
sb.append("}");
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/CustomerAddress.java b/src/main/java/com/postfinancecheckout/sdk/model/CustomerAddress.java
index c3272ac..34bf4d4 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/CustomerAddress.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/CustomerAddress.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/CustomerAddressActive.java b/src/main/java/com/postfinancecheckout/sdk/model/CustomerAddressActive.java
index 6b6cfe2..3e49f4e 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/CustomerAddressActive.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/CustomerAddressActive.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -25,6 +25,8 @@
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import com.postfinancecheckout.sdk.model.AbstractCustomerAddressActive;
+import com.postfinancecheckout.sdk.model.CustomerAddressType;
+import com.postfinancecheckout.sdk.model.CustomerPostalAddressCreate;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.*;
@@ -94,16 +96,14 @@ public boolean equals(java.lang.Object o) {
return false;
}
CustomerAddressActive customerAddressActive = (CustomerAddressActive) o;
- return Objects.equals(this.address, customerAddressActive.address) &&
- Objects.equals(this.addressType, customerAddressActive.addressType) &&
- Objects.equals(this.id, customerAddressActive.id) &&
+ return Objects.equals(this.id, customerAddressActive.id) &&
Objects.equals(this.version, customerAddressActive.version) &&
super.equals(o);
}
@Override
public int hashCode() {
- return Objects.hash(address, addressType, id, version, super.hashCode());
+ return Objects.hash(id, version, super.hashCode());
}
@@ -112,8 +112,6 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CustomerAddressActive {\n");
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
- sb.append(" address: ").append(toIndentedString(address)).append("\n");
- sb.append(" addressType: ").append(toIndentedString(addressType)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" version: ").append(toIndentedString(version)).append("\n");
sb.append("}");
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/CustomerAddressCreate.java b/src/main/java/com/postfinancecheckout/sdk/model/CustomerAddressCreate.java
index f65f77e..c57b682 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/CustomerAddressCreate.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/CustomerAddressCreate.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -25,6 +25,8 @@
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import com.postfinancecheckout.sdk.model.AbstractCustomerAddressActive;
+import com.postfinancecheckout.sdk.model.CustomerAddressType;
+import com.postfinancecheckout.sdk.model.CustomerPostalAddressCreate;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.*;
@@ -71,15 +73,13 @@ public boolean equals(java.lang.Object o) {
return false;
}
CustomerAddressCreate customerAddressCreate = (CustomerAddressCreate) o;
- return Objects.equals(this.address, customerAddressCreate.address) &&
- Objects.equals(this.addressType, customerAddressCreate.addressType) &&
- Objects.equals(this.customer, customerAddressCreate.customer) &&
+ return Objects.equals(this.customer, customerAddressCreate.customer) &&
super.equals(o);
}
@Override
public int hashCode() {
- return Objects.hash(address, addressType, customer, super.hashCode());
+ return Objects.hash(customer, super.hashCode());
}
@@ -88,8 +88,6 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CustomerAddressCreate {\n");
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
- sb.append(" address: ").append(toIndentedString(address)).append("\n");
- sb.append(" addressType: ").append(toIndentedString(addressType)).append("\n");
sb.append(" customer: ").append(toIndentedString(customer)).append("\n");
sb.append("}");
return sb.toString();
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/CustomerAddressType.java b/src/main/java/com/postfinancecheckout/sdk/model/CustomerAddressType.java
index fdf4e05..1100a87 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/CustomerAddressType.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/CustomerAddressType.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/CustomerComment.java b/src/main/java/com/postfinancecheckout/sdk/model/CustomerComment.java
index d1c30be..0583e59 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/CustomerComment.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/CustomerComment.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/CustomerCommentActive.java b/src/main/java/com/postfinancecheckout/sdk/model/CustomerCommentActive.java
index 82a2d3b..9290ebf 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/CustomerCommentActive.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/CustomerCommentActive.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -94,15 +94,14 @@ public boolean equals(java.lang.Object o) {
return false;
}
CustomerCommentActive customerCommentActive = (CustomerCommentActive) o;
- return Objects.equals(this.content, customerCommentActive.content) &&
- Objects.equals(this.id, customerCommentActive.id) &&
+ return Objects.equals(this.id, customerCommentActive.id) &&
Objects.equals(this.version, customerCommentActive.version) &&
super.equals(o);
}
@Override
public int hashCode() {
- return Objects.hash(content, id, version, super.hashCode());
+ return Objects.hash(id, version, super.hashCode());
}
@@ -111,7 +110,6 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CustomerCommentActive {\n");
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
- sb.append(" content: ").append(toIndentedString(content)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" version: ").append(toIndentedString(version)).append("\n");
sb.append("}");
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/CustomerCommentCreate.java b/src/main/java/com/postfinancecheckout/sdk/model/CustomerCommentCreate.java
index f9827c2..7196e33 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/CustomerCommentCreate.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/CustomerCommentCreate.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -71,14 +71,13 @@ public boolean equals(java.lang.Object o) {
return false;
}
CustomerCommentCreate customerCommentCreate = (CustomerCommentCreate) o;
- return Objects.equals(this.content, customerCommentCreate.content) &&
- Objects.equals(this.customer, customerCommentCreate.customer) &&
+ return Objects.equals(this.customer, customerCommentCreate.customer) &&
super.equals(o);
}
@Override
public int hashCode() {
- return Objects.hash(content, customer, super.hashCode());
+ return Objects.hash(customer, super.hashCode());
}
@@ -87,7 +86,6 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CustomerCommentCreate {\n");
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
- sb.append(" content: ").append(toIndentedString(content)).append("\n");
sb.append(" customer: ").append(toIndentedString(customer)).append("\n");
sb.append("}");
return sb.toString();
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/CustomerCreate.java b/src/main/java/com/postfinancecheckout/sdk/model/CustomerCreate.java
index 273bf7e..77498fe 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/CustomerCreate.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/CustomerCreate.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -21,13 +21,10 @@
import java.util.Objects;
import java.util.Arrays;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.fasterxml.jackson.annotation.JsonCreator;
-import com.fasterxml.jackson.annotation.JsonValue;
import com.postfinancecheckout.sdk.model.AbstractCustomerActive;
import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
import java.util.*;
import java.time.OffsetDateTime;
@@ -48,20 +45,12 @@ public boolean equals(java.lang.Object o) {
if (o == null || getClass() != o.getClass()) {
return false;
}
- CustomerCreate customerCreate = (CustomerCreate) o;
- return Objects.equals(this.customerId, customerCreate.customerId) &&
- Objects.equals(this.emailAddress, customerCreate.emailAddress) &&
- Objects.equals(this.familyName, customerCreate.familyName) &&
- Objects.equals(this.givenName, customerCreate.givenName) &&
- Objects.equals(this.language, customerCreate.language) &&
- Objects.equals(this.metaData, customerCreate.metaData) &&
- Objects.equals(this.preferredCurrency, customerCreate.preferredCurrency) &&
- super.equals(o);
+ return super.equals(o);
}
@Override
public int hashCode() {
- return Objects.hash(customerId, emailAddress, familyName, givenName, language, metaData, preferredCurrency, super.hashCode());
+ return Objects.hash(super.hashCode());
}
@@ -70,13 +59,6 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CustomerCreate {\n");
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
- sb.append(" customerId: ").append(toIndentedString(customerId)).append("\n");
- sb.append(" emailAddress: ").append(toIndentedString(emailAddress)).append("\n");
- sb.append(" familyName: ").append(toIndentedString(familyName)).append("\n");
- sb.append(" givenName: ").append(toIndentedString(givenName)).append("\n");
- sb.append(" language: ").append(toIndentedString(language)).append("\n");
- sb.append(" metaData: ").append(toIndentedString(metaData)).append("\n");
- sb.append(" preferredCurrency: ").append(toIndentedString(preferredCurrency)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/CustomerPostalAddress.java b/src/main/java/com/postfinancecheckout/sdk/model/CustomerPostalAddress.java
index 8946a67..2e20b55 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/CustomerPostalAddress.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/CustomerPostalAddress.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/CustomerPostalAddressCreate.java b/src/main/java/com/postfinancecheckout/sdk/model/CustomerPostalAddressCreate.java
index 34d0233..5abfbbf 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/CustomerPostalAddressCreate.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/CustomerPostalAddressCreate.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/CustomersPresence.java b/src/main/java/com/postfinancecheckout/sdk/model/CustomersPresence.java
index d966f49..0e568ed 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/CustomersPresence.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/CustomersPresence.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/DataCollectionType.java b/src/main/java/com/postfinancecheckout/sdk/model/DataCollectionType.java
index 7d075c3..0fbf98d 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/DataCollectionType.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/DataCollectionType.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/DatabaseTranslatedString.java b/src/main/java/com/postfinancecheckout/sdk/model/DatabaseTranslatedString.java
index 48bca2b..8c67bf5 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/DatabaseTranslatedString.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/DatabaseTranslatedString.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/DatabaseTranslatedStringItem.java b/src/main/java/com/postfinancecheckout/sdk/model/DatabaseTranslatedStringItem.java
index 63248e9..e508e39 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/DatabaseTranslatedStringItem.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/DatabaseTranslatedStringItem.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/DeliveryIndication.java b/src/main/java/com/postfinancecheckout/sdk/model/DeliveryIndication.java
index f2da92d..e10cc80 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/DeliveryIndication.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/DeliveryIndication.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -57,6 +57,10 @@ public class DeliveryIndication extends TransactionAwareEntity {
protected OffsetDateTime createdOn = null;
+ @JsonProperty("linkedSpaceId")
+ protected Long linkedSpaceId = null;
+
+
@JsonProperty("manualDecisionTimeoutOn")
protected OffsetDateTime manualDecisionTimeoutOn = null;
@@ -126,6 +130,16 @@ public OffsetDateTime getCreatedOn() {
}
+ /**
+ * The linked space id holds the ID of the space to which the entity belongs to.
+ * @return linkedSpaceId
+ **/
+ @ApiModelProperty(value = "The linked space id holds the ID of the space to which the entity belongs to.")
+ public Long getLinkedSpaceId() {
+ return linkedSpaceId;
+ }
+
+
/**
*
* @return manualDecisionTimeoutOn
@@ -206,13 +220,11 @@ public boolean equals(java.lang.Object o) {
return false;
}
DeliveryIndication deliveryIndication = (DeliveryIndication) o;
- return Objects.equals(this.id, deliveryIndication.id) &&
- Objects.equals(this.linkedSpaceId, deliveryIndication.linkedSpaceId) &&
- Objects.equals(this.linkedTransaction, deliveryIndication.linkedTransaction) &&
- Objects.equals(this.automaticDecisionReason, deliveryIndication.automaticDecisionReason) &&
+ return Objects.equals(this.automaticDecisionReason, deliveryIndication.automaticDecisionReason) &&
Objects.equals(this.automaticallyDecidedOn, deliveryIndication.automaticallyDecidedOn) &&
Objects.equals(this.completion, deliveryIndication.completion) &&
Objects.equals(this.createdOn, deliveryIndication.createdOn) &&
+ Objects.equals(this.linkedSpaceId, deliveryIndication.linkedSpaceId) &&
Objects.equals(this.manualDecisionTimeoutOn, deliveryIndication.manualDecisionTimeoutOn) &&
Objects.equals(this.manuallyDecidedBy, deliveryIndication.manuallyDecidedBy) &&
Objects.equals(this.manuallyDecidedOn, deliveryIndication.manuallyDecidedOn) &&
@@ -225,7 +237,7 @@ public boolean equals(java.lang.Object o) {
@Override
public int hashCode() {
- return Objects.hash(id, linkedSpaceId, linkedTransaction, automaticDecisionReason, automaticallyDecidedOn, completion, createdOn, manualDecisionTimeoutOn, manuallyDecidedBy, manuallyDecidedOn, plannedPurgeDate, state, timeoutOn, transaction, super.hashCode());
+ return Objects.hash(automaticDecisionReason, automaticallyDecidedOn, completion, createdOn, linkedSpaceId, manualDecisionTimeoutOn, manuallyDecidedBy, manuallyDecidedOn, plannedPurgeDate, state, timeoutOn, transaction, super.hashCode());
}
@@ -234,13 +246,11 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class DeliveryIndication {\n");
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
- sb.append(" id: ").append(toIndentedString(id)).append("\n");
- sb.append(" linkedSpaceId: ").append(toIndentedString(linkedSpaceId)).append("\n");
- sb.append(" linkedTransaction: ").append(toIndentedString(linkedTransaction)).append("\n");
sb.append(" automaticDecisionReason: ").append(toIndentedString(automaticDecisionReason)).append("\n");
sb.append(" automaticallyDecidedOn: ").append(toIndentedString(automaticallyDecidedOn)).append("\n");
sb.append(" completion: ").append(toIndentedString(completion)).append("\n");
sb.append(" createdOn: ").append(toIndentedString(createdOn)).append("\n");
+ sb.append(" linkedSpaceId: ").append(toIndentedString(linkedSpaceId)).append("\n");
sb.append(" manualDecisionTimeoutOn: ").append(toIndentedString(manualDecisionTimeoutOn)).append("\n");
sb.append(" manuallyDecidedBy: ").append(toIndentedString(manuallyDecidedBy)).append("\n");
sb.append(" manuallyDecidedOn: ").append(toIndentedString(manuallyDecidedOn)).append("\n");
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/DeliveryIndicationDecisionReason.java b/src/main/java/com/postfinancecheckout/sdk/model/DeliveryIndicationDecisionReason.java
index 0075673..4a26216 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/DeliveryIndicationDecisionReason.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/DeliveryIndicationDecisionReason.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/DeliveryIndicationState.java b/src/main/java/com/postfinancecheckout/sdk/model/DeliveryIndicationState.java
index 41175d2..c863579 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/DeliveryIndicationState.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/DeliveryIndicationState.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/DocumentTemplate.java b/src/main/java/com/postfinancecheckout/sdk/model/DocumentTemplate.java
index 3dfb38c..5d6f412 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/DocumentTemplate.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/DocumentTemplate.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/DocumentTemplateType.java b/src/main/java/com/postfinancecheckout/sdk/model/DocumentTemplateType.java
index 00afda6..dac1424 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/DocumentTemplateType.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/DocumentTemplateType.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/DocumentTemplateTypeGroup.java b/src/main/java/com/postfinancecheckout/sdk/model/DocumentTemplateTypeGroup.java
index 720de09..ca0ae98 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/DocumentTemplateTypeGroup.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/DocumentTemplateTypeGroup.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/EntityExportRequest.java b/src/main/java/com/postfinancecheckout/sdk/model/EntityExportRequest.java
index e800042..864ebec 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/EntityExportRequest.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/EntityExportRequest.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/EntityQuery.java b/src/main/java/com/postfinancecheckout/sdk/model/EntityQuery.java
index 549d1d5..4ba2585 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/EntityQuery.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/EntityQuery.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/EntityQueryFilter.java b/src/main/java/com/postfinancecheckout/sdk/model/EntityQueryFilter.java
index e6a88eb..13d14d7 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/EntityQueryFilter.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/EntityQueryFilter.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/EntityQueryFilterType.java b/src/main/java/com/postfinancecheckout/sdk/model/EntityQueryFilterType.java
index 824f351..786b60d 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/EntityQueryFilterType.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/EntityQueryFilterType.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/EntityQueryOrderBy.java b/src/main/java/com/postfinancecheckout/sdk/model/EntityQueryOrderBy.java
index 3acc5fb..3e93e8b 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/EntityQueryOrderBy.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/EntityQueryOrderBy.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/EntityQueryOrderByType.java b/src/main/java/com/postfinancecheckout/sdk/model/EntityQueryOrderByType.java
index 236f450..91dcf5b 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/EntityQueryOrderByType.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/EntityQueryOrderByType.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/Environment.java b/src/main/java/com/postfinancecheckout/sdk/model/Environment.java
index 163ed06..79b6cc2 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/Environment.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/Environment.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/FailureCategory.java b/src/main/java/com/postfinancecheckout/sdk/model/FailureCategory.java
index 26bd19f..0a9f065 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/FailureCategory.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/FailureCategory.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/FailureReason.java b/src/main/java/com/postfinancecheckout/sdk/model/FailureReason.java
index ec2548d..5789312 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/FailureReason.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/FailureReason.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/Feature.java b/src/main/java/com/postfinancecheckout/sdk/model/Feature.java
index 9172dbe..24b6ba7 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/Feature.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/Feature.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/FeatureCategory.java b/src/main/java/com/postfinancecheckout/sdk/model/FeatureCategory.java
index 60f43c0..4b5b7b8 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/FeatureCategory.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/FeatureCategory.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/Gender.java b/src/main/java/com/postfinancecheckout/sdk/model/Gender.java
index 0c18015..5b1b65f 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/Gender.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/Gender.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/HumanUser.java b/src/main/java/com/postfinancecheckout/sdk/model/HumanUser.java
index 94b8a47..e9510c4 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/HumanUser.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/HumanUser.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/HumanUserCreate.java b/src/main/java/com/postfinancecheckout/sdk/model/HumanUserCreate.java
index 1daf3dc..4d2b89f 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/HumanUserCreate.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/HumanUserCreate.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -25,6 +25,7 @@
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import com.postfinancecheckout.sdk.model.AbstractHumanUserUpdate;
+import com.postfinancecheckout.sdk.model.CreationEntityState;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.*;
@@ -71,21 +72,13 @@ public boolean equals(java.lang.Object o) {
return false;
}
HumanUserCreate humanUserCreate = (HumanUserCreate) o;
- return Objects.equals(this.emailAddress, humanUserCreate.emailAddress) &&
- Objects.equals(this.firstname, humanUserCreate.firstname) &&
- Objects.equals(this.language, humanUserCreate.language) &&
- Objects.equals(this.lastname, humanUserCreate.lastname) &&
- Objects.equals(this.mobilePhoneNumber, humanUserCreate.mobilePhoneNumber) &&
- Objects.equals(this.state, humanUserCreate.state) &&
- Objects.equals(this.timeZone, humanUserCreate.timeZone) &&
- Objects.equals(this.twoFactorEnabled, humanUserCreate.twoFactorEnabled) &&
- Objects.equals(this.primaryAccount, humanUserCreate.primaryAccount) &&
+ return Objects.equals(this.primaryAccount, humanUserCreate.primaryAccount) &&
super.equals(o);
}
@Override
public int hashCode() {
- return Objects.hash(emailAddress, firstname, language, lastname, mobilePhoneNumber, state, timeZone, twoFactorEnabled, primaryAccount, super.hashCode());
+ return Objects.hash(primaryAccount, super.hashCode());
}
@@ -94,14 +87,6 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class HumanUserCreate {\n");
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
- sb.append(" emailAddress: ").append(toIndentedString(emailAddress)).append("\n");
- sb.append(" firstname: ").append(toIndentedString(firstname)).append("\n");
- sb.append(" language: ").append(toIndentedString(language)).append("\n");
- sb.append(" lastname: ").append(toIndentedString(lastname)).append("\n");
- sb.append(" mobilePhoneNumber: ").append(toIndentedString(mobilePhoneNumber)).append("\n");
- sb.append(" state: ").append(toIndentedString(state)).append("\n");
- sb.append(" timeZone: ").append(toIndentedString(timeZone)).append("\n");
- sb.append(" twoFactorEnabled: ").append(toIndentedString(twoFactorEnabled)).append("\n");
sb.append(" primaryAccount: ").append(toIndentedString(primaryAccount)).append("\n");
sb.append("}");
return sb.toString();
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/HumanUserUpdate.java b/src/main/java/com/postfinancecheckout/sdk/model/HumanUserUpdate.java
index 7b2aa9a..2ef8b32 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/HumanUserUpdate.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/HumanUserUpdate.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -25,6 +25,7 @@
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import com.postfinancecheckout.sdk.model.AbstractHumanUserUpdate;
+import com.postfinancecheckout.sdk.model.CreationEntityState;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.*;
@@ -94,22 +95,14 @@ public boolean equals(java.lang.Object o) {
return false;
}
HumanUserUpdate humanUserUpdate = (HumanUserUpdate) o;
- return Objects.equals(this.emailAddress, humanUserUpdate.emailAddress) &&
- Objects.equals(this.firstname, humanUserUpdate.firstname) &&
- Objects.equals(this.language, humanUserUpdate.language) &&
- Objects.equals(this.lastname, humanUserUpdate.lastname) &&
- Objects.equals(this.mobilePhoneNumber, humanUserUpdate.mobilePhoneNumber) &&
- Objects.equals(this.state, humanUserUpdate.state) &&
- Objects.equals(this.timeZone, humanUserUpdate.timeZone) &&
- Objects.equals(this.twoFactorEnabled, humanUserUpdate.twoFactorEnabled) &&
- Objects.equals(this.id, humanUserUpdate.id) &&
+ return Objects.equals(this.id, humanUserUpdate.id) &&
Objects.equals(this.version, humanUserUpdate.version) &&
super.equals(o);
}
@Override
public int hashCode() {
- return Objects.hash(emailAddress, firstname, language, lastname, mobilePhoneNumber, state, timeZone, twoFactorEnabled, id, version, super.hashCode());
+ return Objects.hash(id, version, super.hashCode());
}
@@ -118,14 +111,6 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class HumanUserUpdate {\n");
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
- sb.append(" emailAddress: ").append(toIndentedString(emailAddress)).append("\n");
- sb.append(" firstname: ").append(toIndentedString(firstname)).append("\n");
- sb.append(" language: ").append(toIndentedString(language)).append("\n");
- sb.append(" lastname: ").append(toIndentedString(lastname)).append("\n");
- sb.append(" mobilePhoneNumber: ").append(toIndentedString(mobilePhoneNumber)).append("\n");
- sb.append(" state: ").append(toIndentedString(state)).append("\n");
- sb.append(" timeZone: ").append(toIndentedString(timeZone)).append("\n");
- sb.append(" twoFactorEnabled: ").append(toIndentedString(twoFactorEnabled)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" version: ").append(toIndentedString(version)).append("\n");
sb.append("}");
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/Label.java b/src/main/java/com/postfinancecheckout/sdk/model/Label.java
index 3a03e0a..f06d489 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/Label.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/Label.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/LabelDescriptor.java b/src/main/java/com/postfinancecheckout/sdk/model/LabelDescriptor.java
index 260c61b..12c7631 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/LabelDescriptor.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/LabelDescriptor.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/LabelDescriptorCategory.java b/src/main/java/com/postfinancecheckout/sdk/model/LabelDescriptorCategory.java
index 4af936e..1ce2e88 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/LabelDescriptorCategory.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/LabelDescriptorCategory.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/LabelDescriptorGroup.java b/src/main/java/com/postfinancecheckout/sdk/model/LabelDescriptorGroup.java
index dc73397..602d7da 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/LabelDescriptorGroup.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/LabelDescriptorGroup.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/LabelDescriptorType.java b/src/main/java/com/postfinancecheckout/sdk/model/LabelDescriptorType.java
index ecc9419..a7699e6 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/LabelDescriptorType.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/LabelDescriptorType.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/LegalOrganizationForm.java b/src/main/java/com/postfinancecheckout/sdk/model/LegalOrganizationForm.java
index 88d4fa9..3b77e15 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/LegalOrganizationForm.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/LegalOrganizationForm.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/LineItem.java b/src/main/java/com/postfinancecheckout/sdk/model/LineItem.java
index 5c660fa..401390e 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/LineItem.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/LineItem.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/LineItemAttribute.java b/src/main/java/com/postfinancecheckout/sdk/model/LineItemAttribute.java
index eb6fc8b..fac94c6 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/LineItemAttribute.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/LineItemAttribute.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/LineItemAttributeCreate.java b/src/main/java/com/postfinancecheckout/sdk/model/LineItemAttributeCreate.java
index 05231ba..e173454 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/LineItemAttributeCreate.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/LineItemAttributeCreate.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/LineItemCreate.java b/src/main/java/com/postfinancecheckout/sdk/model/LineItemCreate.java
index 48735e1..bdea30f 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/LineItemCreate.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/LineItemCreate.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/LineItemReduction.java b/src/main/java/com/postfinancecheckout/sdk/model/LineItemReduction.java
index 4a4ce0c..8c71cc3 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/LineItemReduction.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/LineItemReduction.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/LineItemReductionCreate.java b/src/main/java/com/postfinancecheckout/sdk/model/LineItemReductionCreate.java
index 056f22e..4d0b0fb 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/LineItemReductionCreate.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/LineItemReductionCreate.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/LineItemType.java b/src/main/java/com/postfinancecheckout/sdk/model/LineItemType.java
index c6faf3e..f0bf6aa 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/LineItemType.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/LineItemType.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/LocalizedString.java b/src/main/java/com/postfinancecheckout/sdk/model/LocalizedString.java
index ca5be3d..0612d70 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/LocalizedString.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/LocalizedString.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/ManualTask.java b/src/main/java/com/postfinancecheckout/sdk/model/ManualTask.java
index 2ce8395..5dcc0a3 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/ManualTask.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/ManualTask.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/ManualTaskAction.java b/src/main/java/com/postfinancecheckout/sdk/model/ManualTaskAction.java
index 9f630d4..97a2bcd 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/ManualTaskAction.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/ManualTaskAction.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/ManualTaskActionStyle.java b/src/main/java/com/postfinancecheckout/sdk/model/ManualTaskActionStyle.java
index 328f4c5..cd17ff5 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/ManualTaskActionStyle.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/ManualTaskActionStyle.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/ManualTaskState.java b/src/main/java/com/postfinancecheckout/sdk/model/ManualTaskState.java
index c1b08ed..db31ddf 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/ManualTaskState.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/ManualTaskState.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/ManualTaskType.java b/src/main/java/com/postfinancecheckout/sdk/model/ManualTaskType.java
index 2a057f2..73c6725 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/ManualTaskType.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/ManualTaskType.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/OneClickPaymentMode.java b/src/main/java/com/postfinancecheckout/sdk/model/OneClickPaymentMode.java
index 4ca40d8..778c2d8 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/OneClickPaymentMode.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/OneClickPaymentMode.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/PaymentConnector.java b/src/main/java/com/postfinancecheckout/sdk/model/PaymentConnector.java
index cfa051d..7313cb8 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/PaymentConnector.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/PaymentConnector.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/PaymentConnectorConfiguration.java b/src/main/java/com/postfinancecheckout/sdk/model/PaymentConnectorConfiguration.java
index 9ff228a..ffc5586 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/PaymentConnectorConfiguration.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/PaymentConnectorConfiguration.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -27,6 +27,7 @@
import com.postfinancecheckout.sdk.model.CreationEntityState;
import com.postfinancecheckout.sdk.model.PaymentMethodConfiguration;
import com.postfinancecheckout.sdk.model.PaymentProcessorConfiguration;
+import com.postfinancecheckout.sdk.model.SalesChannel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.time.OffsetDateTime;
@@ -54,6 +55,10 @@ public class PaymentConnectorConfiguration {
protected Long connector = null;
+ @JsonProperty("enabledSalesChannels")
+ protected List enabledSalesChannels = null;
+
+
@JsonProperty("enabledSpaceViews")
protected List enabledSpaceViews = null;
@@ -125,6 +130,16 @@ public Long getConnector() {
}
+ /**
+ * Defines the sales channels the connector configuration is enabled for. In case the set is empty, the connector configuration is enabled for all sales channels.
+ * @return enabledSalesChannels
+ **/
+ @ApiModelProperty(value = "Defines the sales channels the connector configuration is enabled for. In case the set is empty, the connector configuration is enabled for all sales channels.")
+ public List getEnabledSalesChannels() {
+ return enabledSalesChannels;
+ }
+
+
/**
* The connector configuration is only enabled for the selected space views. In case the set is empty the connector configuration is enabled for all space views.
* @return enabledSpaceViews
@@ -238,6 +253,7 @@ public boolean equals(java.lang.Object o) {
return Objects.equals(this.applicableForTransactionProcessing, paymentConnectorConfiguration.applicableForTransactionProcessing) &&
Objects.equals(this.conditions, paymentConnectorConfiguration.conditions) &&
Objects.equals(this.connector, paymentConnectorConfiguration.connector) &&
+ Objects.equals(this.enabledSalesChannels, paymentConnectorConfiguration.enabledSalesChannels) &&
Objects.equals(this.enabledSpaceViews, paymentConnectorConfiguration.enabledSpaceViews) &&
Objects.equals(this.id, paymentConnectorConfiguration.id) &&
Objects.equals(this.linkedSpaceId, paymentConnectorConfiguration.linkedSpaceId) &&
@@ -252,7 +268,7 @@ public boolean equals(java.lang.Object o) {
@Override
public int hashCode() {
- return Objects.hash(applicableForTransactionProcessing, conditions, connector, enabledSpaceViews, id, linkedSpaceId, name, paymentMethodConfiguration, plannedPurgeDate, priority, processorConfiguration, state, version);
+ return Objects.hash(applicableForTransactionProcessing, conditions, connector, enabledSalesChannels, enabledSpaceViews, id, linkedSpaceId, name, paymentMethodConfiguration, plannedPurgeDate, priority, processorConfiguration, state, version);
}
@@ -264,6 +280,7 @@ public String toString() {
sb.append(" applicableForTransactionProcessing: ").append(toIndentedString(applicableForTransactionProcessing)).append("\n");
sb.append(" conditions: ").append(toIndentedString(conditions)).append("\n");
sb.append(" connector: ").append(toIndentedString(connector)).append("\n");
+ sb.append(" enabledSalesChannels: ").append(toIndentedString(enabledSalesChannels)).append("\n");
sb.append(" enabledSpaceViews: ").append(toIndentedString(enabledSpaceViews)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" linkedSpaceId: ").append(toIndentedString(linkedSpaceId)).append("\n");
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/PaymentConnectorFeature.java b/src/main/java/com/postfinancecheckout/sdk/model/PaymentConnectorFeature.java
index 25632ec..319b5e7 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/PaymentConnectorFeature.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/PaymentConnectorFeature.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/PaymentContract.java b/src/main/java/com/postfinancecheckout/sdk/model/PaymentContract.java
index 0b3c838..f2081fb 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/PaymentContract.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/PaymentContract.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/PaymentContractState.java b/src/main/java/com/postfinancecheckout/sdk/model/PaymentContractState.java
index 9c6edd1..920165b 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/PaymentContractState.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/PaymentContractState.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/PaymentContractType.java b/src/main/java/com/postfinancecheckout/sdk/model/PaymentContractType.java
index a1d9500..c1b6b4e 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/PaymentContractType.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/PaymentContractType.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/PaymentInformationHash.java b/src/main/java/com/postfinancecheckout/sdk/model/PaymentInformationHash.java
index 4fedf12..ef5f7c3 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/PaymentInformationHash.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/PaymentInformationHash.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/PaymentInformationHashType.java b/src/main/java/com/postfinancecheckout/sdk/model/PaymentInformationHashType.java
index 4b5b3de..c5354c0 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/PaymentInformationHashType.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/PaymentInformationHashType.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/PaymentLink.java b/src/main/java/com/postfinancecheckout/sdk/model/PaymentLink.java
index 62fefb7..93b69fe 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/PaymentLink.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/PaymentLink.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/PaymentLinkActive.java b/src/main/java/com/postfinancecheckout/sdk/model/PaymentLinkActive.java
index a697977..f300de4 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/PaymentLinkActive.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/PaymentLinkActive.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -25,10 +25,13 @@
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import com.postfinancecheckout.sdk.model.CreationEntityState;
+import com.postfinancecheckout.sdk.model.LineItemCreate;
import com.postfinancecheckout.sdk.model.PaymentLinkUpdate;
+import com.postfinancecheckout.sdk.model.PaymentMethodConfiguration;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
-import java.util.ArrayList;
+import java.time.OffsetDateTime;
+import java.util.List;
import java.util.*;
import java.time.OffsetDateTime;
@@ -73,26 +76,13 @@ public boolean equals(java.lang.Object o) {
return false;
}
PaymentLinkActive paymentLinkActive = (PaymentLinkActive) o;
- return Objects.equals(this.id, paymentLinkActive.id) &&
- Objects.equals(this.version, paymentLinkActive.version) &&
- Objects.equals(this.allowedPaymentMethodConfigurations, paymentLinkActive.allowedPaymentMethodConfigurations) &&
- Objects.equals(this.appliedSpaceView, paymentLinkActive.appliedSpaceView) &&
- Objects.equals(this.availableFrom, paymentLinkActive.availableFrom) &&
- Objects.equals(this.availableUntil, paymentLinkActive.availableUntil) &&
- Objects.equals(this.billingAddressRequired, paymentLinkActive.billingAddressRequired) &&
- Objects.equals(this.currency, paymentLinkActive.currency) &&
- Objects.equals(this.language, paymentLinkActive.language) &&
- Objects.equals(this.lineItems, paymentLinkActive.lineItems) &&
- Objects.equals(this.maximalNumberOfTransactions, paymentLinkActive.maximalNumberOfTransactions) &&
- Objects.equals(this.name, paymentLinkActive.name) &&
- Objects.equals(this.shippingAddressRequired, paymentLinkActive.shippingAddressRequired) &&
- Objects.equals(this.state, paymentLinkActive.state) &&
+ return Objects.equals(this.state, paymentLinkActive.state) &&
super.equals(o);
}
@Override
public int hashCode() {
- return Objects.hash(id, version, allowedPaymentMethodConfigurations, appliedSpaceView, availableFrom, availableUntil, billingAddressRequired, currency, language, lineItems, maximalNumberOfTransactions, name, shippingAddressRequired, state, super.hashCode());
+ return Objects.hash(state, super.hashCode());
}
@@ -101,19 +91,6 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PaymentLinkActive {\n");
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
- sb.append(" id: ").append(toIndentedString(id)).append("\n");
- sb.append(" version: ").append(toIndentedString(version)).append("\n");
- sb.append(" allowedPaymentMethodConfigurations: ").append(toIndentedString(allowedPaymentMethodConfigurations)).append("\n");
- sb.append(" appliedSpaceView: ").append(toIndentedString(appliedSpaceView)).append("\n");
- sb.append(" availableFrom: ").append(toIndentedString(availableFrom)).append("\n");
- sb.append(" availableUntil: ").append(toIndentedString(availableUntil)).append("\n");
- sb.append(" billingAddressRequired: ").append(toIndentedString(billingAddressRequired)).append("\n");
- sb.append(" currency: ").append(toIndentedString(currency)).append("\n");
- sb.append(" language: ").append(toIndentedString(language)).append("\n");
- sb.append(" lineItems: ").append(toIndentedString(lineItems)).append("\n");
- sb.append(" maximalNumberOfTransactions: ").append(toIndentedString(maximalNumberOfTransactions)).append("\n");
- sb.append(" name: ").append(toIndentedString(name)).append("\n");
- sb.append(" shippingAddressRequired: ").append(toIndentedString(shippingAddressRequired)).append("\n");
sb.append(" state: ").append(toIndentedString(state)).append("\n");
sb.append("}");
return sb.toString();
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/PaymentLinkCreate.java b/src/main/java/com/postfinancecheckout/sdk/model/PaymentLinkCreate.java
index 6a9ea40..19a74f5 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/PaymentLinkCreate.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/PaymentLinkCreate.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -26,10 +26,13 @@
import com.fasterxml.jackson.annotation.JsonValue;
import com.postfinancecheckout.sdk.model.AbstractPaymentLinkUpdate;
import com.postfinancecheckout.sdk.model.CreationEntityState;
+import com.postfinancecheckout.sdk.model.LineItemCreate;
import com.postfinancecheckout.sdk.model.PaymentLinkProtectionMode;
+import com.postfinancecheckout.sdk.model.PaymentMethodConfiguration;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
-import java.util.ArrayList;
+import java.time.OffsetDateTime;
+import java.util.List;
import java.util.*;
import java.time.OffsetDateTime;
@@ -120,18 +123,7 @@ public boolean equals(java.lang.Object o) {
return false;
}
PaymentLinkCreate paymentLinkCreate = (PaymentLinkCreate) o;
- return Objects.equals(this.allowedPaymentMethodConfigurations, paymentLinkCreate.allowedPaymentMethodConfigurations) &&
- Objects.equals(this.appliedSpaceView, paymentLinkCreate.appliedSpaceView) &&
- Objects.equals(this.availableFrom, paymentLinkCreate.availableFrom) &&
- Objects.equals(this.availableUntil, paymentLinkCreate.availableUntil) &&
- Objects.equals(this.billingAddressRequired, paymentLinkCreate.billingAddressRequired) &&
- Objects.equals(this.currency, paymentLinkCreate.currency) &&
- Objects.equals(this.language, paymentLinkCreate.language) &&
- Objects.equals(this.lineItems, paymentLinkCreate.lineItems) &&
- Objects.equals(this.maximalNumberOfTransactions, paymentLinkCreate.maximalNumberOfTransactions) &&
- Objects.equals(this.name, paymentLinkCreate.name) &&
- Objects.equals(this.shippingAddressRequired, paymentLinkCreate.shippingAddressRequired) &&
- Objects.equals(this.state, paymentLinkCreate.state) &&
+ return Objects.equals(this.state, paymentLinkCreate.state) &&
Objects.equals(this.externalId, paymentLinkCreate.externalId) &&
Objects.equals(this.protectionMode, paymentLinkCreate.protectionMode) &&
super.equals(o);
@@ -139,7 +131,7 @@ public boolean equals(java.lang.Object o) {
@Override
public int hashCode() {
- return Objects.hash(allowedPaymentMethodConfigurations, appliedSpaceView, availableFrom, availableUntil, billingAddressRequired, currency, language, lineItems, maximalNumberOfTransactions, name, shippingAddressRequired, state, externalId, protectionMode, super.hashCode());
+ return Objects.hash(state, externalId, protectionMode, super.hashCode());
}
@@ -148,17 +140,6 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PaymentLinkCreate {\n");
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
- sb.append(" allowedPaymentMethodConfigurations: ").append(toIndentedString(allowedPaymentMethodConfigurations)).append("\n");
- sb.append(" appliedSpaceView: ").append(toIndentedString(appliedSpaceView)).append("\n");
- sb.append(" availableFrom: ").append(toIndentedString(availableFrom)).append("\n");
- sb.append(" availableUntil: ").append(toIndentedString(availableUntil)).append("\n");
- sb.append(" billingAddressRequired: ").append(toIndentedString(billingAddressRequired)).append("\n");
- sb.append(" currency: ").append(toIndentedString(currency)).append("\n");
- sb.append(" language: ").append(toIndentedString(language)).append("\n");
- sb.append(" lineItems: ").append(toIndentedString(lineItems)).append("\n");
- sb.append(" maximalNumberOfTransactions: ").append(toIndentedString(maximalNumberOfTransactions)).append("\n");
- sb.append(" name: ").append(toIndentedString(name)).append("\n");
- sb.append(" shippingAddressRequired: ").append(toIndentedString(shippingAddressRequired)).append("\n");
sb.append(" state: ").append(toIndentedString(state)).append("\n");
sb.append(" externalId: ").append(toIndentedString(externalId)).append("\n");
sb.append(" protectionMode: ").append(toIndentedString(protectionMode)).append("\n");
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/PaymentLinkProtectionMode.java b/src/main/java/com/postfinancecheckout/sdk/model/PaymentLinkProtectionMode.java
index 252c505..83d4423 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/PaymentLinkProtectionMode.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/PaymentLinkProtectionMode.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/PaymentLinkUpdate.java b/src/main/java/com/postfinancecheckout/sdk/model/PaymentLinkUpdate.java
index 9004041..4ffbf01 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/PaymentLinkUpdate.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/PaymentLinkUpdate.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/PaymentMethod.java b/src/main/java/com/postfinancecheckout/sdk/model/PaymentMethod.java
index 025c1ff..d957a9a 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/PaymentMethod.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/PaymentMethod.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/PaymentMethodBrand.java b/src/main/java/com/postfinancecheckout/sdk/model/PaymentMethodBrand.java
index 74dbdbc..bb8b2cf 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/PaymentMethodBrand.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/PaymentMethodBrand.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/PaymentMethodConfiguration.java b/src/main/java/com/postfinancecheckout/sdk/model/PaymentMethodConfiguration.java
index d52eaaa..22722b4 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/PaymentMethodConfiguration.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/PaymentMethodConfiguration.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/PaymentPrimaryRiskTaker.java b/src/main/java/com/postfinancecheckout/sdk/model/PaymentPrimaryRiskTaker.java
index 614e1b4..7950575 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/PaymentPrimaryRiskTaker.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/PaymentPrimaryRiskTaker.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/PaymentProcessor.java b/src/main/java/com/postfinancecheckout/sdk/model/PaymentProcessor.java
index 707f47c..f91032f 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/PaymentProcessor.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/PaymentProcessor.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/PaymentProcessorConfiguration.java b/src/main/java/com/postfinancecheckout/sdk/model/PaymentProcessorConfiguration.java
index 5644105..d6a71d2 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/PaymentProcessorConfiguration.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/PaymentProcessorConfiguration.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/PaymentTerminal.java b/src/main/java/com/postfinancecheckout/sdk/model/PaymentTerminal.java
index 46e04e0..eef8d0d 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/PaymentTerminal.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/PaymentTerminal.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/PaymentTerminalAddress.java b/src/main/java/com/postfinancecheckout/sdk/model/PaymentTerminalAddress.java
index c123873..43985ea 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/PaymentTerminalAddress.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/PaymentTerminalAddress.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/PaymentTerminalConfiguration.java b/src/main/java/com/postfinancecheckout/sdk/model/PaymentTerminalConfiguration.java
index eacbfbd..8aab665 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/PaymentTerminalConfiguration.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/PaymentTerminalConfiguration.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/PaymentTerminalConfigurationState.java b/src/main/java/com/postfinancecheckout/sdk/model/PaymentTerminalConfigurationState.java
index e81ffd2..4b518dc 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/PaymentTerminalConfigurationState.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/PaymentTerminalConfigurationState.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/PaymentTerminalConfigurationVersion.java b/src/main/java/com/postfinancecheckout/sdk/model/PaymentTerminalConfigurationVersion.java
index 240d3a0..ca7c389 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/PaymentTerminalConfigurationVersion.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/PaymentTerminalConfigurationVersion.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/PaymentTerminalConfigurationVersionState.java b/src/main/java/com/postfinancecheckout/sdk/model/PaymentTerminalConfigurationVersionState.java
index c66d998..8fb7199 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/PaymentTerminalConfigurationVersionState.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/PaymentTerminalConfigurationVersionState.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/PaymentTerminalContactAddress.java b/src/main/java/com/postfinancecheckout/sdk/model/PaymentTerminalContactAddress.java
index f323f52..5713f2f 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/PaymentTerminalContactAddress.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/PaymentTerminalContactAddress.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -37,6 +37,62 @@
public class PaymentTerminalContactAddress extends PaymentTerminalAddress {
+ @JsonProperty("familyName")
+ protected String familyName = null;
+
+
+ @JsonProperty("givenName")
+ protected String givenName = null;
+
+
+ @JsonProperty("organizationName")
+ protected String organizationName = null;
+
+
+ @JsonProperty("phoneNumber")
+ protected String phoneNumber = null;
+
+
+
+ /**
+ *
+ * @return familyName
+ **/
+ @ApiModelProperty(value = "")
+ public String getFamilyName() {
+ return familyName;
+ }
+
+
+ /**
+ *
+ * @return givenName
+ **/
+ @ApiModelProperty(value = "")
+ public String getGivenName() {
+ return givenName;
+ }
+
+
+ /**
+ *
+ * @return organizationName
+ **/
+ @ApiModelProperty(value = "")
+ public String getOrganizationName() {
+ return organizationName;
+ }
+
+
+ /**
+ *
+ * @return phoneNumber
+ **/
+ @ApiModelProperty(value = "")
+ public String getPhoneNumber() {
+ return phoneNumber;
+ }
+
@Override
@@ -48,26 +104,16 @@ public boolean equals(java.lang.Object o) {
return false;
}
PaymentTerminalContactAddress paymentTerminalContactAddress = (PaymentTerminalContactAddress) o;
- return Objects.equals(this.city, paymentTerminalContactAddress.city) &&
- Objects.equals(this.country, paymentTerminalContactAddress.country) &&
- Objects.equals(this.dependentLocality, paymentTerminalContactAddress.dependentLocality) &&
- Objects.equals(this.emailAddress, paymentTerminalContactAddress.emailAddress) &&
- Objects.equals(this.familyName, paymentTerminalContactAddress.familyName) &&
+ return Objects.equals(this.familyName, paymentTerminalContactAddress.familyName) &&
Objects.equals(this.givenName, paymentTerminalContactAddress.givenName) &&
- Objects.equals(this.mobilePhoneNumber, paymentTerminalContactAddress.mobilePhoneNumber) &&
Objects.equals(this.organizationName, paymentTerminalContactAddress.organizationName) &&
Objects.equals(this.phoneNumber, paymentTerminalContactAddress.phoneNumber) &&
- Objects.equals(this.postalState, paymentTerminalContactAddress.postalState) &&
- Objects.equals(this.postcode, paymentTerminalContactAddress.postcode) &&
- Objects.equals(this.salutation, paymentTerminalContactAddress.salutation) &&
- Objects.equals(this.sortingCode, paymentTerminalContactAddress.sortingCode) &&
- Objects.equals(this.street, paymentTerminalContactAddress.street) &&
super.equals(o);
}
@Override
public int hashCode() {
- return Objects.hash(city, country, dependentLocality, emailAddress, familyName, givenName, mobilePhoneNumber, organizationName, phoneNumber, postalState, postcode, salutation, sortingCode, street, super.hashCode());
+ return Objects.hash(familyName, givenName, organizationName, phoneNumber, super.hashCode());
}
@@ -76,20 +122,10 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PaymentTerminalContactAddress {\n");
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
- sb.append(" city: ").append(toIndentedString(city)).append("\n");
- sb.append(" country: ").append(toIndentedString(country)).append("\n");
- sb.append(" dependentLocality: ").append(toIndentedString(dependentLocality)).append("\n");
- sb.append(" emailAddress: ").append(toIndentedString(emailAddress)).append("\n");
sb.append(" familyName: ").append(toIndentedString(familyName)).append("\n");
sb.append(" givenName: ").append(toIndentedString(givenName)).append("\n");
- sb.append(" mobilePhoneNumber: ").append(toIndentedString(mobilePhoneNumber)).append("\n");
sb.append(" organizationName: ").append(toIndentedString(organizationName)).append("\n");
sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n");
- sb.append(" postalState: ").append(toIndentedString(postalState)).append("\n");
- sb.append(" postcode: ").append(toIndentedString(postcode)).append("\n");
- sb.append(" salutation: ").append(toIndentedString(salutation)).append("\n");
- sb.append(" sortingCode: ").append(toIndentedString(sortingCode)).append("\n");
- sb.append(" street: ").append(toIndentedString(street)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/PaymentTerminalLocation.java b/src/main/java/com/postfinancecheckout/sdk/model/PaymentTerminalLocation.java
index b4a1d30..9be1608 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/PaymentTerminalLocation.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/PaymentTerminalLocation.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/PaymentTerminalLocationState.java b/src/main/java/com/postfinancecheckout/sdk/model/PaymentTerminalLocationState.java
index c2b6b8b..021c19d 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/PaymentTerminalLocationState.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/PaymentTerminalLocationState.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/PaymentTerminalLocationVersion.java b/src/main/java/com/postfinancecheckout/sdk/model/PaymentTerminalLocationVersion.java
index b6996bf..5ba370f 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/PaymentTerminalLocationVersion.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/PaymentTerminalLocationVersion.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/PaymentTerminalLocationVersionState.java b/src/main/java/com/postfinancecheckout/sdk/model/PaymentTerminalLocationVersionState.java
index 294866b..c8be969 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/PaymentTerminalLocationVersionState.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/PaymentTerminalLocationVersionState.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/PaymentTerminalState.java b/src/main/java/com/postfinancecheckout/sdk/model/PaymentTerminalState.java
index a267ee6..70a3106 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/PaymentTerminalState.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/PaymentTerminalState.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/PaymentTerminalType.java b/src/main/java/com/postfinancecheckout/sdk/model/PaymentTerminalType.java
index 1691ac9..b24ca92 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/PaymentTerminalType.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/PaymentTerminalType.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/Permission.java b/src/main/java/com/postfinancecheckout/sdk/model/Permission.java
index b420f39..cdab46c 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/Permission.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/Permission.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/Refund.java b/src/main/java/com/postfinancecheckout/sdk/model/Refund.java
index 86a9b37..fa31a84 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/Refund.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/Refund.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/RefundComment.java b/src/main/java/com/postfinancecheckout/sdk/model/RefundComment.java
index 5f58e4e..93b61d8 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/RefundComment.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/RefundComment.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/RefundCommentActive.java b/src/main/java/com/postfinancecheckout/sdk/model/RefundCommentActive.java
index 48012ec..5832e60 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/RefundCommentActive.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/RefundCommentActive.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -94,15 +94,14 @@ public boolean equals(java.lang.Object o) {
return false;
}
RefundCommentActive refundCommentActive = (RefundCommentActive) o;
- return Objects.equals(this.content, refundCommentActive.content) &&
- Objects.equals(this.id, refundCommentActive.id) &&
+ return Objects.equals(this.id, refundCommentActive.id) &&
Objects.equals(this.version, refundCommentActive.version) &&
super.equals(o);
}
@Override
public int hashCode() {
- return Objects.hash(content, id, version, super.hashCode());
+ return Objects.hash(id, version, super.hashCode());
}
@@ -111,7 +110,6 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class RefundCommentActive {\n");
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
- sb.append(" content: ").append(toIndentedString(content)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" version: ").append(toIndentedString(version)).append("\n");
sb.append("}");
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/RefundCommentCreate.java b/src/main/java/com/postfinancecheckout/sdk/model/RefundCommentCreate.java
index 22225d5..7af9852 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/RefundCommentCreate.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/RefundCommentCreate.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -71,14 +71,13 @@ public boolean equals(java.lang.Object o) {
return false;
}
RefundCommentCreate refundCommentCreate = (RefundCommentCreate) o;
- return Objects.equals(this.content, refundCommentCreate.content) &&
- Objects.equals(this.refund, refundCommentCreate.refund) &&
+ return Objects.equals(this.refund, refundCommentCreate.refund) &&
super.equals(o);
}
@Override
public int hashCode() {
- return Objects.hash(content, refund, super.hashCode());
+ return Objects.hash(refund, super.hashCode());
}
@@ -87,7 +86,6 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class RefundCommentCreate {\n");
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
- sb.append(" content: ").append(toIndentedString(content)).append("\n");
sb.append(" refund: ").append(toIndentedString(refund)).append("\n");
sb.append("}");
return sb.toString();
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/RefundCreate.java b/src/main/java/com/postfinancecheckout/sdk/model/RefundCreate.java
index 48bad6b..0a134e7 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/RefundCreate.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/RefundCreate.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/RefundState.java b/src/main/java/com/postfinancecheckout/sdk/model/RefundState.java
index ebbca3e..6ac4385 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/RefundState.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/RefundState.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/RefundType.java b/src/main/java/com/postfinancecheckout/sdk/model/RefundType.java
index 083d5ce..b5fd9ea 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/RefundType.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/RefundType.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/RenderedDocument.java b/src/main/java/com/postfinancecheckout/sdk/model/RenderedDocument.java
index 402c98f..dc46ca6 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/RenderedDocument.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/RenderedDocument.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/ResourcePath.java b/src/main/java/com/postfinancecheckout/sdk/model/ResourcePath.java
index 532e0a4..f54b566 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/ResourcePath.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/ResourcePath.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/ResourceState.java b/src/main/java/com/postfinancecheckout/sdk/model/ResourceState.java
index cbf5d36..591735e 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/ResourceState.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/ResourceState.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/RestAddressFormat.java b/src/main/java/com/postfinancecheckout/sdk/model/RestAddressFormat.java
index a30a9c4..eca1046 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/RestAddressFormat.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/RestAddressFormat.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/RestAddressFormatField.java b/src/main/java/com/postfinancecheckout/sdk/model/RestAddressFormatField.java
index 9c47aec..6107f98 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/RestAddressFormatField.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/RestAddressFormatField.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/RestCountry.java b/src/main/java/com/postfinancecheckout/sdk/model/RestCountry.java
index 8f0b848..d7c2b3a 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/RestCountry.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/RestCountry.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/RestCountryState.java b/src/main/java/com/postfinancecheckout/sdk/model/RestCountryState.java
index cf44acd..ef8ed80 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/RestCountryState.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/RestCountryState.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/RestCurrency.java b/src/main/java/com/postfinancecheckout/sdk/model/RestCurrency.java
index 35ba9e3..90c07c1 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/RestCurrency.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/RestCurrency.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/RestLanguage.java b/src/main/java/com/postfinancecheckout/sdk/model/RestLanguage.java
index f409da1..b8dfbbe 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/RestLanguage.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/RestLanguage.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/Role.java b/src/main/java/com/postfinancecheckout/sdk/model/Role.java
index a9b12ea..0f553ed 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/Role.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/Role.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/SalesChannel.java b/src/main/java/com/postfinancecheckout/sdk/model/SalesChannel.java
index 54a44a4..1d64148 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/SalesChannel.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/SalesChannel.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -24,6 +24,7 @@
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
+import com.postfinancecheckout.sdk.model.SalesChannel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.HashMap;
@@ -43,6 +44,10 @@ public class SalesChannel {
protected Map description = null;
+ @JsonProperty("icon")
+ protected String icon = null;
+
+
@JsonProperty("id")
protected Long id = null;
@@ -51,6 +56,14 @@ public class SalesChannel {
protected Map name = null;
+ @JsonProperty("parent")
+ protected SalesChannel parent = null;
+
+
+ @JsonProperty("sortOrder")
+ protected Integer sortOrder = null;
+
+
/**
*
@@ -62,6 +75,16 @@ public Map getDescription() {
}
+ /**
+ *
+ * @return icon
+ **/
+ @ApiModelProperty(value = "")
+ public String getIcon() {
+ return icon;
+ }
+
+
/**
* The ID is the primary key of the entity. The ID identifies the entity uniquely.
* @return id
@@ -82,6 +105,26 @@ public Map getName() {
}
+ /**
+ *
+ * @return parent
+ **/
+ @ApiModelProperty(value = "")
+ public SalesChannel getParent() {
+ return parent;
+ }
+
+
+ /**
+ *
+ * @return sortOrder
+ **/
+ @ApiModelProperty(value = "")
+ public Integer getSortOrder() {
+ return sortOrder;
+ }
+
+
@Override
public boolean equals(java.lang.Object o) {
@@ -93,13 +136,16 @@ public boolean equals(java.lang.Object o) {
}
SalesChannel salesChannel = (SalesChannel) o;
return Objects.equals(this.description, salesChannel.description) &&
+ Objects.equals(this.icon, salesChannel.icon) &&
Objects.equals(this.id, salesChannel.id) &&
- Objects.equals(this.name, salesChannel.name);
+ Objects.equals(this.name, salesChannel.name) &&
+ Objects.equals(this.parent, salesChannel.parent) &&
+ Objects.equals(this.sortOrder, salesChannel.sortOrder);
}
@Override
public int hashCode() {
- return Objects.hash(description, id, name);
+ return Objects.hash(description, icon, id, name, parent, sortOrder);
}
@@ -109,8 +155,11 @@ public String toString() {
sb.append("class SalesChannel {\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
+ sb.append(" icon: ").append(toIndentedString(icon)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
+ sb.append(" parent: ").append(toIndentedString(parent)).append("\n");
+ sb.append(" sortOrder: ").append(toIndentedString(sortOrder)).append("\n");
sb.append("}");
return sb.toString();
}
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/Scope.java b/src/main/java/com/postfinancecheckout/sdk/model/Scope.java
index a60f02a..82b40db 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/Scope.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/Scope.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/ServerError.java b/src/main/java/com/postfinancecheckout/sdk/model/ServerError.java
index d08bd6e..4c70091 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/ServerError.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/ServerError.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/ShopifyAdditionalLineItemData.java b/src/main/java/com/postfinancecheckout/sdk/model/ShopifyAdditionalLineItemData.java
new file mode 100644
index 0000000..e1f96c5
--- /dev/null
+++ b/src/main/java/com/postfinancecheckout/sdk/model/ShopifyAdditionalLineItemData.java
@@ -0,0 +1,66 @@
+/**
+* PostFinance Checkout SDK
+*
+* This library allows to interact with the PostFinance Checkout payment service.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+
+package com.postfinancecheckout.sdk.model;
+
+import java.util.Objects;
+import java.util.Arrays;
+import io.swagger.annotations.ApiModel;
+import java.util.*;
+import java.time.OffsetDateTime;
+
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonValue;
+
+/**
+ *
+ */
+public enum ShopifyAdditionalLineItemData {
+
+ VENDOR("VENDOR"),
+
+ WEIGHT("WEIGHT");
+
+ private String value;
+
+ ShopifyAdditionalLineItemData(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static ShopifyAdditionalLineItemData fromValue(String text) {
+ for (ShopifyAdditionalLineItemData b : ShopifyAdditionalLineItemData.values()) {
+ if (String.valueOf(b.value).equals(text)) {
+ return b;
+ }
+ }
+ return null;
+ }
+}
+
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/ShopifyIntegration.java b/src/main/java/com/postfinancecheckout/sdk/model/ShopifyIntegration.java
index 2947adb..4f36858 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/ShopifyIntegration.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/ShopifyIntegration.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -26,7 +26,9 @@
import com.fasterxml.jackson.annotation.JsonValue;
import com.postfinancecheckout.sdk.model.CreationEntityState;
import com.postfinancecheckout.sdk.model.PaymentMethodConfiguration;
-import com.postfinancecheckout.sdk.model.ShopifyIntegrationAppVersion;
+import com.postfinancecheckout.sdk.model.ShopifyAdditionalLineItemData;
+import com.postfinancecheckout.sdk.model.ShopifyIntegrationPaymentAppVersion;
+import com.postfinancecheckout.sdk.model.ShopifyIntegrationSubscriptionAppVersion;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.time.OffsetDateTime;
@@ -42,6 +44,10 @@
public class ShopifyIntegration {
+ @JsonProperty("additionalLineItemData")
+ protected List additionalLineItemData = null;
+
+
@JsonProperty("allowInvoiceDownload")
protected Boolean allowInvoiceDownload = null;
@@ -50,10 +56,6 @@ public class ShopifyIntegration {
protected List allowedPaymentMethodConfigurations = null;
- @JsonProperty("appVersion")
- protected ShopifyIntegrationAppVersion appVersion = null;
-
-
@JsonProperty("currency")
protected String currency = null;
@@ -62,10 +64,6 @@ public class ShopifyIntegration {
protected Long id = null;
- @JsonProperty("installed")
- protected Boolean installed = null;
-
-
@JsonProperty("integratedPaymentFormEnabled")
protected Boolean integratedPaymentFormEnabled = null;
@@ -82,12 +80,20 @@ public class ShopifyIntegration {
protected String name = null;
- @JsonProperty("plannedPurgeDate")
- protected OffsetDateTime plannedPurgeDate = null;
+ @JsonProperty("paymentAppVersion")
+ protected ShopifyIntegrationPaymentAppVersion paymentAppVersion = null;
- @JsonProperty("proxyPath")
- protected String proxyPath = null;
+ @JsonProperty("paymentInstalled")
+ protected Boolean paymentInstalled = null;
+
+
+ @JsonProperty("paymentProxyPath")
+ protected String paymentProxyPath = null;
+
+
+ @JsonProperty("plannedPurgeDate")
+ protected OffsetDateTime plannedPurgeDate = null;
@JsonProperty("replacePaymentMethodImage")
@@ -118,6 +124,18 @@ public class ShopifyIntegration {
protected CreationEntityState state = null;
+ @JsonProperty("subscriptionAppVersion")
+ protected ShopifyIntegrationSubscriptionAppVersion subscriptionAppVersion = null;
+
+
+ @JsonProperty("subscriptionInstalled")
+ protected Boolean subscriptionInstalled = null;
+
+
+ @JsonProperty("subscriptionProxyPath")
+ protected String subscriptionProxyPath = null;
+
+
@JsonProperty("version")
protected Integer version = null;
@@ -125,31 +143,31 @@ public class ShopifyIntegration {
/**
*
- * @return allowInvoiceDownload
+ * @return additionalLineItemData
**/
@ApiModelProperty(value = "")
- public Boolean isAllowInvoiceDownload() {
- return allowInvoiceDownload;
+ public List getAdditionalLineItemData() {
+ return additionalLineItemData;
}
/**
*
- * @return allowedPaymentMethodConfigurations
+ * @return allowInvoiceDownload
**/
@ApiModelProperty(value = "")
- public List getAllowedPaymentMethodConfigurations() {
- return allowedPaymentMethodConfigurations;
+ public Boolean isAllowInvoiceDownload() {
+ return allowInvoiceDownload;
}
/**
*
- * @return appVersion
+ * @return allowedPaymentMethodConfigurations
**/
@ApiModelProperty(value = "")
- public ShopifyIntegrationAppVersion getAppVersion() {
- return appVersion;
+ public List getAllowedPaymentMethodConfigurations() {
+ return allowedPaymentMethodConfigurations;
}
@@ -173,16 +191,6 @@ public Long getId() {
}
- /**
- *
- * @return installed
- **/
- @ApiModelProperty(value = "")
- public Boolean isInstalled() {
- return installed;
- }
-
-
/**
* Enabling the integrated payment form will embed the payment form in the Shopify shop. The app needs to be installed for this to be possible.
* @return integratedPaymentFormEnabled
@@ -224,22 +232,42 @@ public String getName() {
/**
- * The planned purge date indicates when the entity is permanently removed. When the date is null the entity is not planned to be removed.
- * @return plannedPurgeDate
+ *
+ * @return paymentAppVersion
**/
- @ApiModelProperty(value = "The planned purge date indicates when the entity is permanently removed. When the date is null the entity is not planned to be removed.")
- public OffsetDateTime getPlannedPurgeDate() {
- return plannedPurgeDate;
+ @ApiModelProperty(value = "")
+ public ShopifyIntegrationPaymentAppVersion getPaymentAppVersion() {
+ return paymentAppVersion;
+ }
+
+
+ /**
+ *
+ * @return paymentInstalled
+ **/
+ @ApiModelProperty(value = "")
+ public Boolean isPaymentInstalled() {
+ return paymentInstalled;
}
/**
* Define the path of the proxy URL. This only needs to be changed if the apps proxy URL is overwritten in the Shopify store.
- * @return proxyPath
+ * @return paymentProxyPath
**/
@ApiModelProperty(value = "Define the path of the proxy URL. This only needs to be changed if the apps proxy URL is overwritten in the Shopify store.")
- public String getProxyPath() {
- return proxyPath;
+ public String getPaymentProxyPath() {
+ return paymentProxyPath;
+ }
+
+
+ /**
+ * The planned purge date indicates when the entity is permanently removed. When the date is null the entity is not planned to be removed.
+ * @return plannedPurgeDate
+ **/
+ @ApiModelProperty(value = "The planned purge date indicates when the entity is permanently removed. When the date is null the entity is not planned to be removed.")
+ public OffsetDateTime getPlannedPurgeDate() {
+ return plannedPurgeDate;
}
@@ -313,6 +341,36 @@ public CreationEntityState getState() {
}
+ /**
+ *
+ * @return subscriptionAppVersion
+ **/
+ @ApiModelProperty(value = "")
+ public ShopifyIntegrationSubscriptionAppVersion getSubscriptionAppVersion() {
+ return subscriptionAppVersion;
+ }
+
+
+ /**
+ *
+ * @return subscriptionInstalled
+ **/
+ @ApiModelProperty(value = "")
+ public Boolean isSubscriptionInstalled() {
+ return subscriptionInstalled;
+ }
+
+
+ /**
+ * Define the path of the proxy URL. This only needs to be changed if the apps proxy URL is overwritten in the Shopify store.
+ * @return subscriptionProxyPath
+ **/
+ @ApiModelProperty(value = "Define the path of the proxy URL. This only needs to be changed if the apps proxy URL is overwritten in the Shopify store.")
+ public String getSubscriptionProxyPath() {
+ return subscriptionProxyPath;
+ }
+
+
/**
* The version number indicates the version of the entity. The version is incremented whenever the entity is changed.
* @return version
@@ -333,18 +391,19 @@ public boolean equals(java.lang.Object o) {
return false;
}
ShopifyIntegration shopifyIntegration = (ShopifyIntegration) o;
- return Objects.equals(this.allowInvoiceDownload, shopifyIntegration.allowInvoiceDownload) &&
+ return Objects.equals(this.additionalLineItemData, shopifyIntegration.additionalLineItemData) &&
+ Objects.equals(this.allowInvoiceDownload, shopifyIntegration.allowInvoiceDownload) &&
Objects.equals(this.allowedPaymentMethodConfigurations, shopifyIntegration.allowedPaymentMethodConfigurations) &&
- Objects.equals(this.appVersion, shopifyIntegration.appVersion) &&
Objects.equals(this.currency, shopifyIntegration.currency) &&
Objects.equals(this.id, shopifyIntegration.id) &&
- Objects.equals(this.installed, shopifyIntegration.installed) &&
Objects.equals(this.integratedPaymentFormEnabled, shopifyIntegration.integratedPaymentFormEnabled) &&
Objects.equals(this.language, shopifyIntegration.language) &&
Objects.equals(this.loginName, shopifyIntegration.loginName) &&
Objects.equals(this.name, shopifyIntegration.name) &&
+ Objects.equals(this.paymentAppVersion, shopifyIntegration.paymentAppVersion) &&
+ Objects.equals(this.paymentInstalled, shopifyIntegration.paymentInstalled) &&
+ Objects.equals(this.paymentProxyPath, shopifyIntegration.paymentProxyPath) &&
Objects.equals(this.plannedPurgeDate, shopifyIntegration.plannedPurgeDate) &&
- Objects.equals(this.proxyPath, shopifyIntegration.proxyPath) &&
Objects.equals(this.replacePaymentMethodImage, shopifyIntegration.replacePaymentMethodImage) &&
Objects.equals(this.shopName, shopifyIntegration.shopName) &&
Objects.equals(this.showPaymentInformation, shopifyIntegration.showPaymentInformation) &&
@@ -352,12 +411,15 @@ public boolean equals(java.lang.Object o) {
Objects.equals(this.spaceId, shopifyIntegration.spaceId) &&
Objects.equals(this.spaceViewId, shopifyIntegration.spaceViewId) &&
Objects.equals(this.state, shopifyIntegration.state) &&
+ Objects.equals(this.subscriptionAppVersion, shopifyIntegration.subscriptionAppVersion) &&
+ Objects.equals(this.subscriptionInstalled, shopifyIntegration.subscriptionInstalled) &&
+ Objects.equals(this.subscriptionProxyPath, shopifyIntegration.subscriptionProxyPath) &&
Objects.equals(this.version, shopifyIntegration.version);
}
@Override
public int hashCode() {
- return Objects.hash(allowInvoiceDownload, allowedPaymentMethodConfigurations, appVersion, currency, id, installed, integratedPaymentFormEnabled, language, loginName, name, plannedPurgeDate, proxyPath, replacePaymentMethodImage, shopName, showPaymentInformation, showSubscriptionInformation, spaceId, spaceViewId, state, version);
+ return Objects.hash(additionalLineItemData, allowInvoiceDownload, allowedPaymentMethodConfigurations, currency, id, integratedPaymentFormEnabled, language, loginName, name, paymentAppVersion, paymentInstalled, paymentProxyPath, plannedPurgeDate, replacePaymentMethodImage, shopName, showPaymentInformation, showSubscriptionInformation, spaceId, spaceViewId, state, subscriptionAppVersion, subscriptionInstalled, subscriptionProxyPath, version);
}
@@ -366,18 +428,19 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ShopifyIntegration {\n");
+ sb.append(" additionalLineItemData: ").append(toIndentedString(additionalLineItemData)).append("\n");
sb.append(" allowInvoiceDownload: ").append(toIndentedString(allowInvoiceDownload)).append("\n");
sb.append(" allowedPaymentMethodConfigurations: ").append(toIndentedString(allowedPaymentMethodConfigurations)).append("\n");
- sb.append(" appVersion: ").append(toIndentedString(appVersion)).append("\n");
sb.append(" currency: ").append(toIndentedString(currency)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
- sb.append(" installed: ").append(toIndentedString(installed)).append("\n");
sb.append(" integratedPaymentFormEnabled: ").append(toIndentedString(integratedPaymentFormEnabled)).append("\n");
sb.append(" language: ").append(toIndentedString(language)).append("\n");
sb.append(" loginName: ").append(toIndentedString(loginName)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
+ sb.append(" paymentAppVersion: ").append(toIndentedString(paymentAppVersion)).append("\n");
+ sb.append(" paymentInstalled: ").append(toIndentedString(paymentInstalled)).append("\n");
+ sb.append(" paymentProxyPath: ").append(toIndentedString(paymentProxyPath)).append("\n");
sb.append(" plannedPurgeDate: ").append(toIndentedString(plannedPurgeDate)).append("\n");
- sb.append(" proxyPath: ").append(toIndentedString(proxyPath)).append("\n");
sb.append(" replacePaymentMethodImage: ").append(toIndentedString(replacePaymentMethodImage)).append("\n");
sb.append(" shopName: ").append(toIndentedString(shopName)).append("\n");
sb.append(" showPaymentInformation: ").append(toIndentedString(showPaymentInformation)).append("\n");
@@ -385,6 +448,9 @@ public String toString() {
sb.append(" spaceId: ").append(toIndentedString(spaceId)).append("\n");
sb.append(" spaceViewId: ").append(toIndentedString(spaceViewId)).append("\n");
sb.append(" state: ").append(toIndentedString(state)).append("\n");
+ sb.append(" subscriptionAppVersion: ").append(toIndentedString(subscriptionAppVersion)).append("\n");
+ sb.append(" subscriptionInstalled: ").append(toIndentedString(subscriptionInstalled)).append("\n");
+ sb.append(" subscriptionProxyPath: ").append(toIndentedString(subscriptionProxyPath)).append("\n");
sb.append(" version: ").append(toIndentedString(version)).append("\n");
sb.append("}");
return sb.toString();
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/ShopifyIntegrationAppVersion.java b/src/main/java/com/postfinancecheckout/sdk/model/ShopifyIntegrationPaymentAppVersion.java
similarity index 75%
rename from src/main/java/com/postfinancecheckout/sdk/model/ShopifyIntegrationAppVersion.java
rename to src/main/java/com/postfinancecheckout/sdk/model/ShopifyIntegrationPaymentAppVersion.java
index 35b2945..037b18e 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/ShopifyIntegrationAppVersion.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/ShopifyIntegrationPaymentAppVersion.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -31,17 +31,13 @@
/**
*
*/
-public enum ShopifyIntegrationAppVersion {
-
- BASIC("BASIC"),
-
- SUBSCRIPTION("SUBSCRIPTION"),
+public enum ShopifyIntegrationPaymentAppVersion {
API_2019_07("API_2019_07");
private String value;
- ShopifyIntegrationAppVersion(String value) {
+ ShopifyIntegrationPaymentAppVersion(String value) {
this.value = value;
}
@@ -56,8 +52,8 @@ public String toString() {
}
@JsonCreator
- public static ShopifyIntegrationAppVersion fromValue(String text) {
- for (ShopifyIntegrationAppVersion b : ShopifyIntegrationAppVersion.values()) {
+ public static ShopifyIntegrationPaymentAppVersion fromValue(String text) {
+ for (ShopifyIntegrationPaymentAppVersion b : ShopifyIntegrationPaymentAppVersion.values()) {
if (String.valueOf(b.value).equals(text)) {
return b;
}
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/ShopifyIntegrationSubscriptionAppVersion.java b/src/main/java/com/postfinancecheckout/sdk/model/ShopifyIntegrationSubscriptionAppVersion.java
new file mode 100644
index 0000000..d3daccd
--- /dev/null
+++ b/src/main/java/com/postfinancecheckout/sdk/model/ShopifyIntegrationSubscriptionAppVersion.java
@@ -0,0 +1,68 @@
+/**
+* PostFinance Checkout SDK
+*
+* This library allows to interact with the PostFinance Checkout payment service.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+
+package com.postfinancecheckout.sdk.model;
+
+import java.util.Objects;
+import java.util.Arrays;
+import io.swagger.annotations.ApiModel;
+import java.util.*;
+import java.time.OffsetDateTime;
+
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonValue;
+
+/**
+ *
+ */
+public enum ShopifyIntegrationSubscriptionAppVersion {
+
+ BASIC("BASIC"),
+
+ SUBSCRIPTION("SUBSCRIPTION"),
+
+ API_2019_07("API_2019_07");
+
+ private String value;
+
+ ShopifyIntegrationSubscriptionAppVersion(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static ShopifyIntegrationSubscriptionAppVersion fromValue(String text) {
+ for (ShopifyIntegrationSubscriptionAppVersion b : ShopifyIntegrationSubscriptionAppVersion.values()) {
+ if (String.valueOf(b.value).equals(text)) {
+ return b;
+ }
+ }
+ return null;
+ }
+}
+
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/ShopifyTransaction.java b/src/main/java/com/postfinancecheckout/sdk/model/ShopifyTransaction.java
index fd85d2e..794bb9e 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/ShopifyTransaction.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/ShopifyTransaction.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -53,6 +53,10 @@ public class ShopifyTransaction extends TransactionAwareEntity {
protected ShopifyIntegration integration = null;
+ @JsonProperty("linkedSpaceId")
+ protected Long linkedSpaceId = null;
+
+
@JsonProperty("orderId")
protected String orderId = null;
@@ -108,6 +112,16 @@ public ShopifyIntegration getIntegration() {
}
+ /**
+ * The linked space id holds the ID of the space to which the entity belongs to.
+ * @return linkedSpaceId
+ **/
+ @ApiModelProperty(value = "The linked space id holds the ID of the space to which the entity belongs to.")
+ public Long getLinkedSpaceId() {
+ return linkedSpaceId;
+ }
+
+
/**
*
* @return orderId
@@ -178,12 +192,10 @@ public boolean equals(java.lang.Object o) {
return false;
}
ShopifyTransaction shopifyTransaction = (ShopifyTransaction) o;
- return Objects.equals(this.id, shopifyTransaction.id) &&
- Objects.equals(this.linkedSpaceId, shopifyTransaction.linkedSpaceId) &&
- Objects.equals(this.linkedTransaction, shopifyTransaction.linkedTransaction) &&
- Objects.equals(this.checkoutId, shopifyTransaction.checkoutId) &&
+ return Objects.equals(this.checkoutId, shopifyTransaction.checkoutId) &&
Objects.equals(this.createdOn, shopifyTransaction.createdOn) &&
Objects.equals(this.integration, shopifyTransaction.integration) &&
+ Objects.equals(this.linkedSpaceId, shopifyTransaction.linkedSpaceId) &&
Objects.equals(this.orderId, shopifyTransaction.orderId) &&
Objects.equals(this.orderName, shopifyTransaction.orderName) &&
Objects.equals(this.plannedPurgeDate, shopifyTransaction.plannedPurgeDate) &&
@@ -195,7 +207,7 @@ public boolean equals(java.lang.Object o) {
@Override
public int hashCode() {
- return Objects.hash(id, linkedSpaceId, linkedTransaction, checkoutId, createdOn, integration, orderId, orderName, plannedPurgeDate, state, transaction, version, super.hashCode());
+ return Objects.hash(checkoutId, createdOn, integration, linkedSpaceId, orderId, orderName, plannedPurgeDate, state, transaction, version, super.hashCode());
}
@@ -204,12 +216,10 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ShopifyTransaction {\n");
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
- sb.append(" id: ").append(toIndentedString(id)).append("\n");
- sb.append(" linkedSpaceId: ").append(toIndentedString(linkedSpaceId)).append("\n");
- sb.append(" linkedTransaction: ").append(toIndentedString(linkedTransaction)).append("\n");
sb.append(" checkoutId: ").append(toIndentedString(checkoutId)).append("\n");
sb.append(" createdOn: ").append(toIndentedString(createdOn)).append("\n");
sb.append(" integration: ").append(toIndentedString(integration)).append("\n");
+ sb.append(" linkedSpaceId: ").append(toIndentedString(linkedSpaceId)).append("\n");
sb.append(" orderId: ").append(toIndentedString(orderId)).append("\n");
sb.append(" orderName: ").append(toIndentedString(orderName)).append("\n");
sb.append(" plannedPurgeDate: ").append(toIndentedString(plannedPurgeDate)).append("\n");
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/ShopifyTransactionState.java b/src/main/java/com/postfinancecheckout/sdk/model/ShopifyTransactionState.java
index b962d64..4ecd90a 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/ShopifyTransactionState.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/ShopifyTransactionState.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/Space.java b/src/main/java/com/postfinancecheckout/sdk/model/Space.java
index 8dce270..b22fc76 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/Space.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/Space.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -55,6 +55,14 @@ public class Space {
protected Boolean activeOrRestrictedActive = null;
+ @JsonProperty("createdBy")
+ protected Long createdBy = null;
+
+
+ @JsonProperty("createdOn")
+ protected OffsetDateTime createdOn = null;
+
+
@JsonProperty("database")
protected TenantDatabase database = null;
@@ -146,6 +154,26 @@ public Boolean isActiveOrRestrictedActive() {
}
+ /**
+ * The ID of the user who created this entity.
+ * @return createdBy
+ **/
+ @ApiModelProperty(value = "The ID of the user who created this entity.")
+ public Long getCreatedBy() {
+ return createdBy;
+ }
+
+
+ /**
+ * The date and time when this entity was created.
+ * @return createdOn
+ **/
+ @ApiModelProperty(value = "The date and time when this entity was created.")
+ public OffsetDateTime getCreatedOn() {
+ return createdOn;
+ }
+
+
/**
* The database in which the space's data are stored in.
* @return database
@@ -309,6 +337,8 @@ public boolean equals(java.lang.Object o) {
return Objects.equals(this.account, space.account) &&
Objects.equals(this.active, space.active) &&
Objects.equals(this.activeOrRestrictedActive, space.activeOrRestrictedActive) &&
+ Objects.equals(this.createdBy, space.createdBy) &&
+ Objects.equals(this.createdOn, space.createdOn) &&
Objects.equals(this.database, space.database) &&
Objects.equals(this.deletedBy, space.deletedBy) &&
Objects.equals(this.deletedOn, space.deletedOn) &&
@@ -328,7 +358,7 @@ public boolean equals(java.lang.Object o) {
@Override
public int hashCode() {
- return Objects.hash(account, active, activeOrRestrictedActive, database, deletedBy, deletedOn, id, lastModifiedDate, name, plannedPurgeDate, postalAddress, primaryCurrency, requestLimit, restrictedActive, state, technicalContactAddresses, timeZone, version);
+ return Objects.hash(account, active, activeOrRestrictedActive, createdBy, createdOn, database, deletedBy, deletedOn, id, lastModifiedDate, name, plannedPurgeDate, postalAddress, primaryCurrency, requestLimit, restrictedActive, state, technicalContactAddresses, timeZone, version);
}
@@ -340,6 +370,8 @@ public String toString() {
sb.append(" account: ").append(toIndentedString(account)).append("\n");
sb.append(" active: ").append(toIndentedString(active)).append("\n");
sb.append(" activeOrRestrictedActive: ").append(toIndentedString(activeOrRestrictedActive)).append("\n");
+ sb.append(" createdBy: ").append(toIndentedString(createdBy)).append("\n");
+ sb.append(" createdOn: ").append(toIndentedString(createdOn)).append("\n");
sb.append(" database: ").append(toIndentedString(database)).append("\n");
sb.append(" deletedBy: ").append(toIndentedString(deletedBy)).append("\n");
sb.append(" deletedOn: ").append(toIndentedString(deletedOn)).append("\n");
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/SpaceAddress.java b/src/main/java/com/postfinancecheckout/sdk/model/SpaceAddress.java
index 0c94ddb..f7a5e5e 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/SpaceAddress.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/SpaceAddress.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/SpaceAddressCreate.java b/src/main/java/com/postfinancecheckout/sdk/model/SpaceAddressCreate.java
index 2f7dd08..31792f1 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/SpaceAddressCreate.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/SpaceAddressCreate.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/SpaceCreate.java b/src/main/java/com/postfinancecheckout/sdk/model/SpaceCreate.java
index 0053e58..5fd4828 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/SpaceCreate.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/SpaceCreate.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -25,9 +25,12 @@
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import com.postfinancecheckout.sdk.model.AbstractSpaceUpdate;
+import com.postfinancecheckout.sdk.model.CreationEntityState;
+import com.postfinancecheckout.sdk.model.SpaceAddressCreate;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
-import java.util.ArrayList;
+import java.time.OffsetDateTime;
+import java.util.List;
import java.util.*;
import java.time.OffsetDateTime;
@@ -72,21 +75,13 @@ public boolean equals(java.lang.Object o) {
return false;
}
SpaceCreate spaceCreate = (SpaceCreate) o;
- return Objects.equals(this.lastModifiedDate, spaceCreate.lastModifiedDate) &&
- Objects.equals(this.name, spaceCreate.name) &&
- Objects.equals(this.postalAddress, spaceCreate.postalAddress) &&
- Objects.equals(this.primaryCurrency, spaceCreate.primaryCurrency) &&
- Objects.equals(this.requestLimit, spaceCreate.requestLimit) &&
- Objects.equals(this.state, spaceCreate.state) &&
- Objects.equals(this.technicalContactAddresses, spaceCreate.technicalContactAddresses) &&
- Objects.equals(this.timeZone, spaceCreate.timeZone) &&
- Objects.equals(this.account, spaceCreate.account) &&
+ return Objects.equals(this.account, spaceCreate.account) &&
super.equals(o);
}
@Override
public int hashCode() {
- return Objects.hash(lastModifiedDate, name, postalAddress, primaryCurrency, requestLimit, state, technicalContactAddresses, timeZone, account, super.hashCode());
+ return Objects.hash(account, super.hashCode());
}
@@ -95,14 +90,6 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SpaceCreate {\n");
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
- sb.append(" lastModifiedDate: ").append(toIndentedString(lastModifiedDate)).append("\n");
- sb.append(" name: ").append(toIndentedString(name)).append("\n");
- sb.append(" postalAddress: ").append(toIndentedString(postalAddress)).append("\n");
- sb.append(" primaryCurrency: ").append(toIndentedString(primaryCurrency)).append("\n");
- sb.append(" requestLimit: ").append(toIndentedString(requestLimit)).append("\n");
- sb.append(" state: ").append(toIndentedString(state)).append("\n");
- sb.append(" technicalContactAddresses: ").append(toIndentedString(technicalContactAddresses)).append("\n");
- sb.append(" timeZone: ").append(toIndentedString(timeZone)).append("\n");
sb.append(" account: ").append(toIndentedString(account)).append("\n");
sb.append("}");
return sb.toString();
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/SpaceUpdate.java b/src/main/java/com/postfinancecheckout/sdk/model/SpaceUpdate.java
index 1b57928..cae353c 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/SpaceUpdate.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/SpaceUpdate.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -25,9 +25,12 @@
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import com.postfinancecheckout.sdk.model.AbstractSpaceUpdate;
+import com.postfinancecheckout.sdk.model.CreationEntityState;
+import com.postfinancecheckout.sdk.model.SpaceAddressCreate;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
-import java.util.ArrayList;
+import java.time.OffsetDateTime;
+import java.util.List;
import java.util.*;
import java.time.OffsetDateTime;
@@ -95,22 +98,14 @@ public boolean equals(java.lang.Object o) {
return false;
}
SpaceUpdate spaceUpdate = (SpaceUpdate) o;
- return Objects.equals(this.lastModifiedDate, spaceUpdate.lastModifiedDate) &&
- Objects.equals(this.name, spaceUpdate.name) &&
- Objects.equals(this.postalAddress, spaceUpdate.postalAddress) &&
- Objects.equals(this.primaryCurrency, spaceUpdate.primaryCurrency) &&
- Objects.equals(this.requestLimit, spaceUpdate.requestLimit) &&
- Objects.equals(this.state, spaceUpdate.state) &&
- Objects.equals(this.technicalContactAddresses, spaceUpdate.technicalContactAddresses) &&
- Objects.equals(this.timeZone, spaceUpdate.timeZone) &&
- Objects.equals(this.id, spaceUpdate.id) &&
+ return Objects.equals(this.id, spaceUpdate.id) &&
Objects.equals(this.version, spaceUpdate.version) &&
super.equals(o);
}
@Override
public int hashCode() {
- return Objects.hash(lastModifiedDate, name, postalAddress, primaryCurrency, requestLimit, state, technicalContactAddresses, timeZone, id, version, super.hashCode());
+ return Objects.hash(id, version, super.hashCode());
}
@@ -119,14 +114,6 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SpaceUpdate {\n");
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
- sb.append(" lastModifiedDate: ").append(toIndentedString(lastModifiedDate)).append("\n");
- sb.append(" name: ").append(toIndentedString(name)).append("\n");
- sb.append(" postalAddress: ").append(toIndentedString(postalAddress)).append("\n");
- sb.append(" primaryCurrency: ").append(toIndentedString(primaryCurrency)).append("\n");
- sb.append(" requestLimit: ").append(toIndentedString(requestLimit)).append("\n");
- sb.append(" state: ").append(toIndentedString(state)).append("\n");
- sb.append(" technicalContactAddresses: ").append(toIndentedString(technicalContactAddresses)).append("\n");
- sb.append(" timeZone: ").append(toIndentedString(timeZone)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" version: ").append(toIndentedString(version)).append("\n");
sb.append("}");
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/SpaceView.java b/src/main/java/com/postfinancecheckout/sdk/model/SpaceView.java
index e266ab4..fb8a810 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/SpaceView.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/SpaceView.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/StaticValue.java b/src/main/java/com/postfinancecheckout/sdk/model/StaticValue.java
index 4066643..f08d5c1 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/StaticValue.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/StaticValue.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/Tax.java b/src/main/java/com/postfinancecheckout/sdk/model/Tax.java
index bde139d..317b9b5 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/Tax.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/Tax.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/TaxCreate.java b/src/main/java/com/postfinancecheckout/sdk/model/TaxCreate.java
index 9958eee..672c7c5 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/TaxCreate.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/TaxCreate.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/TenantDatabase.java b/src/main/java/com/postfinancecheckout/sdk/model/TenantDatabase.java
index cdf6156..b21da78 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/TenantDatabase.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/TenantDatabase.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/Token.java b/src/main/java/com/postfinancecheckout/sdk/model/Token.java
index 39cb77f..caf1262 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/Token.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/Token.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/TokenCreate.java b/src/main/java/com/postfinancecheckout/sdk/model/TokenCreate.java
index 87e0b21..cc0551a 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/TokenCreate.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/TokenCreate.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -95,20 +95,14 @@ public boolean equals(java.lang.Object o) {
return false;
}
TokenCreate tokenCreate = (TokenCreate) o;
- return Objects.equals(this.customerEmailAddress, tokenCreate.customerEmailAddress) &&
- Objects.equals(this.customerId, tokenCreate.customerId) &&
- Objects.equals(this.enabledForOneClickPayment, tokenCreate.enabledForOneClickPayment) &&
- Objects.equals(this.language, tokenCreate.language) &&
- Objects.equals(this.timeZone, tokenCreate.timeZone) &&
- Objects.equals(this.tokenReference, tokenCreate.tokenReference) &&
- Objects.equals(this.externalId, tokenCreate.externalId) &&
+ return Objects.equals(this.externalId, tokenCreate.externalId) &&
Objects.equals(this.state, tokenCreate.state) &&
super.equals(o);
}
@Override
public int hashCode() {
- return Objects.hash(customerEmailAddress, customerId, enabledForOneClickPayment, language, timeZone, tokenReference, externalId, state, super.hashCode());
+ return Objects.hash(externalId, state, super.hashCode());
}
@@ -117,12 +111,6 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TokenCreate {\n");
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
- sb.append(" customerEmailAddress: ").append(toIndentedString(customerEmailAddress)).append("\n");
- sb.append(" customerId: ").append(toIndentedString(customerId)).append("\n");
- sb.append(" enabledForOneClickPayment: ").append(toIndentedString(enabledForOneClickPayment)).append("\n");
- sb.append(" language: ").append(toIndentedString(language)).append("\n");
- sb.append(" timeZone: ").append(toIndentedString(timeZone)).append("\n");
- sb.append(" tokenReference: ").append(toIndentedString(tokenReference)).append("\n");
sb.append(" externalId: ").append(toIndentedString(externalId)).append("\n");
sb.append(" state: ").append(toIndentedString(state)).append("\n");
sb.append("}");
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/TokenUpdate.java b/src/main/java/com/postfinancecheckout/sdk/model/TokenUpdate.java
index e79df4e..2a6579c 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/TokenUpdate.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/TokenUpdate.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -94,20 +94,14 @@ public boolean equals(java.lang.Object o) {
return false;
}
TokenUpdate tokenUpdate = (TokenUpdate) o;
- return Objects.equals(this.customerEmailAddress, tokenUpdate.customerEmailAddress) &&
- Objects.equals(this.customerId, tokenUpdate.customerId) &&
- Objects.equals(this.enabledForOneClickPayment, tokenUpdate.enabledForOneClickPayment) &&
- Objects.equals(this.language, tokenUpdate.language) &&
- Objects.equals(this.timeZone, tokenUpdate.timeZone) &&
- Objects.equals(this.tokenReference, tokenUpdate.tokenReference) &&
- Objects.equals(this.id, tokenUpdate.id) &&
+ return Objects.equals(this.id, tokenUpdate.id) &&
Objects.equals(this.version, tokenUpdate.version) &&
super.equals(o);
}
@Override
public int hashCode() {
- return Objects.hash(customerEmailAddress, customerId, enabledForOneClickPayment, language, timeZone, tokenReference, id, version, super.hashCode());
+ return Objects.hash(id, version, super.hashCode());
}
@@ -116,12 +110,6 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TokenUpdate {\n");
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
- sb.append(" customerEmailAddress: ").append(toIndentedString(customerEmailAddress)).append("\n");
- sb.append(" customerId: ").append(toIndentedString(customerId)).append("\n");
- sb.append(" enabledForOneClickPayment: ").append(toIndentedString(enabledForOneClickPayment)).append("\n");
- sb.append(" language: ").append(toIndentedString(language)).append("\n");
- sb.append(" timeZone: ").append(toIndentedString(timeZone)).append("\n");
- sb.append(" tokenReference: ").append(toIndentedString(tokenReference)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" version: ").append(toIndentedString(version)).append("\n");
sb.append("}");
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/TokenVersion.java b/src/main/java/com/postfinancecheckout/sdk/model/TokenVersion.java
index 198a9a3..a22336c 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/TokenVersion.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/TokenVersion.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/TokenVersionState.java b/src/main/java/com/postfinancecheckout/sdk/model/TokenVersionState.java
index 8880f4b..e5eb605 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/TokenVersionState.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/TokenVersionState.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/TokenVersionType.java b/src/main/java/com/postfinancecheckout/sdk/model/TokenVersionType.java
index 5854da4..a381e71 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/TokenVersionType.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/TokenVersionType.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/TokenizationMode.java b/src/main/java/com/postfinancecheckout/sdk/model/TokenizationMode.java
index 1094fe9..1aea540 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/TokenizationMode.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/TokenizationMode.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/Transaction.java b/src/main/java/com/postfinancecheckout/sdk/model/Transaction.java
index 84cc27a..55e66a1 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/Transaction.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/Transaction.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -32,8 +32,10 @@
import com.postfinancecheckout.sdk.model.LineItem;
import com.postfinancecheckout.sdk.model.PaymentConnectorConfiguration;
import com.postfinancecheckout.sdk.model.PaymentMethodBrand;
+import com.postfinancecheckout.sdk.model.PaymentTerminal;
import com.postfinancecheckout.sdk.model.Token;
import com.postfinancecheckout.sdk.model.TokenizationMode;
+import com.postfinancecheckout.sdk.model.TransactionCompletionBehavior;
import com.postfinancecheckout.sdk.model.TransactionEnvironmentSelectionStrategy;
import com.postfinancecheckout.sdk.model.TransactionGroup;
import com.postfinancecheckout.sdk.model.TransactionState;
@@ -112,6 +114,10 @@ public class Transaction {
protected OffsetDateTime completedOn = null;
+ @JsonProperty("completionBehavior")
+ protected TransactionCompletionBehavior completionBehavior = null;
+
+
@JsonProperty("completionTimeoutOn")
protected OffsetDateTime completionTimeoutOn = null;
@@ -264,6 +270,10 @@ public class Transaction {
protected String successUrl = null;
+ @JsonProperty("terminal")
+ protected PaymentTerminal terminal = null;
+
+
@JsonProperty("timeZone")
protected String timeZone = null;
@@ -441,6 +451,16 @@ public OffsetDateTime getCompletedOn() {
}
+ /**
+ * The completion behavior controls when the transaction is completed.
+ * @return completionBehavior
+ **/
+ @ApiModelProperty(value = "The completion behavior controls when the transaction is completed.")
+ public TransactionCompletionBehavior getCompletionBehavior() {
+ return completionBehavior;
+ }
+
+
/**
*
* @return completionTimeoutOn
@@ -821,6 +841,16 @@ public String getSuccessUrl() {
}
+ /**
+ * The terminal on which the payment was processed.
+ * @return terminal
+ **/
+ @ApiModelProperty(value = "The terminal on which the payment was processed.")
+ public PaymentTerminal getTerminal() {
+ return terminal;
+ }
+
+
/**
* The time zone defines in which time zone the customer is located in. The time zone may affects how dates are formatted when interacting with the customer.
* @return timeZone
@@ -935,6 +965,7 @@ public boolean equals(java.lang.Object o) {
Objects.equals(this.chargeRetryEnabled, transaction.chargeRetryEnabled) &&
Objects.equals(this.completedAmount, transaction.completedAmount) &&
Objects.equals(this.completedOn, transaction.completedOn) &&
+ Objects.equals(this.completionBehavior, transaction.completionBehavior) &&
Objects.equals(this.completionTimeoutOn, transaction.completionTimeoutOn) &&
Objects.equals(this.confirmedBy, transaction.confirmedBy) &&
Objects.equals(this.confirmedOn, transaction.confirmedOn) &&
@@ -973,6 +1004,7 @@ public boolean equals(java.lang.Object o) {
Objects.equals(this.spaceViewId, transaction.spaceViewId) &&
Objects.equals(this.state, transaction.state) &&
Objects.equals(this.successUrl, transaction.successUrl) &&
+ Objects.equals(this.terminal, transaction.terminal) &&
Objects.equals(this.timeZone, transaction.timeZone) &&
Objects.equals(this.token, transaction.token) &&
Objects.equals(this.tokenizationMode, transaction.tokenizationMode) &&
@@ -986,7 +1018,7 @@ public boolean equals(java.lang.Object o) {
@Override
public int hashCode() {
- return Objects.hash(acceptHeader, acceptLanguageHeader, allowedPaymentMethodBrands, allowedPaymentMethodConfigurations, authorizationAmount, authorizationEnvironment, authorizationSalesChannel, authorizationTimeoutOn, authorizedOn, autoConfirmationEnabled, billingAddress, chargeRetryEnabled, completedAmount, completedOn, completionTimeoutOn, confirmedBy, confirmedOn, createdBy, createdOn, currency, customerEmailAddress, customerId, customersPresence, deliveryDecisionMadeOn, deviceSessionIdentifier, emailsDisabled, endOfLife, environment, environmentSelectionStrategy, failedOn, failedUrl, failureReason, group, id, internetProtocolAddress, internetProtocolAddressCountry, invoiceMerchantReference, language, lineItems, linkedSpaceId, merchantReference, metaData, parent, paymentConnectorConfiguration, plannedPurgeDate, processingOn, refundedAmount, shippingAddress, shippingMethod, spaceViewId, state, successUrl, timeZone, token, tokenizationMode, totalAppliedFees, totalSettledAmount, userAgentHeader, userFailureMessage, userInterfaceType, version);
+ return Objects.hash(acceptHeader, acceptLanguageHeader, allowedPaymentMethodBrands, allowedPaymentMethodConfigurations, authorizationAmount, authorizationEnvironment, authorizationSalesChannel, authorizationTimeoutOn, authorizedOn, autoConfirmationEnabled, billingAddress, chargeRetryEnabled, completedAmount, completedOn, completionBehavior, completionTimeoutOn, confirmedBy, confirmedOn, createdBy, createdOn, currency, customerEmailAddress, customerId, customersPresence, deliveryDecisionMadeOn, deviceSessionIdentifier, emailsDisabled, endOfLife, environment, environmentSelectionStrategy, failedOn, failedUrl, failureReason, group, id, internetProtocolAddress, internetProtocolAddressCountry, invoiceMerchantReference, language, lineItems, linkedSpaceId, merchantReference, metaData, parent, paymentConnectorConfiguration, plannedPurgeDate, processingOn, refundedAmount, shippingAddress, shippingMethod, spaceViewId, state, successUrl, terminal, timeZone, token, tokenizationMode, totalAppliedFees, totalSettledAmount, userAgentHeader, userFailureMessage, userInterfaceType, version);
}
@@ -1009,6 +1041,7 @@ public String toString() {
sb.append(" chargeRetryEnabled: ").append(toIndentedString(chargeRetryEnabled)).append("\n");
sb.append(" completedAmount: ").append(toIndentedString(completedAmount)).append("\n");
sb.append(" completedOn: ").append(toIndentedString(completedOn)).append("\n");
+ sb.append(" completionBehavior: ").append(toIndentedString(completionBehavior)).append("\n");
sb.append(" completionTimeoutOn: ").append(toIndentedString(completionTimeoutOn)).append("\n");
sb.append(" confirmedBy: ").append(toIndentedString(confirmedBy)).append("\n");
sb.append(" confirmedOn: ").append(toIndentedString(confirmedOn)).append("\n");
@@ -1047,6 +1080,7 @@ public String toString() {
sb.append(" spaceViewId: ").append(toIndentedString(spaceViewId)).append("\n");
sb.append(" state: ").append(toIndentedString(state)).append("\n");
sb.append(" successUrl: ").append(toIndentedString(successUrl)).append("\n");
+ sb.append(" terminal: ").append(toIndentedString(terminal)).append("\n");
sb.append(" timeZone: ").append(toIndentedString(timeZone)).append("\n");
sb.append(" token: ").append(toIndentedString(token)).append("\n");
sb.append(" tokenizationMode: ").append(toIndentedString(tokenizationMode)).append("\n");
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/TransactionAwareEntity.java b/src/main/java/com/postfinancecheckout/sdk/model/TransactionAwareEntity.java
index 466b030..5a1f3eb 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/TransactionAwareEntity.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/TransactionAwareEntity.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/TransactionComment.java b/src/main/java/com/postfinancecheckout/sdk/model/TransactionComment.java
index 6dbf1c5..d0e4e72 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/TransactionComment.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/TransactionComment.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/TransactionCommentActive.java b/src/main/java/com/postfinancecheckout/sdk/model/TransactionCommentActive.java
index 1859b5b..590b07b 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/TransactionCommentActive.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/TransactionCommentActive.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -94,15 +94,14 @@ public boolean equals(java.lang.Object o) {
return false;
}
TransactionCommentActive transactionCommentActive = (TransactionCommentActive) o;
- return Objects.equals(this.content, transactionCommentActive.content) &&
- Objects.equals(this.id, transactionCommentActive.id) &&
+ return Objects.equals(this.id, transactionCommentActive.id) &&
Objects.equals(this.version, transactionCommentActive.version) &&
super.equals(o);
}
@Override
public int hashCode() {
- return Objects.hash(content, id, version, super.hashCode());
+ return Objects.hash(id, version, super.hashCode());
}
@@ -111,7 +110,6 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransactionCommentActive {\n");
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
- sb.append(" content: ").append(toIndentedString(content)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" version: ").append(toIndentedString(version)).append("\n");
sb.append("}");
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/TransactionCommentCreate.java b/src/main/java/com/postfinancecheckout/sdk/model/TransactionCommentCreate.java
index cce7e9c..5196130 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/TransactionCommentCreate.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/TransactionCommentCreate.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -71,14 +71,13 @@ public boolean equals(java.lang.Object o) {
return false;
}
TransactionCommentCreate transactionCommentCreate = (TransactionCommentCreate) o;
- return Objects.equals(this.content, transactionCommentCreate.content) &&
- Objects.equals(this.transaction, transactionCommentCreate.transaction) &&
+ return Objects.equals(this.transaction, transactionCommentCreate.transaction) &&
super.equals(o);
}
@Override
public int hashCode() {
- return Objects.hash(content, transaction, super.hashCode());
+ return Objects.hash(transaction, super.hashCode());
}
@@ -87,7 +86,6 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransactionCommentCreate {\n");
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
- sb.append(" content: ").append(toIndentedString(content)).append("\n");
sb.append(" transaction: ").append(toIndentedString(transaction)).append("\n");
sb.append("}");
return sb.toString();
diff --git a/src/main/java/com/postfinancecheckout/sdk/model/TransactionCompletion.java b/src/main/java/com/postfinancecheckout/sdk/model/TransactionCompletion.java
index d0dc93b..378e643 100644
--- a/src/main/java/com/postfinancecheckout/sdk/model/TransactionCompletion.java
+++ b/src/main/java/com/postfinancecheckout/sdk/model/TransactionCompletion.java
@@ -1,7 +1,7 @@
/**
-* SDK
+* PostFinance Checkout SDK
*
-* This library allows to interact with the payment service.
+* This library allows to interact with the PostFinance Checkout payment service.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -75,6 +75,10 @@ public class TransactionCompletion extends TransactionAwareEntity {
protected FailureReason failureReason = null;
+ @JsonProperty("invoiceMerchantReference")
+ protected String invoiceMerchantReference = null;
+
+
@JsonProperty("labels")
protected List