|
58 | 58 | ResponseAdditionalDataCommon.JSON_PROPERTY_MC_BANK_NET_REFERENCE_NUMBER, |
59 | 59 | ResponseAdditionalDataCommon.JSON_PROPERTY_MERCHANT_ADVICE_CODE, |
60 | 60 | ResponseAdditionalDataCommon.JSON_PROPERTY_MERCHANT_REFERENCE, |
| 61 | + ResponseAdditionalDataCommon.JSON_PROPERTY_NETWORK_PROCESSING_MODE, |
61 | 62 | ResponseAdditionalDataCommon.JSON_PROPERTY_NETWORK_TX_REFERENCE, |
62 | 63 | ResponseAdditionalDataCommon.JSON_PROPERTY_OWNER_NAME, |
63 | 64 | ResponseAdditionalDataCommon.JSON_PROPERTY_PAYMENT_ACCOUNT_REFERENCE, |
@@ -385,6 +386,12 @@ public static FraudRiskLevelEnum fromValue(String value) { |
385 | 386 | /** Mark when the attribute has been explicitly set. */ |
386 | 387 | private boolean isSetMerchantReference = false; |
387 | 388 |
|
| 389 | + public static final String JSON_PROPERTY_NETWORK_PROCESSING_MODE = "networkProcessingMode"; |
| 390 | + private String networkProcessingMode; |
| 391 | + |
| 392 | + /** Mark when the attribute has been explicitly set. */ |
| 393 | + private boolean isSetNetworkProcessingMode = false; |
| 394 | + |
388 | 395 | public static final String JSON_PROPERTY_NETWORK_TX_REFERENCE = "networkTxReference"; |
389 | 396 | private String networkTxReference; |
390 | 397 |
|
@@ -2078,6 +2085,59 @@ public void setMerchantReference(String merchantReference) { |
2078 | 2085 | isSetMerchantReference = true; // mark as set |
2079 | 2086 | } |
2080 | 2087 |
|
| 2088 | + /** |
| 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). |
| 2098 | + * @return the current {@code ResponseAdditionalDataCommon} instance, allowing for method chaining |
| 2099 | + */ |
| 2100 | + public ResponseAdditionalDataCommon networkProcessingMode(String networkProcessingMode) { |
| 2101 | + this.networkProcessingMode = networkProcessingMode; |
| 2102 | + isSetNetworkProcessingMode = true; // mark as set |
| 2103 | + return this; |
| 2104 | + } |
| 2105 | + |
| 2106 | + /** |
| 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). |
| 2111 | + * |
| 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). |
| 2116 | + */ |
| 2117 | + @JsonProperty(JSON_PROPERTY_NETWORK_PROCESSING_MODE) |
| 2118 | + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) |
| 2119 | + public String getNetworkProcessingMode() { |
| 2120 | + return networkProcessingMode; |
| 2121 | + } |
| 2122 | + |
| 2123 | + /** |
| 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 | + * |
| 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). |
| 2133 | + */ |
| 2134 | + @JsonProperty(JSON_PROPERTY_NETWORK_PROCESSING_MODE) |
| 2135 | + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) |
| 2136 | + public void setNetworkProcessingMode(String networkProcessingMode) { |
| 2137 | + this.networkProcessingMode = networkProcessingMode; |
| 2138 | + isSetNetworkProcessingMode = true; // mark as set |
| 2139 | + } |
| 2140 | + |
2081 | 2141 | /** |
2082 | 2142 | * Returned in the response if you are not tokenizing with Adyen and are using the |
2083 | 2143 | * Merchant-initiated transactions (MIT) framework from Mastercard or Visa. This contains either |
@@ -3433,6 +3493,11 @@ public boolean equals(Object o) { |
3433 | 3493 | && Objects.equals(this.merchantReference, responseAdditionalDataCommon.merchantReference) |
3434 | 3494 | && Objects.equals( |
3435 | 3495 | this.isSetMerchantReference, responseAdditionalDataCommon.isSetMerchantReference) |
| 3496 | + && Objects.equals( |
| 3497 | + this.networkProcessingMode, responseAdditionalDataCommon.networkProcessingMode) |
| 3498 | + && Objects.equals( |
| 3499 | + this.isSetNetworkProcessingMode, |
| 3500 | + responseAdditionalDataCommon.isSetNetworkProcessingMode) |
3436 | 3501 | && Objects.equals(this.networkTxReference, responseAdditionalDataCommon.networkTxReference) |
3437 | 3502 | && Objects.equals( |
3438 | 3503 | this.isSetNetworkTxReference, responseAdditionalDataCommon.isSetNetworkTxReference) |
@@ -3621,6 +3686,8 @@ public int hashCode() { |
3621 | 3686 | isSetMerchantAdviceCode, |
3622 | 3687 | merchantReference, |
3623 | 3688 | isSetMerchantReference, |
| 3689 | + networkProcessingMode, |
| 3690 | + isSetNetworkProcessingMode, |
3624 | 3691 | networkTxReference, |
3625 | 3692 | isSetNetworkTxReference, |
3626 | 3693 | ownerName, |
@@ -3732,6 +3799,9 @@ public String toString() { |
3732 | 3799 | .append("\n"); |
3733 | 3800 | sb.append(" merchantAdviceCode: ").append(toIndentedString(merchantAdviceCode)).append("\n"); |
3734 | 3801 | sb.append(" merchantReference: ").append(toIndentedString(merchantReference)).append("\n"); |
| 3802 | + sb.append(" networkProcessingMode: ") |
| 3803 | + .append(toIndentedString(networkProcessingMode)) |
| 3804 | + .append("\n"); |
3735 | 3805 | sb.append(" networkTxReference: ").append(toIndentedString(networkTxReference)).append("\n"); |
3736 | 3806 | sb.append(" ownerName: ").append(toIndentedString(ownerName)).append("\n"); |
3737 | 3807 | sb.append(" paymentAccountReference: ") |
@@ -3918,6 +3988,9 @@ public Map<String, Object> getExplicitNulls() { |
3918 | 3988 | if (isSetMerchantReference) { |
3919 | 3989 | addIfNull(nulls, JSON_PROPERTY_MERCHANT_REFERENCE, this.merchantReference); |
3920 | 3990 | } |
| 3991 | + if (isSetNetworkProcessingMode) { |
| 3992 | + addIfNull(nulls, JSON_PROPERTY_NETWORK_PROCESSING_MODE, this.networkProcessingMode); |
| 3993 | + } |
3921 | 3994 | if (isSetNetworkTxReference) { |
3922 | 3995 | addIfNull(nulls, JSON_PROPERTY_NETWORK_TX_REFERENCE, this.networkTxReference); |
3923 | 3996 | } |
|
0 commit comments