Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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)
Expand All @@ -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)
Expand Down
5 changes: 0 additions & 5 deletions src/test/java/com/adyen/model/nexo/MessageHeaderTest.java
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
Loading