Skip to content

Commit 72b18b2

Browse files
false[adyen-sdk-automation] automated change (#1417)
1 parent 095096a commit 72b18b2

13 files changed

+893
-59
lines changed

Diff for: src/main/java/com/adyen/model/balanceplatform/Balance.java

+4-4
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
*/

Diff for: src/main/java/com/adyen/model/checkout/AdditionalDataAirline.java

+21-21
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
AdditionalDataAirline.JSON_PROPERTY_AIRLINE_PASSENGER_DATE_OF_BIRTH,
5454
AdditionalDataAirline.JSON_PROPERTY_AIRLINE_PASSENGER_FIRST_NAME,
5555
AdditionalDataAirline.JSON_PROPERTY_AIRLINE_PASSENGER_LAST_NAME,
56-
AdditionalDataAirline.JSON_PROPERTY_AIRLINE_PASSENGER_TELEPHONE_NUMBER,
56+
AdditionalDataAirline.JSON_PROPERTY_AIRLINE_PASSENGER_PHONE_NUMBER,
5757
AdditionalDataAirline.JSON_PROPERTY_AIRLINE_PASSENGER_TRAVELLER_TYPE,
5858
AdditionalDataAirline.JSON_PROPERTY_AIRLINE_PASSENGER_NAME,
5959
AdditionalDataAirline.JSON_PROPERTY_AIRLINE_TICKET_ISSUE_ADDRESS,
@@ -129,8 +129,8 @@ public class AdditionalDataAirline {
129129
public static final String JSON_PROPERTY_AIRLINE_PASSENGER_LAST_NAME = "airline.passenger.last_name";
130130
private String airlinePassengerLastName;
131131

132-
public static final String JSON_PROPERTY_AIRLINE_PASSENGER_TELEPHONE_NUMBER = "airline.passenger.telephone_number";
133-
private String airlinePassengerTelephoneNumber;
132+
public static final String JSON_PROPERTY_AIRLINE_PASSENGER_PHONE_NUMBER = "airline.passenger.phone_number";
133+
private String airlinePassengerPhoneNumber;
134134

135135
public static final String JSON_PROPERTY_AIRLINE_PASSENGER_TRAVELLER_TYPE = "airline.passenger.traveller_type";
136136
private String airlinePassengerTravellerType;
@@ -880,36 +880,36 @@ public void setAirlinePassengerLastName(String airlinePassengerLastName) {
880880
}
881881

882882
/**
883-
* The passenger's telephone number, including country code. This is an alphanumeric field that can include the '+' and '-' signs. * Encoding: ASCII * minLength: 3 characters * maxLength: 30 characters
883+
* The passenger's phone number, including country code. This is an alphanumeric field that can include the '+' and '-' signs. * Encoding: ASCII * minLength: 3 characters * maxLength: 30 characters
884884
*
885-
* @param airlinePassengerTelephoneNumber
885+
* @param airlinePassengerPhoneNumber
886886
* @return the current {@code AdditionalDataAirline} instance, allowing for method chaining
887887
*/
888-
public AdditionalDataAirline airlinePassengerTelephoneNumber(String airlinePassengerTelephoneNumber) {
889-
this.airlinePassengerTelephoneNumber = airlinePassengerTelephoneNumber;
888+
public AdditionalDataAirline airlinePassengerPhoneNumber(String airlinePassengerPhoneNumber) {
889+
this.airlinePassengerPhoneNumber = airlinePassengerPhoneNumber;
890890
return this;
891891
}
892892

893893
/**
894-
* The passenger's telephone number, including country code. This is an alphanumeric field that can include the '+' and '-' signs. * Encoding: ASCII * minLength: 3 characters * maxLength: 30 characters
895-
* @return airlinePassengerTelephoneNumber
894+
* The passenger's phone number, including country code. This is an alphanumeric field that can include the '+' and '-' signs. * Encoding: ASCII * minLength: 3 characters * maxLength: 30 characters
895+
* @return airlinePassengerPhoneNumber
896896
*/
897-
@ApiModelProperty(value = "The passenger's telephone number, including country code. This is an alphanumeric field that can include the '+' and '-' signs. * Encoding: ASCII * minLength: 3 characters * maxLength: 30 characters")
898-
@JsonProperty(JSON_PROPERTY_AIRLINE_PASSENGER_TELEPHONE_NUMBER)
897+
@ApiModelProperty(value = "The passenger's phone number, including country code. This is an alphanumeric field that can include the '+' and '-' signs. * Encoding: ASCII * minLength: 3 characters * maxLength: 30 characters")
898+
@JsonProperty(JSON_PROPERTY_AIRLINE_PASSENGER_PHONE_NUMBER)
899899
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
900-
public String getAirlinePassengerTelephoneNumber() {
901-
return airlinePassengerTelephoneNumber;
900+
public String getAirlinePassengerPhoneNumber() {
901+
return airlinePassengerPhoneNumber;
902902
}
903903

904904
/**
905-
* The passenger's telephone number, including country code. This is an alphanumeric field that can include the '+' and '-' signs. * Encoding: ASCII * minLength: 3 characters * maxLength: 30 characters
905+
* The passenger's phone number, including country code. This is an alphanumeric field that can include the '+' and '-' signs. * Encoding: ASCII * minLength: 3 characters * maxLength: 30 characters
906906
*
907-
* @param airlinePassengerTelephoneNumber
907+
* @param airlinePassengerPhoneNumber
908908
*/
909-
@JsonProperty(JSON_PROPERTY_AIRLINE_PASSENGER_TELEPHONE_NUMBER)
909+
@JsonProperty(JSON_PROPERTY_AIRLINE_PASSENGER_PHONE_NUMBER)
910910
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
911-
public void setAirlinePassengerTelephoneNumber(String airlinePassengerTelephoneNumber) {
912-
this.airlinePassengerTelephoneNumber = airlinePassengerTelephoneNumber;
911+
public void setAirlinePassengerPhoneNumber(String airlinePassengerPhoneNumber) {
912+
this.airlinePassengerPhoneNumber = airlinePassengerPhoneNumber;
913913
}
914914

915915
/**
@@ -1144,7 +1144,7 @@ public boolean equals(Object o) {
11441144
Objects.equals(this.airlinePassengerDateOfBirth, additionalDataAirline.airlinePassengerDateOfBirth) &&
11451145
Objects.equals(this.airlinePassengerFirstName, additionalDataAirline.airlinePassengerFirstName) &&
11461146
Objects.equals(this.airlinePassengerLastName, additionalDataAirline.airlinePassengerLastName) &&
1147-
Objects.equals(this.airlinePassengerTelephoneNumber, additionalDataAirline.airlinePassengerTelephoneNumber) &&
1147+
Objects.equals(this.airlinePassengerPhoneNumber, additionalDataAirline.airlinePassengerPhoneNumber) &&
11481148
Objects.equals(this.airlinePassengerTravellerType, additionalDataAirline.airlinePassengerTravellerType) &&
11491149
Objects.equals(this.airlinePassengerName, additionalDataAirline.airlinePassengerName) &&
11501150
Objects.equals(this.airlineTicketIssueAddress, additionalDataAirline.airlineTicketIssueAddress) &&
@@ -1155,7 +1155,7 @@ public boolean equals(Object o) {
11551155

11561156
@Override
11571157
public int hashCode() {
1158-
return Objects.hash(airlineAgencyInvoiceNumber, airlineAgencyPlanName, airlineAirlineCode, airlineAirlineDesignatorCode, airlineBoardingFee, airlineComputerizedReservationSystem, airlineCustomerReferenceNumber, airlineDocumentType, airlineFlightDate, airlineIssueDate, airlineLegCarrierCode, airlineLegClassOfTravel, airlineLegDateOfTravel, airlineLegDepartAirport, airlineLegDepartTax, airlineLegDestinationCode, airlineLegFareBaseCode, airlineLegFlightNumber, airlineLegStopOverCode, airlinePassengerDateOfBirth, airlinePassengerFirstName, airlinePassengerLastName, airlinePassengerTelephoneNumber, airlinePassengerTravellerType, airlinePassengerName, airlineTicketIssueAddress, airlineTicketNumber, airlineTravelAgencyCode, airlineTravelAgencyName);
1158+
return Objects.hash(airlineAgencyInvoiceNumber, airlineAgencyPlanName, airlineAirlineCode, airlineAirlineDesignatorCode, airlineBoardingFee, airlineComputerizedReservationSystem, airlineCustomerReferenceNumber, airlineDocumentType, airlineFlightDate, airlineIssueDate, airlineLegCarrierCode, airlineLegClassOfTravel, airlineLegDateOfTravel, airlineLegDepartAirport, airlineLegDepartTax, airlineLegDestinationCode, airlineLegFareBaseCode, airlineLegFlightNumber, airlineLegStopOverCode, airlinePassengerDateOfBirth, airlinePassengerFirstName, airlinePassengerLastName, airlinePassengerPhoneNumber, airlinePassengerTravellerType, airlinePassengerName, airlineTicketIssueAddress, airlineTicketNumber, airlineTravelAgencyCode, airlineTravelAgencyName);
11591159
}
11601160

11611161
@Override
@@ -1184,7 +1184,7 @@ public String toString() {
11841184
sb.append(" airlinePassengerDateOfBirth: ").append(toIndentedString(airlinePassengerDateOfBirth)).append("\n");
11851185
sb.append(" airlinePassengerFirstName: ").append(toIndentedString(airlinePassengerFirstName)).append("\n");
11861186
sb.append(" airlinePassengerLastName: ").append(toIndentedString(airlinePassengerLastName)).append("\n");
1187-
sb.append(" airlinePassengerTelephoneNumber: ").append(toIndentedString(airlinePassengerTelephoneNumber)).append("\n");
1187+
sb.append(" airlinePassengerPhoneNumber: ").append(toIndentedString(airlinePassengerPhoneNumber)).append("\n");
11881188
sb.append(" airlinePassengerTravellerType: ").append(toIndentedString(airlinePassengerTravellerType)).append("\n");
11891189
sb.append(" airlinePassengerName: ").append(toIndentedString(airlinePassengerName)).append("\n");
11901190
sb.append(" airlineTicketIssueAddress: ").append(toIndentedString(airlineTicketIssueAddress)).append("\n");

Diff for: src/main/java/com/adyen/model/checkout/AdditionalDataCommon.java

+79-1
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");

0 commit comments

Comments
 (0)