Skip to content

Commit 513d142

Browse files
false[adyen-sdk-automation] automated change (#1297)
1 parent 02898cf commit 513d142

File tree

63 files changed

+3354
-279
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+3354
-279
lines changed

src/main/java/com/adyen/model/acswebhooks/BalancePlatformNotificationResponse.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ public BalancePlatformNotificationResponse notificationResponse(String notificat
4747
}
4848

4949
/**
50-
* Respond with **HTTP 200 OK** and `[accepted]` in the response body to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).
50+
* Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).
5151
* @return notificationResponse
5252
**/
53-
@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).")
53+
@ApiModelProperty(value = "Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).")
5454
@JsonProperty(JSON_PROPERTY_NOTIFICATION_RESPONSE)
5555
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
5656

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

6161

6262
/**
63-
* Respond with **HTTP 200 OK** and `[accepted]` in the response body to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).
63+
* Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).
6464
*
6565
* @param notificationResponse
6666
*/

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

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
AdditionalDataAirline.JSON_PROPERTY_AIRLINE_CUSTOMER_REFERENCE_NUMBER,
4141
AdditionalDataAirline.JSON_PROPERTY_AIRLINE_DOCUMENT_TYPE,
4242
AdditionalDataAirline.JSON_PROPERTY_AIRLINE_FLIGHT_DATE,
43+
AdditionalDataAirline.JSON_PROPERTY_AIRLINE_ISSUE_DATE,
4344
AdditionalDataAirline.JSON_PROPERTY_AIRLINE_LEG_CARRIER_CODE,
4445
AdditionalDataAirline.JSON_PROPERTY_AIRLINE_LEG_CLASS_OF_TRAVEL,
4546
AdditionalDataAirline.JSON_PROPERTY_AIRLINE_LEG_DATE_OF_TRAVEL,
@@ -89,6 +90,9 @@ public class AdditionalDataAirline {
8990
public static final String JSON_PROPERTY_AIRLINE_FLIGHT_DATE = "airline.flight_date";
9091
private String airlineFlightDate;
9192

93+
public static final String JSON_PROPERTY_AIRLINE_ISSUE_DATE = "airline.issue_date";
94+
private String airlineIssueDate;
95+
9296
public static final String JSON_PROPERTY_AIRLINE_LEG_CARRIER_CODE = "airline.leg.carrier_code";
9397
private String airlineLegCarrierCode;
9498

@@ -419,6 +423,36 @@ public void setAirlineFlightDate(String airlineFlightDate) {
419423
}
420424

421425

426+
public AdditionalDataAirline airlineIssueDate(String airlineIssueDate) {
427+
this.airlineIssueDate = airlineIssueDate;
428+
return this;
429+
}
430+
431+
/**
432+
* The date that the ticket was issued to the passenger. * minLength: 6 characters * maxLength: 6 characters * Date format: YYMMDD
433+
* @return airlineIssueDate
434+
**/
435+
@ApiModelProperty(value = "The date that the ticket was issued to the passenger. * minLength: 6 characters * maxLength: 6 characters * Date format: YYMMDD")
436+
@JsonProperty(JSON_PROPERTY_AIRLINE_ISSUE_DATE)
437+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
438+
439+
public String getAirlineIssueDate() {
440+
return airlineIssueDate;
441+
}
442+
443+
444+
/**
445+
* The date that the ticket was issued to the passenger. * minLength: 6 characters * maxLength: 6 characters * Date format: YYMMDD
446+
*
447+
* @param airlineIssueDate
448+
*/
449+
@JsonProperty(JSON_PROPERTY_AIRLINE_ISSUE_DATE)
450+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
451+
public void setAirlineIssueDate(String airlineIssueDate) {
452+
this.airlineIssueDate = airlineIssueDate;
453+
}
454+
455+
422456
public AdditionalDataAirline airlineLegCarrierCode(String airlineLegCarrierCode) {
423457
this.airlineLegCarrierCode = airlineLegCarrierCode;
424458
return this;
@@ -1010,6 +1044,7 @@ public boolean equals(Object o) {
10101044
Objects.equals(this.airlineCustomerReferenceNumber, additionalDataAirline.airlineCustomerReferenceNumber) &&
10111045
Objects.equals(this.airlineDocumentType, additionalDataAirline.airlineDocumentType) &&
10121046
Objects.equals(this.airlineFlightDate, additionalDataAirline.airlineFlightDate) &&
1047+
Objects.equals(this.airlineIssueDate, additionalDataAirline.airlineIssueDate) &&
10131048
Objects.equals(this.airlineLegCarrierCode, additionalDataAirline.airlineLegCarrierCode) &&
10141049
Objects.equals(this.airlineLegClassOfTravel, additionalDataAirline.airlineLegClassOfTravel) &&
10151050
Objects.equals(this.airlineLegDateOfTravel, additionalDataAirline.airlineLegDateOfTravel) &&
@@ -1033,7 +1068,7 @@ public boolean equals(Object o) {
10331068

10341069
@Override
10351070
public int hashCode() {
1036-
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);
1071+
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);
10371072
}
10381073

10391074
@Override
@@ -1049,6 +1084,7 @@ public String toString() {
10491084
sb.append(" airlineCustomerReferenceNumber: ").append(toIndentedString(airlineCustomerReferenceNumber)).append("\n");
10501085
sb.append(" airlineDocumentType: ").append(toIndentedString(airlineDocumentType)).append("\n");
10511086
sb.append(" airlineFlightDate: ").append(toIndentedString(airlineFlightDate)).append("\n");
1087+
sb.append(" airlineIssueDate: ").append(toIndentedString(airlineIssueDate)).append("\n");
10521088
sb.append(" airlineLegCarrierCode: ").append(toIndentedString(airlineLegCarrierCode)).append("\n");
10531089
sb.append(" airlineLegClassOfTravel: ").append(toIndentedString(airlineLegClassOfTravel)).append("\n");
10541090
sb.append(" airlineLegDateOfTravel: ").append(toIndentedString(airlineLegDateOfTravel)).append("\n");

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

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
* AdditionalDataLodging
3232
*/
3333
@JsonPropertyOrder({
34+
AdditionalDataLodging.JSON_PROPERTY_LODGING_SPECIAL_PROGRAM_CODE,
3435
AdditionalDataLodging.JSON_PROPERTY_LODGING_CHECK_IN_DATE,
3536
AdditionalDataLodging.JSON_PROPERTY_LODGING_CHECK_OUT_DATE,
3637
AdditionalDataLodging.JSON_PROPERTY_LODGING_CUSTOMER_SERVICE_TOLL_FREE_NUMBER,
@@ -50,6 +51,9 @@
5051
})
5152

5253
public class AdditionalDataLodging {
54+
public static final String JSON_PROPERTY_LODGING_SPECIAL_PROGRAM_CODE = "lodging.SpecialProgramCode";
55+
private String lodgingSpecialProgramCode;
56+
5357
public static final String JSON_PROPERTY_LODGING_CHECK_IN_DATE = "lodging.checkInDate";
5458
private String lodgingCheckInDate;
5559

@@ -101,6 +105,36 @@ public class AdditionalDataLodging {
101105
public AdditionalDataLodging() {
102106
}
103107

108+
public AdditionalDataLodging lodgingSpecialProgramCode(String lodgingSpecialProgramCode) {
109+
this.lodgingSpecialProgramCode = lodgingSpecialProgramCode;
110+
return this;
111+
}
112+
113+
/**
114+
* A code that corresponds to the category of lodging charges for the payment. Possible values: * 1: Lodging * 2: No show reservation * 3: Advanced deposit
115+
* @return lodgingSpecialProgramCode
116+
**/
117+
@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")
118+
@JsonProperty(JSON_PROPERTY_LODGING_SPECIAL_PROGRAM_CODE)
119+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
120+
121+
public String getLodgingSpecialProgramCode() {
122+
return lodgingSpecialProgramCode;
123+
}
124+
125+
126+
/**
127+
* A code that corresponds to the category of lodging charges for the payment. Possible values: * 1: Lodging * 2: No show reservation * 3: Advanced deposit
128+
*
129+
* @param lodgingSpecialProgramCode
130+
*/
131+
@JsonProperty(JSON_PROPERTY_LODGING_SPECIAL_PROGRAM_CODE)
132+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
133+
public void setLodgingSpecialProgramCode(String lodgingSpecialProgramCode) {
134+
this.lodgingSpecialProgramCode = lodgingSpecialProgramCode;
135+
}
136+
137+
104138
public AdditionalDataLodging lodgingCheckInDate(String lodgingCheckInDate) {
105139
this.lodgingCheckInDate = lodgingCheckInDate;
106140
return this;
@@ -593,7 +627,8 @@ public boolean equals(Object o) {
593627
return false;
594628
}
595629
AdditionalDataLodging additionalDataLodging = (AdditionalDataLodging) o;
596-
return Objects.equals(this.lodgingCheckInDate, additionalDataLodging.lodgingCheckInDate) &&
630+
return Objects.equals(this.lodgingSpecialProgramCode, additionalDataLodging.lodgingSpecialProgramCode) &&
631+
Objects.equals(this.lodgingCheckInDate, additionalDataLodging.lodgingCheckInDate) &&
597632
Objects.equals(this.lodgingCheckOutDate, additionalDataLodging.lodgingCheckOutDate) &&
598633
Objects.equals(this.lodgingCustomerServiceTollFreeNumber, additionalDataLodging.lodgingCustomerServiceTollFreeNumber) &&
599634
Objects.equals(this.lodgingFireSafetyActIndicator, additionalDataLodging.lodgingFireSafetyActIndicator) &&
@@ -613,13 +648,14 @@ public boolean equals(Object o) {
613648

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

619654
@Override
620655
public String toString() {
621656
StringBuilder sb = new StringBuilder();
622657
sb.append("class AdditionalDataLodging {\n");
658+
sb.append(" lodgingSpecialProgramCode: ").append(toIndentedString(lodgingSpecialProgramCode)).append("\n");
623659
sb.append(" lodgingCheckInDate: ").append(toIndentedString(lodgingCheckInDate)).append("\n");
624660
sb.append(" lodgingCheckOutDate: ").append(toIndentedString(lodgingCheckOutDate)).append("\n");
625661
sb.append(" lodgingCustomerServiceTollFreeNumber: ").append(toIndentedString(lodgingCustomerServiceTollFreeNumber)).append("\n");

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

Lines changed: 109 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@
4747
CardDetails.JSON_PROPERTY_NUMBER,
4848
CardDetails.JSON_PROPERTY_RECURRING_DETAIL_REFERENCE,
4949
CardDetails.JSON_PROPERTY_SHOPPER_NOTIFICATION_REFERENCE,
50+
CardDetails.JSON_PROPERTY_SRC_CORRELATION_ID,
51+
CardDetails.JSON_PROPERTY_SRC_SCHEME,
52+
CardDetails.JSON_PROPERTY_SRC_TOKEN_REFERENCE,
5053
CardDetails.JSON_PROPERTY_STORED_PAYMENT_METHOD_ID,
5154
CardDetails.JSON_PROPERTY_THREE_D_S2_SDK_VERSION,
5255
CardDetails.JSON_PROPERTY_TYPE
@@ -138,6 +141,15 @@ public static FundingSourceEnum fromValue(String value) {
138141
public static final String JSON_PROPERTY_SHOPPER_NOTIFICATION_REFERENCE = "shopperNotificationReference";
139142
private String shopperNotificationReference;
140143

144+
public static final String JSON_PROPERTY_SRC_CORRELATION_ID = "srcCorrelationId";
145+
private String srcCorrelationId;
146+
147+
public static final String JSON_PROPERTY_SRC_SCHEME = "srcScheme";
148+
private String srcScheme;
149+
150+
public static final String JSON_PROPERTY_SRC_TOKEN_REFERENCE = "srcTokenReference";
151+
private String srcTokenReference;
152+
141153
public static final String JSON_PROPERTY_STORED_PAYMENT_METHOD_ID = "storedPaymentMethodId";
142154
private String storedPaymentMethodId;
143155

@@ -679,6 +691,96 @@ public void setShopperNotificationReference(String shopperNotificationReference)
679691
}
680692

681693

694+
public CardDetails srcCorrelationId(String srcCorrelationId) {
695+
this.srcCorrelationId = srcCorrelationId;
696+
return this;
697+
}
698+
699+
/**
700+
* An identifier used for the Click to Pay transaction.
701+
* @return srcCorrelationId
702+
**/
703+
@ApiModelProperty(value = "An identifier used for the Click to Pay transaction.")
704+
@JsonProperty(JSON_PROPERTY_SRC_CORRELATION_ID)
705+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
706+
707+
public String getSrcCorrelationId() {
708+
return srcCorrelationId;
709+
}
710+
711+
712+
/**
713+
* An identifier used for the Click to Pay transaction.
714+
*
715+
* @param srcCorrelationId
716+
*/
717+
@JsonProperty(JSON_PROPERTY_SRC_CORRELATION_ID)
718+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
719+
public void setSrcCorrelationId(String srcCorrelationId) {
720+
this.srcCorrelationId = srcCorrelationId;
721+
}
722+
723+
724+
public CardDetails srcScheme(String srcScheme) {
725+
this.srcScheme = srcScheme;
726+
return this;
727+
}
728+
729+
/**
730+
* The scheme that is being used for Click to Pay.
731+
* @return srcScheme
732+
**/
733+
@ApiModelProperty(value = "The scheme that is being used for Click to Pay.")
734+
@JsonProperty(JSON_PROPERTY_SRC_SCHEME)
735+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
736+
737+
public String getSrcScheme() {
738+
return srcScheme;
739+
}
740+
741+
742+
/**
743+
* The scheme that is being used for Click to Pay.
744+
*
745+
* @param srcScheme
746+
*/
747+
@JsonProperty(JSON_PROPERTY_SRC_SCHEME)
748+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
749+
public void setSrcScheme(String srcScheme) {
750+
this.srcScheme = srcScheme;
751+
}
752+
753+
754+
public CardDetails srcTokenReference(String srcTokenReference) {
755+
this.srcTokenReference = srcTokenReference;
756+
return this;
757+
}
758+
759+
/**
760+
* The reference for the Click to Pay token.
761+
* @return srcTokenReference
762+
**/
763+
@ApiModelProperty(value = "The reference for the Click to Pay token.")
764+
@JsonProperty(JSON_PROPERTY_SRC_TOKEN_REFERENCE)
765+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
766+
767+
public String getSrcTokenReference() {
768+
return srcTokenReference;
769+
}
770+
771+
772+
/**
773+
* The reference for the Click to Pay token.
774+
*
775+
* @param srcTokenReference
776+
*/
777+
@JsonProperty(JSON_PROPERTY_SRC_TOKEN_REFERENCE)
778+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
779+
public void setSrcTokenReference(String srcTokenReference) {
780+
this.srcTokenReference = srcTokenReference;
781+
}
782+
783+
682784
public CardDetails storedPaymentMethodId(String storedPaymentMethodId) {
683785
this.storedPaymentMethodId = storedPaymentMethodId;
684786
return this;
@@ -797,14 +899,17 @@ public boolean equals(Object o) {
797899
Objects.equals(this.number, cardDetails.number) &&
798900
Objects.equals(this.recurringDetailReference, cardDetails.recurringDetailReference) &&
799901
Objects.equals(this.shopperNotificationReference, cardDetails.shopperNotificationReference) &&
902+
Objects.equals(this.srcCorrelationId, cardDetails.srcCorrelationId) &&
903+
Objects.equals(this.srcScheme, cardDetails.srcScheme) &&
904+
Objects.equals(this.srcTokenReference, cardDetails.srcTokenReference) &&
800905
Objects.equals(this.storedPaymentMethodId, cardDetails.storedPaymentMethodId) &&
801906
Objects.equals(this.threeDS2SdkVersion, cardDetails.threeDS2SdkVersion) &&
802907
Objects.equals(this.type, cardDetails.type);
803908
}
804909

805910
@Override
806911
public int hashCode() {
807-
return Objects.hash(brand, checkoutAttemptId, cupsecureplusSmscode, cvc, encryptedCardNumber, encryptedExpiryMonth, encryptedExpiryYear, encryptedSecurityCode, expiryMonth, expiryYear, fundingSource, holderName, networkPaymentReference, number, recurringDetailReference, shopperNotificationReference, storedPaymentMethodId, threeDS2SdkVersion, type);
912+
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);
808913
}
809914

810915
@Override
@@ -827,6 +932,9 @@ public String toString() {
827932
sb.append(" number: ").append(toIndentedString(number)).append("\n");
828933
sb.append(" recurringDetailReference: ").append(toIndentedString(recurringDetailReference)).append("\n");
829934
sb.append(" shopperNotificationReference: ").append(toIndentedString(shopperNotificationReference)).append("\n");
935+
sb.append(" srcCorrelationId: ").append(toIndentedString(srcCorrelationId)).append("\n");
936+
sb.append(" srcScheme: ").append(toIndentedString(srcScheme)).append("\n");
937+
sb.append(" srcTokenReference: ").append(toIndentedString(srcTokenReference)).append("\n");
830938
sb.append(" storedPaymentMethodId: ").append(toIndentedString(storedPaymentMethodId)).append("\n");
831939
sb.append(" threeDS2SdkVersion: ").append(toIndentedString(threeDS2SdkVersion)).append("\n");
832940
sb.append(" type: ").append(toIndentedString(type)).append("\n");

0 commit comments

Comments
 (0)