From 201da7e251d3b57ed2fe6739c3fc4cf5dadfee8d Mon Sep 17 00:00:00 2001 From: AdyenAutomationBot <38424300+AdyenAutomationBot@users.noreply.github.com> Date: Tue, 31 Mar 2026 06:05:28 +0000 Subject: [PATCH] [payment] Automated update from Adyen/adyen-openapi@68c78bb --- .../payment/ResponseAdditionalDataCommon.java | 56 ++++++++++--------- .../adyen/model/nexo/MessageHeaderTest.java | 5 -- 2 files changed, 31 insertions(+), 30 deletions(-) diff --git a/src/main/java/com/adyen/model/payment/ResponseAdditionalDataCommon.java b/src/main/java/com/adyen/model/payment/ResponseAdditionalDataCommon.java index 339342cf4..12a525fd9 100644 --- a/src/main/java/com/adyen/model/payment/ResponseAdditionalDataCommon.java +++ b/src/main/java/com/adyen/model/payment/ResponseAdditionalDataCommon.java @@ -2086,15 +2086,17 @@ public void setMerchantReference(String merchantReference) { } /** - * Indicates the processing flow. Possible values: * **sale**: no separate capture required, funds - * are captured as part of the transaction * **auth**: separate capture is required. This might be - * automatic, depending on your [capture - * settings](https://docs.adyen.com/online-payments/capture#types-of-capture). - * - * @param networkProcessingMode Indicates the processing flow. Possible values: * **sale**: no - * separate capture required, funds are captured as part of the transaction * **auth**: - * separate capture is required. This might be automatic, depending on your [capture - * settings](https://docs.adyen.com/online-payments/capture#types-of-capture). + * Indicates the processing flow. Possible values: * **sale**: You do not need to separately + * capture the funds, because capture happens automatically as part of the transaction. * + * **auth**: If you have not [configured automatic capture for the + * transaction](https://docs.adyen.com/online-payments/capture#types-of-capture), you must + * manually capture the funds. + * + * @param networkProcessingMode Indicates the processing flow. Possible values: * **sale**: You do + * not need to separately capture the funds, because capture happens automatically as part of + * the transaction. * **auth**: If you have not [configured automatic capture for the + * transaction](https://docs.adyen.com/online-payments/capture#types-of-capture), you must + * manually capture the funds. * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining */ public ResponseAdditionalDataCommon networkProcessingMode(String networkProcessingMode) { @@ -2104,15 +2106,17 @@ public ResponseAdditionalDataCommon networkProcessingMode(String networkProcessi } /** - * Indicates the processing flow. Possible values: * **sale**: no separate capture required, funds - * are captured as part of the transaction * **auth**: separate capture is required. This might be - * automatic, depending on your [capture - * settings](https://docs.adyen.com/online-payments/capture#types-of-capture). + * Indicates the processing flow. Possible values: * **sale**: You do not need to separately + * capture the funds, because capture happens automatically as part of the transaction. * + * **auth**: If you have not [configured automatic capture for the + * transaction](https://docs.adyen.com/online-payments/capture#types-of-capture), you must + * manually capture the funds. * - * @return networkProcessingMode Indicates the processing flow. Possible values: * **sale**: no - * separate capture required, funds are captured as part of the transaction * **auth**: - * separate capture is required. This might be automatic, depending on your [capture - * settings](https://docs.adyen.com/online-payments/capture#types-of-capture). + * @return networkProcessingMode Indicates the processing flow. Possible values: * **sale**: You + * do not need to separately capture the funds, because capture happens automatically as part + * of the transaction. * **auth**: If you have not [configured automatic capture for the + * transaction](https://docs.adyen.com/online-payments/capture#types-of-capture), you must + * manually capture the funds. */ @JsonProperty(JSON_PROPERTY_NETWORK_PROCESSING_MODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -2121,15 +2125,17 @@ public String getNetworkProcessingMode() { } /** - * Indicates the processing flow. Possible values: * **sale**: no separate capture required, funds - * are captured as part of the transaction * **auth**: separate capture is required. This might be - * automatic, depending on your [capture - * settings](https://docs.adyen.com/online-payments/capture#types-of-capture). + * Indicates the processing flow. Possible values: * **sale**: You do not need to separately + * capture the funds, because capture happens automatically as part of the transaction. * + * **auth**: If you have not [configured automatic capture for the + * transaction](https://docs.adyen.com/online-payments/capture#types-of-capture), you must + * manually capture the funds. * - * @param networkProcessingMode Indicates the processing flow. Possible values: * **sale**: no - * separate capture required, funds are captured as part of the transaction * **auth**: - * separate capture is required. This might be automatic, depending on your [capture - * settings](https://docs.adyen.com/online-payments/capture#types-of-capture). + * @param networkProcessingMode Indicates the processing flow. Possible values: * **sale**: You do + * not need to separately capture the funds, because capture happens automatically as part of + * the transaction. * **auth**: If you have not [configured automatic capture for the + * transaction](https://docs.adyen.com/online-payments/capture#types-of-capture), you must + * manually capture the funds. */ @JsonProperty(JSON_PROPERTY_NETWORK_PROCESSING_MODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/src/test/java/com/adyen/model/nexo/MessageHeaderTest.java b/src/test/java/com/adyen/model/nexo/MessageHeaderTest.java index 047008884..35b86be02 100644 --- a/src/test/java/com/adyen/model/nexo/MessageHeaderTest.java +++ b/src/test/java/com/adyen/model/nexo/MessageHeaderTest.java @@ -1,17 +1,12 @@ package com.adyen.model.nexo; import static org.junit.jupiter.api.Assertions.assertEquals; -import static org.junit.jupiter.api.Assertions.assertNotNull; -import static org.junit.jupiter.api.Assertions.assertNull; import com.adyen.terminal.serialization.TerminalAPIGsonBuilder; import com.google.gson.Gson; import com.google.gson.JsonObject; import com.google.gson.JsonParser; -import java.io.ByteArrayOutputStream; import java.io.IOException; -import java.io.InputStream; -import java.nio.charset.StandardCharsets; import org.junit.jupiter.api.Test; public class MessageHeaderTest {