diff --git a/pom.xml b/pom.xml
index f867166b9..73cab3f7e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
com.ingenico.connect.gateway
connect-sdk-java
- 6.25.0
+ 6.26.0
jar
connect-sdk-java
diff --git a/src/examples/java/com/ingenico/connect/gateway/sdk/java/merchant/hostedcheckouts/DeleteHostedCheckoutExample.java b/src/examples/java/com/ingenico/connect/gateway/sdk/java/merchant/hostedcheckouts/DeleteHostedCheckoutExample.java
new file mode 100644
index 000000000..cb9ff97d2
--- /dev/null
+++ b/src/examples/java/com/ingenico/connect/gateway/sdk/java/merchant/hostedcheckouts/DeleteHostedCheckoutExample.java
@@ -0,0 +1,34 @@
+/*
+ * This class was auto-generated from the API references found at
+ * https://epayments-api.developer-ingenico.com/s2sapi/v1/
+ */
+package com.ingenico.connect.gateway.sdk.java.merchant.hostedcheckouts;
+
+import java.io.IOException;
+import java.net.URISyntaxException;
+import java.net.URL;
+
+import com.ingenico.connect.gateway.sdk.java.Client;
+import com.ingenico.connect.gateway.sdk.java.CommunicatorConfiguration;
+import com.ingenico.connect.gateway.sdk.java.Factory;
+
+public class DeleteHostedCheckoutExample {
+
+ public void example() throws URISyntaxException, IOException {
+ Client client = getClient();
+ try {
+ client.merchant("merchantId").hostedcheckouts().delete("hostedCheckoutId");
+ } finally {
+ client.close();
+ }
+ }
+
+ private Client getClient() throws URISyntaxException {
+ String apiKeyId = System.getProperty("connect.api.apiKeyId", "someKey");
+ String secretApiKey = System.getProperty("connect.api.secretApiKey", "someSecret");
+
+ URL propertiesUrl = getClass().getResource("/example-configuration.properties");
+ CommunicatorConfiguration configuration = Factory.createConfiguration(propertiesUrl.toURI(), apiKeyId, secretApiKey);
+ return Factory.createClient(configuration);
+ }
+}
diff --git a/src/main/generated/com/ingenico/connect/gateway/sdk/java/domain/definitions/CardFraudResults.java b/src/main/generated/com/ingenico/connect/gateway/sdk/java/domain/definitions/CardFraudResults.java
index a144a3132..473aa70ba 100644
--- a/src/main/generated/com/ingenico/connect/gateway/sdk/java/domain/definitions/CardFraudResults.java
+++ b/src/main/generated/com/ingenico/connect/gateway/sdk/java/domain/definitions/CardFraudResults.java
@@ -15,6 +15,8 @@ public class CardFraudResults extends FraudResults {
private FraugsterResults fraugster = null;
+ private MicrosoftFraudResults microsoftFraudProtection = null;
+
private FraudResultsRetailDecisions retailDecisions = null;
/**
@@ -129,6 +131,20 @@ public void setFraugster(FraugsterResults value) {
this.fraugster = value;
}
+ /**
+ * Results of Microsoft Fraud Protection risk assessment. Microsoft collects transaction data points and uses Adaptive AI that continuously learns to protect you against payment fraud.
+ */
+ public MicrosoftFraudResults getMicrosoftFraudProtection() {
+ return microsoftFraudProtection;
+ }
+
+ /**
+ * Results of Microsoft Fraud Protection risk assessment. Microsoft collects transaction data points and uses Adaptive AI that continuously learns to protect you against payment fraud.
+ */
+ public void setMicrosoftFraudProtection(MicrosoftFraudResults value) {
+ this.microsoftFraudProtection = value;
+ }
+
/**
* Additional response data returned by RetailDecisions
*/
diff --git a/src/main/generated/com/ingenico/connect/gateway/sdk/java/domain/definitions/MicrosoftFraudResults.java b/src/main/generated/com/ingenico/connect/gateway/sdk/java/domain/definitions/MicrosoftFraudResults.java
new file mode 100644
index 000000000..b8970b9c8
--- /dev/null
+++ b/src/main/generated/com/ingenico/connect/gateway/sdk/java/domain/definitions/MicrosoftFraudResults.java
@@ -0,0 +1,24 @@
+/*
+ * This class was auto-generated from the API references found at
+ * https://epayments-api.developer-ingenico.com/s2sapi/v1/
+ */
+package com.ingenico.connect.gateway.sdk.java.domain.definitions;
+
+public class MicrosoftFraudResults {
+
+ private Integer fraudScore = null;
+
+ /**
+ * Result of the Microsoft Fraud Protection check. This contains the normalized fraud score from a scale of 0 to 100. A higher score indicates an increased risk of fraud.
+ */
+ public Integer getFraudScore() {
+ return fraudScore;
+ }
+
+ /**
+ * Result of the Microsoft Fraud Protection check. This contains the normalized fraud score from a scale of 0 to 100. A higher score indicates an increased risk of fraud.
+ */
+ public void setFraudScore(Integer value) {
+ this.fraudScore = value;
+ }
+}
diff --git a/src/main/generated/com/ingenico/connect/gateway/sdk/java/merchant/hostedcheckouts/HostedcheckoutsClient.java b/src/main/generated/com/ingenico/connect/gateway/sdk/java/merchant/hostedcheckouts/HostedcheckoutsClient.java
index 7990324fa..829deeb45 100644
--- a/src/main/generated/com/ingenico/connect/gateway/sdk/java/merchant/hostedcheckouts/HostedcheckoutsClient.java
+++ b/src/main/generated/com/ingenico/connect/gateway/sdk/java/merchant/hostedcheckouts/HostedcheckoutsClient.java
@@ -136,4 +136,56 @@ public GetHostedCheckoutResponse get(String hostedCheckoutId, CallContext contex
throw createException(e.getStatusCode(), e.getBody(), errorObject, context);
}
}
+
+ /**
+ * Resource /{merchantId}/hostedcheckouts/{hostedCheckoutId}
+ * - Delete hosted checkout
+ *
+ * @param hostedCheckoutId String
+ * @throws ValidationException if the request was not correct and couldn't be processed (HTTP status code 400)
+ * @throws AuthorizationException if the request was not allowed (HTTP status code 403)
+ * @throws ReferenceException if an object was attempted to be referenced that doesn't exist or has been removed,
+ * or there was a conflict (HTTP status code 404, 409 or 410)
+ * @throws GlobalCollectException if something went wrong at the Ingenico ePayments platform,
+ * the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer,
+ * or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
+ * @throws ApiException if the Ingenico ePayments platform returned any other error
+ */
+ public void delete(String hostedCheckoutId) {
+ delete(hostedCheckoutId, null);
+ }
+
+ /**
+ * Resource /{merchantId}/hostedcheckouts/{hostedCheckoutId}
+ * - Delete hosted checkout
+ *
+ * @param hostedCheckoutId String
+ * @param context CallContext
+ * @throws ValidationException if the request was not correct and couldn't be processed (HTTP status code 400)
+ * @throws AuthorizationException if the request was not allowed (HTTP status code 403)
+ * @throws IdempotenceException if an idempotent request caused a conflict (HTTP status code 409)
+ * @throws ReferenceException if an object was attempted to be referenced that doesn't exist or has been removed,
+ * or there was a conflict (HTTP status code 404, 409 or 410)
+ * @throws GlobalCollectException if something went wrong at the Ingenico ePayments platform,
+ * the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer,
+ * or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
+ * @throws ApiException if the Ingenico ePayments platform returned any other error
+ */
+ public void delete(String hostedCheckoutId, CallContext context) {
+ Map pathContext = new TreeMap();
+ pathContext.put("hostedCheckoutId", hostedCheckoutId);
+ String uri = instantiateUri("/v1/{merchantId}/hostedcheckouts/{hostedCheckoutId}", pathContext);
+ try {
+ communicator.delete(
+ uri,
+ getClientHeaders(),
+ null,
+ void.class,
+ context);
+ } catch (ResponseException e) {
+ final Class> errorType = ErrorResponse.class;
+ final Object errorObject = communicator.getMarshaller().unmarshal(e.getBody(), errorType);
+ throw createException(e.getStatusCode(), e.getBody(), errorObject, context);
+ }
+ }
}
diff --git a/src/main/java/com/ingenico/connect/gateway/sdk/java/MetaDataProvider.java b/src/main/java/com/ingenico/connect/gateway/sdk/java/MetaDataProvider.java
index e124060da..4d3986c8d 100644
--- a/src/main/java/com/ingenico/connect/gateway/sdk/java/MetaDataProvider.java
+++ b/src/main/java/com/ingenico/connect/gateway/sdk/java/MetaDataProvider.java
@@ -19,7 +19,7 @@
*/
public class MetaDataProvider {
- private static final String SDK_VERSION = "6.25.0";
+ private static final String SDK_VERSION = "6.26.0";
private static final String SERVER_META_INFO_HEADER = "X-GCS-ServerMetaInfo";
static final Set PROHIBITED_HEADERS;