Skip to content

Commit

Permalink
false[adyen-sdk-automation] automated change (#1297)
Browse files Browse the repository at this point in the history
  • Loading branch information
AdyenAutomationBot authored Jun 6, 2024
1 parent 02898cf commit 513d142
Show file tree
Hide file tree
Showing 63 changed files with 3,354 additions and 279 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ public BalancePlatformNotificationResponse notificationResponse(String notificat
}

/**
* Respond with **HTTP 200 OK** and `[accepted]` in the response body to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).
* Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).
* @return notificationResponse
**/
@ApiModelProperty(value = "Respond with **HTTP 200 OK** and `[accepted]` in the response body to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).")
@ApiModelProperty(value = "Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).")
@JsonProperty(JSON_PROPERTY_NOTIFICATION_RESPONSE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

Expand All @@ -60,7 +60,7 @@ public String getNotificationResponse() {


/**
* Respond with **HTTP 200 OK** and `[accepted]` in the response body to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).
* Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).
*
* @param notificationResponse
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
AdditionalDataAirline.JSON_PROPERTY_AIRLINE_CUSTOMER_REFERENCE_NUMBER,
AdditionalDataAirline.JSON_PROPERTY_AIRLINE_DOCUMENT_TYPE,
AdditionalDataAirline.JSON_PROPERTY_AIRLINE_FLIGHT_DATE,
AdditionalDataAirline.JSON_PROPERTY_AIRLINE_ISSUE_DATE,
AdditionalDataAirline.JSON_PROPERTY_AIRLINE_LEG_CARRIER_CODE,
AdditionalDataAirline.JSON_PROPERTY_AIRLINE_LEG_CLASS_OF_TRAVEL,
AdditionalDataAirline.JSON_PROPERTY_AIRLINE_LEG_DATE_OF_TRAVEL,
Expand Down Expand Up @@ -89,6 +90,9 @@ public class AdditionalDataAirline {
public static final String JSON_PROPERTY_AIRLINE_FLIGHT_DATE = "airline.flight_date";
private String airlineFlightDate;

public static final String JSON_PROPERTY_AIRLINE_ISSUE_DATE = "airline.issue_date";
private String airlineIssueDate;

public static final String JSON_PROPERTY_AIRLINE_LEG_CARRIER_CODE = "airline.leg.carrier_code";
private String airlineLegCarrierCode;

Expand Down Expand Up @@ -419,6 +423,36 @@ public void setAirlineFlightDate(String airlineFlightDate) {
}


public AdditionalDataAirline airlineIssueDate(String airlineIssueDate) {
this.airlineIssueDate = airlineIssueDate;
return this;
}

/**
* The date that the ticket was issued to the passenger. * minLength: 6 characters * maxLength: 6 characters * Date format: YYMMDD
* @return airlineIssueDate
**/
@ApiModelProperty(value = "The date that the ticket was issued to the passenger. * minLength: 6 characters * maxLength: 6 characters * Date format: YYMMDD")
@JsonProperty(JSON_PROPERTY_AIRLINE_ISSUE_DATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

public String getAirlineIssueDate() {
return airlineIssueDate;
}


/**
* The date that the ticket was issued to the passenger. * minLength: 6 characters * maxLength: 6 characters * Date format: YYMMDD
*
* @param airlineIssueDate
*/
@JsonProperty(JSON_PROPERTY_AIRLINE_ISSUE_DATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setAirlineIssueDate(String airlineIssueDate) {
this.airlineIssueDate = airlineIssueDate;
}


public AdditionalDataAirline airlineLegCarrierCode(String airlineLegCarrierCode) {
this.airlineLegCarrierCode = airlineLegCarrierCode;
return this;
Expand Down Expand Up @@ -1010,6 +1044,7 @@ public boolean equals(Object o) {
Objects.equals(this.airlineCustomerReferenceNumber, additionalDataAirline.airlineCustomerReferenceNumber) &&
Objects.equals(this.airlineDocumentType, additionalDataAirline.airlineDocumentType) &&
Objects.equals(this.airlineFlightDate, additionalDataAirline.airlineFlightDate) &&
Objects.equals(this.airlineIssueDate, additionalDataAirline.airlineIssueDate) &&
Objects.equals(this.airlineLegCarrierCode, additionalDataAirline.airlineLegCarrierCode) &&
Objects.equals(this.airlineLegClassOfTravel, additionalDataAirline.airlineLegClassOfTravel) &&
Objects.equals(this.airlineLegDateOfTravel, additionalDataAirline.airlineLegDateOfTravel) &&
Expand All @@ -1033,7 +1068,7 @@ public boolean equals(Object o) {

@Override
public int hashCode() {
return Objects.hash(airlineAgencyInvoiceNumber, airlineAgencyPlanName, airlineAirlineCode, airlineAirlineDesignatorCode, airlineBoardingFee, airlineComputerizedReservationSystem, airlineCustomerReferenceNumber, airlineDocumentType, airlineFlightDate, 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, airlinePassengerTelephoneNumber, airlinePassengerTravellerType, airlinePassengerName, airlineTicketIssueAddress, airlineTicketNumber, airlineTravelAgencyCode, airlineTravelAgencyName);
}

@Override
Expand All @@ -1049,6 +1084,7 @@ public String toString() {
sb.append(" airlineCustomerReferenceNumber: ").append(toIndentedString(airlineCustomerReferenceNumber)).append("\n");
sb.append(" airlineDocumentType: ").append(toIndentedString(airlineDocumentType)).append("\n");
sb.append(" airlineFlightDate: ").append(toIndentedString(airlineFlightDate)).append("\n");
sb.append(" airlineIssueDate: ").append(toIndentedString(airlineIssueDate)).append("\n");
sb.append(" airlineLegCarrierCode: ").append(toIndentedString(airlineLegCarrierCode)).append("\n");
sb.append(" airlineLegClassOfTravel: ").append(toIndentedString(airlineLegClassOfTravel)).append("\n");
sb.append(" airlineLegDateOfTravel: ").append(toIndentedString(airlineLegDateOfTravel)).append("\n");
Expand Down
40 changes: 38 additions & 2 deletions src/main/java/com/adyen/model/checkout/AdditionalDataLodging.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
* AdditionalDataLodging
*/
@JsonPropertyOrder({
AdditionalDataLodging.JSON_PROPERTY_LODGING_SPECIAL_PROGRAM_CODE,
AdditionalDataLodging.JSON_PROPERTY_LODGING_CHECK_IN_DATE,
AdditionalDataLodging.JSON_PROPERTY_LODGING_CHECK_OUT_DATE,
AdditionalDataLodging.JSON_PROPERTY_LODGING_CUSTOMER_SERVICE_TOLL_FREE_NUMBER,
Expand All @@ -50,6 +51,9 @@
})

public class AdditionalDataLodging {
public static final String JSON_PROPERTY_LODGING_SPECIAL_PROGRAM_CODE = "lodging.SpecialProgramCode";
private String lodgingSpecialProgramCode;

public static final String JSON_PROPERTY_LODGING_CHECK_IN_DATE = "lodging.checkInDate";
private String lodgingCheckInDate;

Expand Down Expand Up @@ -101,6 +105,36 @@ public class AdditionalDataLodging {
public AdditionalDataLodging() {
}

public AdditionalDataLodging lodgingSpecialProgramCode(String lodgingSpecialProgramCode) {
this.lodgingSpecialProgramCode = lodgingSpecialProgramCode;
return this;
}

/**
* A code that corresponds to the category of lodging charges for the payment. Possible values: * 1: Lodging * 2: No show reservation * 3: Advanced deposit
* @return lodgingSpecialProgramCode
**/
@ApiModelProperty(value = "A code that corresponds to the category of lodging charges for the payment. Possible values: * 1: Lodging * 2: No show reservation * 3: Advanced deposit")
@JsonProperty(JSON_PROPERTY_LODGING_SPECIAL_PROGRAM_CODE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

public String getLodgingSpecialProgramCode() {
return lodgingSpecialProgramCode;
}


/**
* A code that corresponds to the category of lodging charges for the payment. Possible values: * 1: Lodging * 2: No show reservation * 3: Advanced deposit
*
* @param lodgingSpecialProgramCode
*/
@JsonProperty(JSON_PROPERTY_LODGING_SPECIAL_PROGRAM_CODE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setLodgingSpecialProgramCode(String lodgingSpecialProgramCode) {
this.lodgingSpecialProgramCode = lodgingSpecialProgramCode;
}


public AdditionalDataLodging lodgingCheckInDate(String lodgingCheckInDate) {
this.lodgingCheckInDate = lodgingCheckInDate;
return this;
Expand Down Expand Up @@ -593,7 +627,8 @@ public boolean equals(Object o) {
return false;
}
AdditionalDataLodging additionalDataLodging = (AdditionalDataLodging) o;
return Objects.equals(this.lodgingCheckInDate, additionalDataLodging.lodgingCheckInDate) &&
return Objects.equals(this.lodgingSpecialProgramCode, additionalDataLodging.lodgingSpecialProgramCode) &&
Objects.equals(this.lodgingCheckInDate, additionalDataLodging.lodgingCheckInDate) &&
Objects.equals(this.lodgingCheckOutDate, additionalDataLodging.lodgingCheckOutDate) &&
Objects.equals(this.lodgingCustomerServiceTollFreeNumber, additionalDataLodging.lodgingCustomerServiceTollFreeNumber) &&
Objects.equals(this.lodgingFireSafetyActIndicator, additionalDataLodging.lodgingFireSafetyActIndicator) &&
Expand All @@ -613,13 +648,14 @@ public boolean equals(Object o) {

@Override
public int hashCode() {
return Objects.hash(lodgingCheckInDate, lodgingCheckOutDate, lodgingCustomerServiceTollFreeNumber, lodgingFireSafetyActIndicator, lodgingFolioCashAdvances, lodgingFolioNumber, lodgingFoodBeverageCharges, lodgingNoShowIndicator, lodgingPrepaidExpenses, lodgingPropertyPhoneNumber, lodgingRoom1NumberOfNights, lodgingRoom1Rate, lodgingTotalRoomTax, lodgingTotalTax, travelEntertainmentAuthDataDuration, travelEntertainmentAuthDataMarket);
return Objects.hash(lodgingSpecialProgramCode, lodgingCheckInDate, lodgingCheckOutDate, lodgingCustomerServiceTollFreeNumber, lodgingFireSafetyActIndicator, lodgingFolioCashAdvances, lodgingFolioNumber, lodgingFoodBeverageCharges, lodgingNoShowIndicator, lodgingPrepaidExpenses, lodgingPropertyPhoneNumber, lodgingRoom1NumberOfNights, lodgingRoom1Rate, lodgingTotalRoomTax, lodgingTotalTax, travelEntertainmentAuthDataDuration, travelEntertainmentAuthDataMarket);
}

@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AdditionalDataLodging {\n");
sb.append(" lodgingSpecialProgramCode: ").append(toIndentedString(lodgingSpecialProgramCode)).append("\n");
sb.append(" lodgingCheckInDate: ").append(toIndentedString(lodgingCheckInDate)).append("\n");
sb.append(" lodgingCheckOutDate: ").append(toIndentedString(lodgingCheckOutDate)).append("\n");
sb.append(" lodgingCustomerServiceTollFreeNumber: ").append(toIndentedString(lodgingCustomerServiceTollFreeNumber)).append("\n");
Expand Down
110 changes: 109 additions & 1 deletion src/main/java/com/adyen/model/checkout/CardDetails.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@
CardDetails.JSON_PROPERTY_NUMBER,
CardDetails.JSON_PROPERTY_RECURRING_DETAIL_REFERENCE,
CardDetails.JSON_PROPERTY_SHOPPER_NOTIFICATION_REFERENCE,
CardDetails.JSON_PROPERTY_SRC_CORRELATION_ID,
CardDetails.JSON_PROPERTY_SRC_SCHEME,
CardDetails.JSON_PROPERTY_SRC_TOKEN_REFERENCE,
CardDetails.JSON_PROPERTY_STORED_PAYMENT_METHOD_ID,
CardDetails.JSON_PROPERTY_THREE_D_S2_SDK_VERSION,
CardDetails.JSON_PROPERTY_TYPE
Expand Down Expand Up @@ -138,6 +141,15 @@ public static FundingSourceEnum fromValue(String value) {
public static final String JSON_PROPERTY_SHOPPER_NOTIFICATION_REFERENCE = "shopperNotificationReference";
private String shopperNotificationReference;

public static final String JSON_PROPERTY_SRC_CORRELATION_ID = "srcCorrelationId";
private String srcCorrelationId;

public static final String JSON_PROPERTY_SRC_SCHEME = "srcScheme";
private String srcScheme;

public static final String JSON_PROPERTY_SRC_TOKEN_REFERENCE = "srcTokenReference";
private String srcTokenReference;

public static final String JSON_PROPERTY_STORED_PAYMENT_METHOD_ID = "storedPaymentMethodId";
private String storedPaymentMethodId;

Expand Down Expand Up @@ -679,6 +691,96 @@ public void setShopperNotificationReference(String shopperNotificationReference)
}


public CardDetails srcCorrelationId(String srcCorrelationId) {
this.srcCorrelationId = srcCorrelationId;
return this;
}

/**
* An identifier used for the Click to Pay transaction.
* @return srcCorrelationId
**/
@ApiModelProperty(value = "An identifier used for the Click to Pay transaction.")
@JsonProperty(JSON_PROPERTY_SRC_CORRELATION_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

public String getSrcCorrelationId() {
return srcCorrelationId;
}


/**
* An identifier used for the Click to Pay transaction.
*
* @param srcCorrelationId
*/
@JsonProperty(JSON_PROPERTY_SRC_CORRELATION_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setSrcCorrelationId(String srcCorrelationId) {
this.srcCorrelationId = srcCorrelationId;
}


public CardDetails srcScheme(String srcScheme) {
this.srcScheme = srcScheme;
return this;
}

/**
* The scheme that is being used for Click to Pay.
* @return srcScheme
**/
@ApiModelProperty(value = "The scheme that is being used for Click to Pay.")
@JsonProperty(JSON_PROPERTY_SRC_SCHEME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

public String getSrcScheme() {
return srcScheme;
}


/**
* The scheme that is being used for Click to Pay.
*
* @param srcScheme
*/
@JsonProperty(JSON_PROPERTY_SRC_SCHEME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setSrcScheme(String srcScheme) {
this.srcScheme = srcScheme;
}


public CardDetails srcTokenReference(String srcTokenReference) {
this.srcTokenReference = srcTokenReference;
return this;
}

/**
* The reference for the Click to Pay token.
* @return srcTokenReference
**/
@ApiModelProperty(value = "The reference for the Click to Pay token.")
@JsonProperty(JSON_PROPERTY_SRC_TOKEN_REFERENCE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

public String getSrcTokenReference() {
return srcTokenReference;
}


/**
* The reference for the Click to Pay token.
*
* @param srcTokenReference
*/
@JsonProperty(JSON_PROPERTY_SRC_TOKEN_REFERENCE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setSrcTokenReference(String srcTokenReference) {
this.srcTokenReference = srcTokenReference;
}


public CardDetails storedPaymentMethodId(String storedPaymentMethodId) {
this.storedPaymentMethodId = storedPaymentMethodId;
return this;
Expand Down Expand Up @@ -797,14 +899,17 @@ public boolean equals(Object o) {
Objects.equals(this.number, cardDetails.number) &&
Objects.equals(this.recurringDetailReference, cardDetails.recurringDetailReference) &&
Objects.equals(this.shopperNotificationReference, cardDetails.shopperNotificationReference) &&
Objects.equals(this.srcCorrelationId, cardDetails.srcCorrelationId) &&
Objects.equals(this.srcScheme, cardDetails.srcScheme) &&
Objects.equals(this.srcTokenReference, cardDetails.srcTokenReference) &&
Objects.equals(this.storedPaymentMethodId, cardDetails.storedPaymentMethodId) &&
Objects.equals(this.threeDS2SdkVersion, cardDetails.threeDS2SdkVersion) &&
Objects.equals(this.type, cardDetails.type);
}

@Override
public int hashCode() {
return Objects.hash(brand, checkoutAttemptId, cupsecureplusSmscode, cvc, encryptedCardNumber, encryptedExpiryMonth, encryptedExpiryYear, encryptedSecurityCode, expiryMonth, expiryYear, fundingSource, holderName, networkPaymentReference, number, recurringDetailReference, shopperNotificationReference, storedPaymentMethodId, threeDS2SdkVersion, type);
return Objects.hash(brand, checkoutAttemptId, cupsecureplusSmscode, cvc, encryptedCardNumber, encryptedExpiryMonth, encryptedExpiryYear, encryptedSecurityCode, expiryMonth, expiryYear, fundingSource, holderName, networkPaymentReference, number, recurringDetailReference, shopperNotificationReference, srcCorrelationId, srcScheme, srcTokenReference, storedPaymentMethodId, threeDS2SdkVersion, type);
}

@Override
Expand All @@ -827,6 +932,9 @@ public String toString() {
sb.append(" number: ").append(toIndentedString(number)).append("\n");
sb.append(" recurringDetailReference: ").append(toIndentedString(recurringDetailReference)).append("\n");
sb.append(" shopperNotificationReference: ").append(toIndentedString(shopperNotificationReference)).append("\n");
sb.append(" srcCorrelationId: ").append(toIndentedString(srcCorrelationId)).append("\n");
sb.append(" srcScheme: ").append(toIndentedString(srcScheme)).append("\n");
sb.append(" srcTokenReference: ").append(toIndentedString(srcTokenReference)).append("\n");
sb.append(" storedPaymentMethodId: ").append(toIndentedString(storedPaymentMethodId)).append("\n");
sb.append(" threeDS2SdkVersion: ").append(toIndentedString(threeDS2SdkVersion)).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
Expand Down
Loading

0 comments on commit 513d142

Please sign in to comment.