Skip to content

Commit ecfe9d2

Browse files
author
Adyen Automation
committed
false[adyen-sdk-automation] automated change
1 parent 095096a commit ecfe9d2

File tree

6 files changed

+236
-11
lines changed

6 files changed

+236
-11
lines changed

src/main/java/com/adyen/model/balanceplatform/Balance.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public void setAvailable(Long available) {
9191
}
9292

9393
/**
94-
* The sum of transactions that have already been settled.
94+
* The sum of the transactions that have already been settled.
9595
*
9696
* @param balance
9797
* @return the current {@code Balance} instance, allowing for method chaining
@@ -102,18 +102,18 @@ public Balance balance(Long balance) {
102102
}
103103

104104
/**
105-
* The sum of transactions that have already been settled.
105+
* The sum of the transactions that have already been settled.
106106
* @return balance
107107
*/
108-
@ApiModelProperty(required = true, value = "The sum of transactions that have already been settled.")
108+
@ApiModelProperty(required = true, value = "The sum of the transactions that have already been settled.")
109109
@JsonProperty(JSON_PROPERTY_BALANCE)
110110
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
111111
public Long getBalance() {
112112
return balance;
113113
}
114114

115115
/**
116-
* The sum of transactions that have already been settled.
116+
* The sum of the transactions that have already been settled.
117117
*
118118
* @param balance
119119
*/

src/main/java/com/adyen/model/checkout/AdditionalDataCommon.java

Lines changed: 79 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,11 @@
3434
AdditionalDataCommon.JSON_PROPERTY_REQUESTED_TEST_ERROR_RESPONSE_CODE,
3535
AdditionalDataCommon.JSON_PROPERTY_ALLOW_PARTIAL_AUTH,
3636
AdditionalDataCommon.JSON_PROPERTY_AUTHORISATION_TYPE,
37+
AdditionalDataCommon.JSON_PROPERTY_AUTO_RESCUE,
3738
AdditionalDataCommon.JSON_PROPERTY_CUSTOM_ROUTING_FLAG,
3839
AdditionalDataCommon.JSON_PROPERTY_INDUSTRY_USAGE,
3940
AdditionalDataCommon.JSON_PROPERTY_MANUAL_CAPTURE,
41+
AdditionalDataCommon.JSON_PROPERTY_MAX_DAYS_TO_RESCUE,
4042
AdditionalDataCommon.JSON_PROPERTY_NETWORK_TX_REFERENCE,
4143
AdditionalDataCommon.JSON_PROPERTY_OVERWRITE_BRAND,
4244
AdditionalDataCommon.JSON_PROPERTY_SUB_MERCHANT_CITY,
@@ -59,6 +61,9 @@ public class AdditionalDataCommon {
5961
public static final String JSON_PROPERTY_AUTHORISATION_TYPE = "authorisationType";
6062
private String authorisationType;
6163

64+
public static final String JSON_PROPERTY_AUTO_RESCUE = "autoRescue";
65+
private String autoRescue;
66+
6267
public static final String JSON_PROPERTY_CUSTOM_ROUTING_FLAG = "customRoutingFlag";
6368
private String customRoutingFlag;
6469

@@ -103,6 +108,9 @@ public static IndustryUsageEnum fromValue(String value) {
103108
public static final String JSON_PROPERTY_MANUAL_CAPTURE = "manualCapture";
104109
private String manualCapture;
105110

111+
public static final String JSON_PROPERTY_MAX_DAYS_TO_RESCUE = "maxDaysToRescue";
112+
private String maxDaysToRescue;
113+
106114
public static final String JSON_PROPERTY_NETWORK_TX_REFERENCE = "networkTxReference";
107115
private String networkTxReference;
108116

@@ -235,6 +243,39 @@ public void setAuthorisationType(String authorisationType) {
235243
this.authorisationType = authorisationType;
236244
}
237245

246+
/**
247+
* Set to **true** to enable [Auto Rescue](https://docs.adyen.com/online-payments/auto-rescue/) for a transaction. Use the `maxDaysToRescue` to specify a rescue window.
248+
*
249+
* @param autoRescue
250+
* @return the current {@code AdditionalDataCommon} instance, allowing for method chaining
251+
*/
252+
public AdditionalDataCommon autoRescue(String autoRescue) {
253+
this.autoRescue = autoRescue;
254+
return this;
255+
}
256+
257+
/**
258+
* Set to **true** to enable [Auto Rescue](https://docs.adyen.com/online-payments/auto-rescue/) for a transaction. Use the `maxDaysToRescue` to specify a rescue window.
259+
* @return autoRescue
260+
*/
261+
@ApiModelProperty(value = "Set to **true** to enable [Auto Rescue](https://docs.adyen.com/online-payments/auto-rescue/) for a transaction. Use the `maxDaysToRescue` to specify a rescue window.")
262+
@JsonProperty(JSON_PROPERTY_AUTO_RESCUE)
263+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
264+
public String getAutoRescue() {
265+
return autoRescue;
266+
}
267+
268+
/**
269+
* Set to **true** to enable [Auto Rescue](https://docs.adyen.com/online-payments/auto-rescue/) for a transaction. Use the `maxDaysToRescue` to specify a rescue window.
270+
*
271+
* @param autoRescue
272+
*/
273+
@JsonProperty(JSON_PROPERTY_AUTO_RESCUE)
274+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
275+
public void setAutoRescue(String autoRescue) {
276+
this.autoRescue = autoRescue;
277+
}
278+
238279
/**
239280
* Allows you to determine or override the acquirer account that should be used for the transaction. If you need to process a payment with an acquirer different from a default one, you can set up a corresponding configuration on the Adyen payments platform. Then you can pass a custom routing flag in a payment request's additional data to target a specific acquirer. To enable this functionality, contact [Support](https://www.adyen.help/hc/en-us/requests/new).
240281
*
@@ -334,6 +375,39 @@ public void setManualCapture(String manualCapture) {
334375
this.manualCapture = manualCapture;
335376
}
336377

378+
/**
379+
* The rescue window for a transaction, in days, when `autoRescue` is set to **true**. You can specify a value between 1 and 48. * For [cards](https://docs.adyen.com/online-payments/auto-rescue/cards/), the default is one calendar month. * For [SEPA](https://docs.adyen.com/online-payments/auto-rescue/sepa/), the default is 42 days.
380+
*
381+
* @param maxDaysToRescue
382+
* @return the current {@code AdditionalDataCommon} instance, allowing for method chaining
383+
*/
384+
public AdditionalDataCommon maxDaysToRescue(String maxDaysToRescue) {
385+
this.maxDaysToRescue = maxDaysToRescue;
386+
return this;
387+
}
388+
389+
/**
390+
* The rescue window for a transaction, in days, when `autoRescue` is set to **true**. You can specify a value between 1 and 48. * For [cards](https://docs.adyen.com/online-payments/auto-rescue/cards/), the default is one calendar month. * For [SEPA](https://docs.adyen.com/online-payments/auto-rescue/sepa/), the default is 42 days.
391+
* @return maxDaysToRescue
392+
*/
393+
@ApiModelProperty(value = "The rescue window for a transaction, in days, when `autoRescue` is set to **true**. You can specify a value between 1 and 48. * For [cards](https://docs.adyen.com/online-payments/auto-rescue/cards/), the default is one calendar month. * For [SEPA](https://docs.adyen.com/online-payments/auto-rescue/sepa/), the default is 42 days.")
394+
@JsonProperty(JSON_PROPERTY_MAX_DAYS_TO_RESCUE)
395+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
396+
public String getMaxDaysToRescue() {
397+
return maxDaysToRescue;
398+
}
399+
400+
/**
401+
* The rescue window for a transaction, in days, when `autoRescue` is set to **true**. You can specify a value between 1 and 48. * For [cards](https://docs.adyen.com/online-payments/auto-rescue/cards/), the default is one calendar month. * For [SEPA](https://docs.adyen.com/online-payments/auto-rescue/sepa/), the default is 42 days.
402+
*
403+
* @param maxDaysToRescue
404+
*/
405+
@JsonProperty(JSON_PROPERTY_MAX_DAYS_TO_RESCUE)
406+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
407+
public void setMaxDaysToRescue(String maxDaysToRescue) {
408+
this.maxDaysToRescue = maxDaysToRescue;
409+
}
410+
337411
/**
338412
* Allows you to link the transaction to the original or previous one in a subscription/card-on-file chain. This field is required for token-based transactions where Adyen does not tokenize the card. Transaction identifier from card schemes, for example, Mastercard Trace ID or the Visa Transaction ID. Submit the original transaction ID of the contract in your payment request if you are not tokenizing card details with Adyen and are making a merchant-initiated transaction (MIT) for subsequent charges. Make sure you are sending `shopperInteraction` **ContAuth** and `recurringProcessingModel` **Subscription** or **UnscheduledCardOnFile** to ensure that the transaction is classified as MIT.
339413
*
@@ -679,9 +753,11 @@ public boolean equals(Object o) {
679753
return Objects.equals(this.requestedTestErrorResponseCode, additionalDataCommon.requestedTestErrorResponseCode) &&
680754
Objects.equals(this.allowPartialAuth, additionalDataCommon.allowPartialAuth) &&
681755
Objects.equals(this.authorisationType, additionalDataCommon.authorisationType) &&
756+
Objects.equals(this.autoRescue, additionalDataCommon.autoRescue) &&
682757
Objects.equals(this.customRoutingFlag, additionalDataCommon.customRoutingFlag) &&
683758
Objects.equals(this.industryUsage, additionalDataCommon.industryUsage) &&
684759
Objects.equals(this.manualCapture, additionalDataCommon.manualCapture) &&
760+
Objects.equals(this.maxDaysToRescue, additionalDataCommon.maxDaysToRescue) &&
685761
Objects.equals(this.networkTxReference, additionalDataCommon.networkTxReference) &&
686762
Objects.equals(this.overwriteBrand, additionalDataCommon.overwriteBrand) &&
687763
Objects.equals(this.subMerchantCity, additionalDataCommon.subMerchantCity) &&
@@ -696,7 +772,7 @@ public boolean equals(Object o) {
696772

697773
@Override
698774
public int hashCode() {
699-
return Objects.hash(requestedTestErrorResponseCode, allowPartialAuth, authorisationType, customRoutingFlag, industryUsage, manualCapture, networkTxReference, overwriteBrand, subMerchantCity, subMerchantCountry, subMerchantID, subMerchantName, subMerchantPostalCode, subMerchantState, subMerchantStreet, subMerchantTaxId);
775+
return Objects.hash(requestedTestErrorResponseCode, allowPartialAuth, authorisationType, autoRescue, customRoutingFlag, industryUsage, manualCapture, maxDaysToRescue, networkTxReference, overwriteBrand, subMerchantCity, subMerchantCountry, subMerchantID, subMerchantName, subMerchantPostalCode, subMerchantState, subMerchantStreet, subMerchantTaxId);
700776
}
701777

702778
@Override
@@ -706,9 +782,11 @@ public String toString() {
706782
sb.append(" requestedTestErrorResponseCode: ").append(toIndentedString(requestedTestErrorResponseCode)).append("\n");
707783
sb.append(" allowPartialAuth: ").append(toIndentedString(allowPartialAuth)).append("\n");
708784
sb.append(" authorisationType: ").append(toIndentedString(authorisationType)).append("\n");
785+
sb.append(" autoRescue: ").append(toIndentedString(autoRescue)).append("\n");
709786
sb.append(" customRoutingFlag: ").append(toIndentedString(customRoutingFlag)).append("\n");
710787
sb.append(" industryUsage: ").append(toIndentedString(industryUsage)).append("\n");
711788
sb.append(" manualCapture: ").append(toIndentedString(manualCapture)).append("\n");
789+
sb.append(" maxDaysToRescue: ").append(toIndentedString(maxDaysToRescue)).append("\n");
712790
sb.append(" networkTxReference: ").append(toIndentedString(networkTxReference)).append("\n");
713791
sb.append(" overwriteBrand: ").append(toIndentedString(overwriteBrand)).append("\n");
714792
sb.append(" subMerchantCity: ").append(toIndentedString(subMerchantCity)).append("\n");

src/main/java/com/adyen/model/configurationwebhooks/Balance.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public void setAvailable(Long available) {
9191
}
9292

9393
/**
94-
* The sum of transactions that have already been settled.
94+
* The sum of the transactions that have already been settled.
9595
*
9696
* @param balance
9797
* @return the current {@code Balance} instance, allowing for method chaining
@@ -102,18 +102,18 @@ public Balance balance(Long balance) {
102102
}
103103

104104
/**
105-
* The sum of transactions that have already been settled.
105+
* The sum of the transactions that have already been settled.
106106
* @return balance
107107
*/
108-
@ApiModelProperty(required = true, value = "The sum of transactions that have already been settled.")
108+
@ApiModelProperty(required = true, value = "The sum of the transactions that have already been settled.")
109109
@JsonProperty(JSON_PROPERTY_BALANCE)
110110
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
111111
public Long getBalance() {
112112
return balance;
113113
}
114114

115115
/**
116-
* The sum of transactions that have already been settled.
116+
* The sum of the transactions that have already been settled.
117117
*
118118
* @param balance
119119
*/

0 commit comments

Comments
 (0)