Skip to content

Commit 201da7e

Browse files
[payment] Automated update from Adyen/adyen-openapi@68c78bb
1 parent ca74969 commit 201da7e

2 files changed

Lines changed: 31 additions & 30 deletions

File tree

src/main/java/com/adyen/model/payment/ResponseAdditionalDataCommon.java

Lines changed: 31 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2086,15 +2086,17 @@ public void setMerchantReference(String merchantReference) {
20862086
}
20872087

20882088
/**
2089-
* Indicates the processing flow. Possible values: * **sale**: no separate capture required, funds
2090-
* are captured as part of the transaction * **auth**: separate capture is required. This might be
2091-
* automatic, depending on your [capture
2092-
* settings](https://docs.adyen.com/online-payments/capture#types-of-capture).
2093-
*
2094-
* @param networkProcessingMode Indicates the processing flow. Possible values: * **sale**: no
2095-
* separate capture required, funds are captured as part of the transaction * **auth**:
2096-
* separate capture is required. This might be automatic, depending on your [capture
2097-
* settings](https://docs.adyen.com/online-payments/capture#types-of-capture).
2089+
* Indicates the processing flow. Possible values: * **sale**: You do not need to separately
2090+
* capture the funds, because capture happens automatically as part of the transaction. *
2091+
* **auth**: If you have not [configured automatic capture for the
2092+
* transaction](https://docs.adyen.com/online-payments/capture#types-of-capture), you must
2093+
* manually capture the funds.
2094+
*
2095+
* @param networkProcessingMode Indicates the processing flow. Possible values: * **sale**: You do
2096+
* not need to separately capture the funds, because capture happens automatically as part of
2097+
* the transaction. * **auth**: If you have not [configured automatic capture for the
2098+
* transaction](https://docs.adyen.com/online-payments/capture#types-of-capture), you must
2099+
* manually capture the funds.
20982100
* @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining
20992101
*/
21002102
public ResponseAdditionalDataCommon networkProcessingMode(String networkProcessingMode) {
@@ -2104,15 +2106,17 @@ public ResponseAdditionalDataCommon networkProcessingMode(String networkProcessi
21042106
}
21052107

21062108
/**
2107-
* Indicates the processing flow. Possible values: * **sale**: no separate capture required, funds
2108-
* are captured as part of the transaction * **auth**: separate capture is required. This might be
2109-
* automatic, depending on your [capture
2110-
* settings](https://docs.adyen.com/online-payments/capture#types-of-capture).
2109+
* Indicates the processing flow. Possible values: * **sale**: You do not need to separately
2110+
* capture the funds, because capture happens automatically as part of the transaction. *
2111+
* **auth**: If you have not [configured automatic capture for the
2112+
* transaction](https://docs.adyen.com/online-payments/capture#types-of-capture), you must
2113+
* manually capture the funds.
21112114
*
2112-
* @return networkProcessingMode Indicates the processing flow. Possible values: * **sale**: no
2113-
* separate capture required, funds are captured as part of the transaction * **auth**:
2114-
* separate capture is required. This might be automatic, depending on your [capture
2115-
* settings](https://docs.adyen.com/online-payments/capture#types-of-capture).
2115+
* @return networkProcessingMode Indicates the processing flow. Possible values: * **sale**: You
2116+
* do not need to separately capture the funds, because capture happens automatically as part
2117+
* of the transaction. * **auth**: If you have not [configured automatic capture for the
2118+
* transaction](https://docs.adyen.com/online-payments/capture#types-of-capture), you must
2119+
* manually capture the funds.
21162120
*/
21172121
@JsonProperty(JSON_PROPERTY_NETWORK_PROCESSING_MODE)
21182122
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@@ -2121,15 +2125,17 @@ public String getNetworkProcessingMode() {
21212125
}
21222126

21232127
/**
2124-
* Indicates the processing flow. Possible values: * **sale**: no separate capture required, funds
2125-
* are captured as part of the transaction * **auth**: separate capture is required. This might be
2126-
* automatic, depending on your [capture
2127-
* settings](https://docs.adyen.com/online-payments/capture#types-of-capture).
2128+
* Indicates the processing flow. Possible values: * **sale**: You do not need to separately
2129+
* capture the funds, because capture happens automatically as part of the transaction. *
2130+
* **auth**: If you have not [configured automatic capture for the
2131+
* transaction](https://docs.adyen.com/online-payments/capture#types-of-capture), you must
2132+
* manually capture the funds.
21282133
*
2129-
* @param networkProcessingMode Indicates the processing flow. Possible values: * **sale**: no
2130-
* separate capture required, funds are captured as part of the transaction * **auth**:
2131-
* separate capture is required. This might be automatic, depending on your [capture
2132-
* settings](https://docs.adyen.com/online-payments/capture#types-of-capture).
2134+
* @param networkProcessingMode Indicates the processing flow. Possible values: * **sale**: You do
2135+
* not need to separately capture the funds, because capture happens automatically as part of
2136+
* the transaction. * **auth**: If you have not [configured automatic capture for the
2137+
* transaction](https://docs.adyen.com/online-payments/capture#types-of-capture), you must
2138+
* manually capture the funds.
21332139
*/
21342140
@JsonProperty(JSON_PROPERTY_NETWORK_PROCESSING_MODE)
21352141
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

src/test/java/com/adyen/model/nexo/MessageHeaderTest.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
11
package com.adyen.model.nexo;
22

33
import static org.junit.jupiter.api.Assertions.assertEquals;
4-
import static org.junit.jupiter.api.Assertions.assertNotNull;
5-
import static org.junit.jupiter.api.Assertions.assertNull;
64

75
import com.adyen.terminal.serialization.TerminalAPIGsonBuilder;
86
import com.google.gson.Gson;
97
import com.google.gson.JsonObject;
108
import com.google.gson.JsonParser;
11-
import java.io.ByteArrayOutputStream;
129
import java.io.IOException;
13-
import java.io.InputStream;
14-
import java.nio.charset.StandardCharsets;
1510
import org.junit.jupiter.api.Test;
1611

1712
public class MessageHeaderTest {

0 commit comments

Comments
 (0)