Skip to content

Commit

Permalink
false[adyen-sdk-automation] automated change
Browse files Browse the repository at this point in the history
  • Loading branch information
AdyenAutomationBot committed Jan 21, 2025
1 parent 095096a commit fe821b5
Show file tree
Hide file tree
Showing 13 changed files with 893 additions and 59 deletions.
8 changes: 4 additions & 4 deletions src/main/java/com/adyen/model/balanceplatform/Balance.java
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public void setAvailable(Long available) {
}

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

/**
* The sum of transactions that have already been settled.
* The sum of the transactions that have already been settled.
* @return balance
*/
@ApiModelProperty(required = true, value = "The sum of transactions that have already been settled.")
@ApiModelProperty(required = true, value = "The sum of the transactions that have already been settled.")
@JsonProperty(JSON_PROPERTY_BALANCE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getBalance() {
return balance;
}

/**
* The sum of transactions that have already been settled.
* The sum of the transactions that have already been settled.
*
* @param balance
*/
Expand Down
42 changes: 21 additions & 21 deletions src/main/java/com/adyen/model/checkout/AdditionalDataAirline.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
AdditionalDataAirline.JSON_PROPERTY_AIRLINE_PASSENGER_DATE_OF_BIRTH,
AdditionalDataAirline.JSON_PROPERTY_AIRLINE_PASSENGER_FIRST_NAME,
AdditionalDataAirline.JSON_PROPERTY_AIRLINE_PASSENGER_LAST_NAME,
AdditionalDataAirline.JSON_PROPERTY_AIRLINE_PASSENGER_TELEPHONE_NUMBER,
AdditionalDataAirline.JSON_PROPERTY_AIRLINE_PASSENGER_PHONE_NUMBER,
AdditionalDataAirline.JSON_PROPERTY_AIRLINE_PASSENGER_TRAVELLER_TYPE,
AdditionalDataAirline.JSON_PROPERTY_AIRLINE_PASSENGER_NAME,
AdditionalDataAirline.JSON_PROPERTY_AIRLINE_TICKET_ISSUE_ADDRESS,
Expand Down Expand Up @@ -129,8 +129,8 @@ public class AdditionalDataAirline {
public static final String JSON_PROPERTY_AIRLINE_PASSENGER_LAST_NAME = "airline.passenger.last_name";
private String airlinePassengerLastName;

public static final String JSON_PROPERTY_AIRLINE_PASSENGER_TELEPHONE_NUMBER = "airline.passenger.telephone_number";
private String airlinePassengerTelephoneNumber;
public static final String JSON_PROPERTY_AIRLINE_PASSENGER_PHONE_NUMBER = "airline.passenger.phone_number";
private String airlinePassengerPhoneNumber;

public static final String JSON_PROPERTY_AIRLINE_PASSENGER_TRAVELLER_TYPE = "airline.passenger.traveller_type";
private String airlinePassengerTravellerType;
Expand Down Expand Up @@ -880,36 +880,36 @@ public void setAirlinePassengerLastName(String airlinePassengerLastName) {
}

/**
* 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
* 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
*
* @param airlinePassengerTelephoneNumber
* @param airlinePassengerPhoneNumber
* @return the current {@code AdditionalDataAirline} instance, allowing for method chaining
*/
public AdditionalDataAirline airlinePassengerTelephoneNumber(String airlinePassengerTelephoneNumber) {
this.airlinePassengerTelephoneNumber = airlinePassengerTelephoneNumber;
public AdditionalDataAirline airlinePassengerPhoneNumber(String airlinePassengerPhoneNumber) {
this.airlinePassengerPhoneNumber = airlinePassengerPhoneNumber;
return this;
}

/**
* 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
* @return airlinePassengerTelephoneNumber
* 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
* @return airlinePassengerPhoneNumber
*/
@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")
@JsonProperty(JSON_PROPERTY_AIRLINE_PASSENGER_TELEPHONE_NUMBER)
@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")
@JsonProperty(JSON_PROPERTY_AIRLINE_PASSENGER_PHONE_NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getAirlinePassengerTelephoneNumber() {
return airlinePassengerTelephoneNumber;
public String getAirlinePassengerPhoneNumber() {
return airlinePassengerPhoneNumber;
}

/**
* 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
* 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
*
* @param airlinePassengerTelephoneNumber
* @param airlinePassengerPhoneNumber
*/
@JsonProperty(JSON_PROPERTY_AIRLINE_PASSENGER_TELEPHONE_NUMBER)
@JsonProperty(JSON_PROPERTY_AIRLINE_PASSENGER_PHONE_NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setAirlinePassengerTelephoneNumber(String airlinePassengerTelephoneNumber) {
this.airlinePassengerTelephoneNumber = airlinePassengerTelephoneNumber;
public void setAirlinePassengerPhoneNumber(String airlinePassengerPhoneNumber) {
this.airlinePassengerPhoneNumber = airlinePassengerPhoneNumber;
}

/**
Expand Down Expand Up @@ -1144,7 +1144,7 @@ public boolean equals(Object o) {
Objects.equals(this.airlinePassengerDateOfBirth, additionalDataAirline.airlinePassengerDateOfBirth) &&
Objects.equals(this.airlinePassengerFirstName, additionalDataAirline.airlinePassengerFirstName) &&
Objects.equals(this.airlinePassengerLastName, additionalDataAirline.airlinePassengerLastName) &&
Objects.equals(this.airlinePassengerTelephoneNumber, additionalDataAirline.airlinePassengerTelephoneNumber) &&
Objects.equals(this.airlinePassengerPhoneNumber, additionalDataAirline.airlinePassengerPhoneNumber) &&
Objects.equals(this.airlinePassengerTravellerType, additionalDataAirline.airlinePassengerTravellerType) &&
Objects.equals(this.airlinePassengerName, additionalDataAirline.airlinePassengerName) &&
Objects.equals(this.airlineTicketIssueAddress, additionalDataAirline.airlineTicketIssueAddress) &&
Expand All @@ -1155,7 +1155,7 @@ public boolean equals(Object o) {

@Override
public int hashCode() {
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);
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);
}

@Override
Expand Down Expand Up @@ -1184,7 +1184,7 @@ public String toString() {
sb.append(" airlinePassengerDateOfBirth: ").append(toIndentedString(airlinePassengerDateOfBirth)).append("\n");
sb.append(" airlinePassengerFirstName: ").append(toIndentedString(airlinePassengerFirstName)).append("\n");
sb.append(" airlinePassengerLastName: ").append(toIndentedString(airlinePassengerLastName)).append("\n");
sb.append(" airlinePassengerTelephoneNumber: ").append(toIndentedString(airlinePassengerTelephoneNumber)).append("\n");
sb.append(" airlinePassengerPhoneNumber: ").append(toIndentedString(airlinePassengerPhoneNumber)).append("\n");
sb.append(" airlinePassengerTravellerType: ").append(toIndentedString(airlinePassengerTravellerType)).append("\n");
sb.append(" airlinePassengerName: ").append(toIndentedString(airlinePassengerName)).append("\n");
sb.append(" airlineTicketIssueAddress: ").append(toIndentedString(airlineTicketIssueAddress)).append("\n");
Expand Down
80 changes: 79 additions & 1 deletion src/main/java/com/adyen/model/checkout/AdditionalDataCommon.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,11 @@
AdditionalDataCommon.JSON_PROPERTY_REQUESTED_TEST_ERROR_RESPONSE_CODE,
AdditionalDataCommon.JSON_PROPERTY_ALLOW_PARTIAL_AUTH,
AdditionalDataCommon.JSON_PROPERTY_AUTHORISATION_TYPE,
AdditionalDataCommon.JSON_PROPERTY_AUTO_RESCUE,
AdditionalDataCommon.JSON_PROPERTY_CUSTOM_ROUTING_FLAG,
AdditionalDataCommon.JSON_PROPERTY_INDUSTRY_USAGE,
AdditionalDataCommon.JSON_PROPERTY_MANUAL_CAPTURE,
AdditionalDataCommon.JSON_PROPERTY_MAX_DAYS_TO_RESCUE,
AdditionalDataCommon.JSON_PROPERTY_NETWORK_TX_REFERENCE,
AdditionalDataCommon.JSON_PROPERTY_OVERWRITE_BRAND,
AdditionalDataCommon.JSON_PROPERTY_SUB_MERCHANT_CITY,
Expand All @@ -59,6 +61,9 @@ public class AdditionalDataCommon {
public static final String JSON_PROPERTY_AUTHORISATION_TYPE = "authorisationType";
private String authorisationType;

public static final String JSON_PROPERTY_AUTO_RESCUE = "autoRescue";
private String autoRescue;

public static final String JSON_PROPERTY_CUSTOM_ROUTING_FLAG = "customRoutingFlag";
private String customRoutingFlag;

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

public static final String JSON_PROPERTY_MAX_DAYS_TO_RESCUE = "maxDaysToRescue";
private String maxDaysToRescue;

public static final String JSON_PROPERTY_NETWORK_TX_REFERENCE = "networkTxReference";
private String networkTxReference;

Expand Down Expand Up @@ -235,6 +243,39 @@ public void setAuthorisationType(String authorisationType) {
this.authorisationType = authorisationType;
}

/**
* 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.
*
* @param autoRescue
* @return the current {@code AdditionalDataCommon} instance, allowing for method chaining
*/
public AdditionalDataCommon autoRescue(String autoRescue) {
this.autoRescue = autoRescue;
return this;
}

/**
* 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.
* @return autoRescue
*/
@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.")
@JsonProperty(JSON_PROPERTY_AUTO_RESCUE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getAutoRescue() {
return autoRescue;
}

/**
* 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.
*
* @param autoRescue
*/
@JsonProperty(JSON_PROPERTY_AUTO_RESCUE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setAutoRescue(String autoRescue) {
this.autoRescue = autoRescue;
}

/**
* 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).
*
Expand Down Expand Up @@ -334,6 +375,39 @@ public void setManualCapture(String manualCapture) {
this.manualCapture = manualCapture;
}

/**
* 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.
*
* @param maxDaysToRescue
* @return the current {@code AdditionalDataCommon} instance, allowing for method chaining
*/
public AdditionalDataCommon maxDaysToRescue(String maxDaysToRescue) {
this.maxDaysToRescue = maxDaysToRescue;
return this;
}

/**
* 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.
* @return maxDaysToRescue
*/
@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.")
@JsonProperty(JSON_PROPERTY_MAX_DAYS_TO_RESCUE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getMaxDaysToRescue() {
return maxDaysToRescue;
}

/**
* 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.
*
* @param maxDaysToRescue
*/
@JsonProperty(JSON_PROPERTY_MAX_DAYS_TO_RESCUE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMaxDaysToRescue(String maxDaysToRescue) {
this.maxDaysToRescue = maxDaysToRescue;
}

/**
* 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.
*
Expand Down Expand Up @@ -679,9 +753,11 @@ public boolean equals(Object o) {
return Objects.equals(this.requestedTestErrorResponseCode, additionalDataCommon.requestedTestErrorResponseCode) &&
Objects.equals(this.allowPartialAuth, additionalDataCommon.allowPartialAuth) &&
Objects.equals(this.authorisationType, additionalDataCommon.authorisationType) &&
Objects.equals(this.autoRescue, additionalDataCommon.autoRescue) &&
Objects.equals(this.customRoutingFlag, additionalDataCommon.customRoutingFlag) &&
Objects.equals(this.industryUsage, additionalDataCommon.industryUsage) &&
Objects.equals(this.manualCapture, additionalDataCommon.manualCapture) &&
Objects.equals(this.maxDaysToRescue, additionalDataCommon.maxDaysToRescue) &&
Objects.equals(this.networkTxReference, additionalDataCommon.networkTxReference) &&
Objects.equals(this.overwriteBrand, additionalDataCommon.overwriteBrand) &&
Objects.equals(this.subMerchantCity, additionalDataCommon.subMerchantCity) &&
Expand All @@ -696,7 +772,7 @@ public boolean equals(Object o) {

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

@Override
Expand All @@ -706,9 +782,11 @@ public String toString() {
sb.append(" requestedTestErrorResponseCode: ").append(toIndentedString(requestedTestErrorResponseCode)).append("\n");
sb.append(" allowPartialAuth: ").append(toIndentedString(allowPartialAuth)).append("\n");
sb.append(" authorisationType: ").append(toIndentedString(authorisationType)).append("\n");
sb.append(" autoRescue: ").append(toIndentedString(autoRescue)).append("\n");
sb.append(" customRoutingFlag: ").append(toIndentedString(customRoutingFlag)).append("\n");
sb.append(" industryUsage: ").append(toIndentedString(industryUsage)).append("\n");
sb.append(" manualCapture: ").append(toIndentedString(manualCapture)).append("\n");
sb.append(" maxDaysToRescue: ").append(toIndentedString(maxDaysToRescue)).append("\n");
sb.append(" networkTxReference: ").append(toIndentedString(networkTxReference)).append("\n");
sb.append(" overwriteBrand: ").append(toIndentedString(overwriteBrand)).append("\n");
sb.append(" subMerchantCity: ").append(toIndentedString(subMerchantCity)).append("\n");
Expand Down
Loading

0 comments on commit fe821b5

Please sign in to comment.