Skip to content

Commit 9ba0199

Browse files
AdyenAutomationBotAdyenAutomationBotgcatanese
authored
Code generation: update services and models (#1540)
* false[adyen-sdk-automation] automated change * style(fmt): code formatted * Revert changes to PayByBankPlaidInfo * style(fmt): code formatted --------- Co-authored-by: AdyenAutomationBot <AdyenAutomationBot 38424300+AdyenAutomationBot@users.noreply.github.com> Co-authored-by: gcatanese <gcatanese@yahoo.com>
1 parent 8facba9 commit 9ba0199

26 files changed

+547
-210
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1533,11 +1533,11 @@ public void setInstallmentOptions(
15331533
/**
15341534
* Price and product information about the purchased items, to be included on the invoice sent to
15351535
* the shopper. &gt; This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna,
1536-
* Ratepay, Riverty, and Zip.
1536+
* Ratepay, and Riverty.
15371537
*
15381538
* @param lineItems Price and product information about the purchased items, to be included on the
15391539
* invoice sent to the shopper. &gt; This field is required for 3x 4x Oney, Affirm, Afterpay,
1540-
* Clearpay, Klarna, Ratepay, Riverty, and Zip.
1540+
* Clearpay, Klarna, Ratepay, and Riverty.
15411541
* @return the current {@code CreateCheckoutSessionRequest} instance, allowing for method chaining
15421542
*/
15431543
public CreateCheckoutSessionRequest lineItems(List<LineItem> lineItems) {
@@ -1556,11 +1556,11 @@ public CreateCheckoutSessionRequest addLineItemsItem(LineItem lineItemsItem) {
15561556
/**
15571557
* Price and product information about the purchased items, to be included on the invoice sent to
15581558
* the shopper. &gt; This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna,
1559-
* Ratepay, Riverty, and Zip.
1559+
* Ratepay, and Riverty.
15601560
*
15611561
* @return lineItems Price and product information about the purchased items, to be included on
15621562
* the invoice sent to the shopper. &gt; This field is required for 3x 4x Oney, Affirm,
1563-
* Afterpay, Clearpay, Klarna, Ratepay, Riverty, and Zip.
1563+
* Afterpay, Clearpay, Klarna, Ratepay, and Riverty.
15641564
*/
15651565
@JsonProperty(JSON_PROPERTY_LINE_ITEMS)
15661566
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@@ -1571,11 +1571,11 @@ public List<LineItem> getLineItems() {
15711571
/**
15721572
* Price and product information about the purchased items, to be included on the invoice sent to
15731573
* the shopper. &gt; This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna,
1574-
* Ratepay, Riverty, and Zip.
1574+
* Ratepay, and Riverty.
15751575
*
15761576
* @param lineItems Price and product information about the purchased items, to be included on the
15771577
* invoice sent to the shopper. &gt; This field is required for 3x 4x Oney, Affirm, Afterpay,
1578-
* Clearpay, Klarna, Ratepay, Riverty, and Zip.
1578+
* Clearpay, Klarna, Ratepay, and Riverty.
15791579
*/
15801580
@JsonProperty(JSON_PROPERTY_LINE_ITEMS)
15811581
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1585,11 +1585,11 @@ public void setInstallmentOptions(
15851585
/**
15861586
* Price and product information about the purchased items, to be included on the invoice sent to
15871587
* the shopper. &gt; This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna,
1588-
* Ratepay, Riverty, and Zip.
1588+
* Ratepay, and Riverty.
15891589
*
15901590
* @param lineItems Price and product information about the purchased items, to be included on the
15911591
* invoice sent to the shopper. &gt; This field is required for 3x 4x Oney, Affirm, Afterpay,
1592-
* Clearpay, Klarna, Ratepay, Riverty, and Zip.
1592+
* Clearpay, Klarna, Ratepay, and Riverty.
15931593
* @return the current {@code CreateCheckoutSessionResponse} instance, allowing for method
15941594
* chaining
15951595
*/
@@ -1609,11 +1609,11 @@ public CreateCheckoutSessionResponse addLineItemsItem(LineItem lineItemsItem) {
16091609
/**
16101610
* Price and product information about the purchased items, to be included on the invoice sent to
16111611
* the shopper. &gt; This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna,
1612-
* Ratepay, Riverty, and Zip.
1612+
* Ratepay, and Riverty.
16131613
*
16141614
* @return lineItems Price and product information about the purchased items, to be included on
16151615
* the invoice sent to the shopper. &gt; This field is required for 3x 4x Oney, Affirm,
1616-
* Afterpay, Clearpay, Klarna, Ratepay, Riverty, and Zip.
1616+
* Afterpay, Clearpay, Klarna, Ratepay, and Riverty.
16171617
*/
16181618
@JsonProperty(JSON_PROPERTY_LINE_ITEMS)
16191619
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@@ -1624,11 +1624,11 @@ public List<LineItem> getLineItems() {
16241624
/**
16251625
* Price and product information about the purchased items, to be included on the invoice sent to
16261626
* the shopper. &gt; This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna,
1627-
* Ratepay, Riverty, and Zip.
1627+
* Ratepay, and Riverty.
16281628
*
16291629
* @param lineItems Price and product information about the purchased items, to be included on the
16301630
* invoice sent to the shopper. &gt; This field is required for 3x 4x Oney, Affirm, Afterpay,
1631-
* Clearpay, Klarna, Ratepay, Riverty, and Zip.
1631+
* Clearpay, Klarna, Ratepay, and Riverty.
16321632
*/
16331633
@JsonProperty(JSON_PROPERTY_LINE_ITEMS)
16341634
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1092,11 +1092,11 @@ public void setDonationToken(String donationToken) {
10921092
/**
10931093
* Price and product information about the purchased items, to be included on the invoice sent to
10941094
* the shopper. &gt; This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna,
1095-
* Ratepay, Riverty, and Zip.
1095+
* Ratepay, and Riverty.
10961096
*
10971097
* @param lineItems Price and product information about the purchased items, to be included on the
10981098
* invoice sent to the shopper. &gt; This field is required for 3x 4x Oney, Affirm, Afterpay,
1099-
* Clearpay, Klarna, Ratepay, Riverty, and Zip.
1099+
* Clearpay, Klarna, Ratepay, and Riverty.
11001100
* @return the current {@code DonationPaymentRequest} instance, allowing for method chaining
11011101
*/
11021102
public DonationPaymentRequest lineItems(List<LineItem> lineItems) {
@@ -1115,11 +1115,11 @@ public DonationPaymentRequest addLineItemsItem(LineItem lineItemsItem) {
11151115
/**
11161116
* Price and product information about the purchased items, to be included on the invoice sent to
11171117
* the shopper. &gt; This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna,
1118-
* Ratepay, Riverty, and Zip.
1118+
* Ratepay, and Riverty.
11191119
*
11201120
* @return lineItems Price and product information about the purchased items, to be included on
11211121
* the invoice sent to the shopper. &gt; This field is required for 3x 4x Oney, Affirm,
1122-
* Afterpay, Clearpay, Klarna, Ratepay, Riverty, and Zip.
1122+
* Afterpay, Clearpay, Klarna, Ratepay, and Riverty.
11231123
*/
11241124
@JsonProperty(JSON_PROPERTY_LINE_ITEMS)
11251125
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@@ -1130,11 +1130,11 @@ public List<LineItem> getLineItems() {
11301130
/**
11311131
* Price and product information about the purchased items, to be included on the invoice sent to
11321132
* the shopper. &gt; This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna,
1133-
* Ratepay, Riverty, and Zip.
1133+
* Ratepay, and Riverty.
11341134
*
11351135
* @param lineItems Price and product information about the purchased items, to be included on the
11361136
* invoice sent to the shopper. &gt; This field is required for 3x 4x Oney, Affirm, Afterpay,
1137-
* Clearpay, Klarna, Ratepay, Riverty, and Zip.
1137+
* Clearpay, Klarna, Ratepay, and Riverty.
11381138
*/
11391139
@JsonProperty(JSON_PROPERTY_LINE_ITEMS)
11401140
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

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

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -969,12 +969,12 @@ public void setInstallmentOptions(Map<String, InstallmentOption> installmentOpti
969969

970970
/**
971971
* Price and product information about the purchased items, to be included on the invoice sent to
972-
* the shopper. This parameter is required for open invoice (_buy now, pay later_) payment methods
973-
* such Afterpay, Clearpay, Klarna, RatePay, Riverty, and Zip.
972+
* the shopper. &gt; This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna,
973+
* Ratepay, and Riverty.
974974
*
975975
* @param lineItems Price and product information about the purchased items, to be included on the
976-
* invoice sent to the shopper. This parameter is required for open invoice (_buy now, pay
977-
* later_) payment methods such Afterpay, Clearpay, Klarna, RatePay, Riverty, and Zip.
976+
* invoice sent to the shopper. &gt; This field is required for 3x 4x Oney, Affirm, Afterpay,
977+
* Clearpay, Klarna, Ratepay, and Riverty.
978978
* @return the current {@code PaymentLinkRequest} instance, allowing for method chaining
979979
*/
980980
public PaymentLinkRequest lineItems(List<LineItem> lineItems) {
@@ -992,12 +992,12 @@ public PaymentLinkRequest addLineItemsItem(LineItem lineItemsItem) {
992992

993993
/**
994994
* Price and product information about the purchased items, to be included on the invoice sent to
995-
* the shopper. This parameter is required for open invoice (_buy now, pay later_) payment methods
996-
* such Afterpay, Clearpay, Klarna, RatePay, Riverty, and Zip.
995+
* the shopper. &gt; This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna,
996+
* Ratepay, and Riverty.
997997
*
998998
* @return lineItems Price and product information about the purchased items, to be included on
999-
* the invoice sent to the shopper. This parameter is required for open invoice (_buy now, pay
1000-
* later_) payment methods such Afterpay, Clearpay, Klarna, RatePay, Riverty, and Zip.
999+
* the invoice sent to the shopper. &gt; This field is required for 3x 4x Oney, Affirm,
1000+
* Afterpay, Clearpay, Klarna, Ratepay, and Riverty.
10011001
*/
10021002
@JsonProperty(JSON_PROPERTY_LINE_ITEMS)
10031003
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@@ -1007,12 +1007,12 @@ public List<LineItem> getLineItems() {
10071007

10081008
/**
10091009
* Price and product information about the purchased items, to be included on the invoice sent to
1010-
* the shopper. This parameter is required for open invoice (_buy now, pay later_) payment methods
1011-
* such Afterpay, Clearpay, Klarna, RatePay, Riverty, and Zip.
1010+
* the shopper. &gt; This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna,
1011+
* Ratepay, and Riverty.
10121012
*
10131013
* @param lineItems Price and product information about the purchased items, to be included on the
1014-
* invoice sent to the shopper. This parameter is required for open invoice (_buy now, pay
1015-
* later_) payment methods such Afterpay, Clearpay, Klarna, RatePay, Riverty, and Zip.
1014+
* invoice sent to the shopper. &gt; This field is required for 3x 4x Oney, Affirm, Afterpay,
1015+
* Clearpay, Klarna, Ratepay, and Riverty.
10161016
*/
10171017
@JsonProperty(JSON_PROPERTY_LINE_ITEMS)
10181018
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

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

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1057,12 +1057,12 @@ public void setInstallmentOptions(Map<String, InstallmentOption> installmentOpti
10571057

10581058
/**
10591059
* Price and product information about the purchased items, to be included on the invoice sent to
1060-
* the shopper. This parameter is required for open invoice (_buy now, pay later_) payment methods
1061-
* such Afterpay, Clearpay, Klarna, RatePay, Riverty, and Zip.
1060+
* the shopper. &gt; This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna,
1061+
* Ratepay, and Riverty.
10621062
*
10631063
* @param lineItems Price and product information about the purchased items, to be included on the
1064-
* invoice sent to the shopper. This parameter is required for open invoice (_buy now, pay
1065-
* later_) payment methods such Afterpay, Clearpay, Klarna, RatePay, Riverty, and Zip.
1064+
* invoice sent to the shopper. &gt; This field is required for 3x 4x Oney, Affirm, Afterpay,
1065+
* Clearpay, Klarna, Ratepay, and Riverty.
10661066
* @return the current {@code PaymentLinkResponse} instance, allowing for method chaining
10671067
*/
10681068
public PaymentLinkResponse lineItems(List<LineItem> lineItems) {
@@ -1080,12 +1080,12 @@ public PaymentLinkResponse addLineItemsItem(LineItem lineItemsItem) {
10801080

10811081
/**
10821082
* Price and product information about the purchased items, to be included on the invoice sent to
1083-
* the shopper. This parameter is required for open invoice (_buy now, pay later_) payment methods
1084-
* such Afterpay, Clearpay, Klarna, RatePay, Riverty, and Zip.
1083+
* the shopper. &gt; This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna,
1084+
* Ratepay, and Riverty.
10851085
*
10861086
* @return lineItems Price and product information about the purchased items, to be included on
1087-
* the invoice sent to the shopper. This parameter is required for open invoice (_buy now, pay
1088-
* later_) payment methods such Afterpay, Clearpay, Klarna, RatePay, Riverty, and Zip.
1087+
* the invoice sent to the shopper. &gt; This field is required for 3x 4x Oney, Affirm,
1088+
* Afterpay, Clearpay, Klarna, Ratepay, and Riverty.
10891089
*/
10901090
@JsonProperty(JSON_PROPERTY_LINE_ITEMS)
10911091
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@@ -1095,12 +1095,12 @@ public List<LineItem> getLineItems() {
10951095

10961096
/**
10971097
* Price and product information about the purchased items, to be included on the invoice sent to
1098-
* the shopper. This parameter is required for open invoice (_buy now, pay later_) payment methods
1099-
* such Afterpay, Clearpay, Klarna, RatePay, Riverty, and Zip.
1098+
* the shopper. &gt; This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna,
1099+
* Ratepay, and Riverty.
11001100
*
11011101
* @param lineItems Price and product information about the purchased items, to be included on the
1102-
* invoice sent to the shopper. This parameter is required for open invoice (_buy now, pay
1103-
* later_) payment methods such Afterpay, Clearpay, Klarna, RatePay, Riverty, and Zip.
1102+
* invoice sent to the shopper. &gt; This field is required for 3x 4x Oney, Affirm, Afterpay,
1103+
* Clearpay, Klarna, Ratepay, and Riverty.
11041104
*/
11051105
@JsonProperty(JSON_PROPERTY_LINE_ITEMS)
11061106
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1756,11 +1756,11 @@ public void setInstallments(Installments installments) {
17561756
/**
17571757
* Price and product information about the purchased items, to be included on the invoice sent to
17581758
* the shopper. &gt; This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna,
1759-
* Ratepay, Riverty, and Zip.
1759+
* Ratepay, and Riverty.
17601760
*
17611761
* @param lineItems Price and product information about the purchased items, to be included on the
17621762
* invoice sent to the shopper. &gt; This field is required for 3x 4x Oney, Affirm, Afterpay,
1763-
* Clearpay, Klarna, Ratepay, Riverty, and Zip.
1763+
* Clearpay, Klarna, Ratepay, and Riverty.
17641764
* @return the current {@code PaymentRequest} instance, allowing for method chaining
17651765
*/
17661766
public PaymentRequest lineItems(List<LineItem> lineItems) {
@@ -1779,11 +1779,11 @@ public PaymentRequest addLineItemsItem(LineItem lineItemsItem) {
17791779
/**
17801780
* Price and product information about the purchased items, to be included on the invoice sent to
17811781
* the shopper. &gt; This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna,
1782-
* Ratepay, Riverty, and Zip.
1782+
* Ratepay, and Riverty.
17831783
*
17841784
* @return lineItems Price and product information about the purchased items, to be included on
17851785
* the invoice sent to the shopper. &gt; This field is required for 3x 4x Oney, Affirm,
1786-
* Afterpay, Clearpay, Klarna, Ratepay, Riverty, and Zip.
1786+
* Afterpay, Clearpay, Klarna, Ratepay, and Riverty.
17871787
*/
17881788
@JsonProperty(JSON_PROPERTY_LINE_ITEMS)
17891789
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@@ -1794,11 +1794,11 @@ public List<LineItem> getLineItems() {
17941794
/**
17951795
* Price and product information about the purchased items, to be included on the invoice sent to
17961796
* the shopper. &gt; This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna,
1797-
* Ratepay, Riverty, and Zip.
1797+
* Ratepay, and Riverty.
17981798
*
17991799
* @param lineItems Price and product information about the purchased items, to be included on the
18001800
* invoice sent to the shopper. &gt; This field is required for 3x 4x Oney, Affirm, Afterpay,
1801-
* Clearpay, Klarna, Ratepay, Riverty, and Zip.
1801+
* Clearpay, Klarna, Ratepay, and Riverty.
18021802
*/
18031803
@JsonProperty(JSON_PROPERTY_LINE_ITEMS)
18041804
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

src/main/java/com/adyen/model/legalentitymanagement/AcceptTermsOfServiceResponse.java

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -215,11 +215,15 @@ public void setIpAddress(String ipAddress) {
215215
/**
216216
* The language used for the Terms of Service document, specified by the two-letter [ISO
217217
* 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code. Possible value:
218-
* **en** for English.
218+
* **en** for English or **fr** for French. Note that French is only available for some
219+
* integration types in certain countries/regions. Reach out to your Adyen contact for more
220+
* information.
219221
*
220222
* @param language The language used for the Terms of Service document, specified by the
221223
* two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language
222-
* code. Possible value: **en** for English.
224+
* code. Possible value: **en** for English or **fr** for French. Note that French is only
225+
* available for some integration types in certain countries/regions. Reach out to your Adyen
226+
* contact for more information.
223227
* @return the current {@code AcceptTermsOfServiceResponse} instance, allowing for method chaining
224228
*/
225229
public AcceptTermsOfServiceResponse language(String language) {
@@ -230,11 +234,15 @@ public AcceptTermsOfServiceResponse language(String language) {
230234
/**
231235
* The language used for the Terms of Service document, specified by the two-letter [ISO
232236
* 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code. Possible value:
233-
* **en** for English.
237+
* **en** for English or **fr** for French. Note that French is only available for some
238+
* integration types in certain countries/regions. Reach out to your Adyen contact for more
239+
* information.
234240
*
235241
* @return language The language used for the Terms of Service document, specified by the
236242
* two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language
237-
* code. Possible value: **en** for English.
243+
* code. Possible value: **en** for English or **fr** for French. Note that French is only
244+
* available for some integration types in certain countries/regions. Reach out to your Adyen
245+
* contact for more information.
238246
*/
239247
@JsonProperty(JSON_PROPERTY_LANGUAGE)
240248
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@@ -245,11 +253,15 @@ public String getLanguage() {
245253
/**
246254
* The language used for the Terms of Service document, specified by the two-letter [ISO
247255
* 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code. Possible value:
248-
* **en** for English.
256+
* **en** for English or **fr** for French. Note that French is only available for some
257+
* integration types in certain countries/regions. Reach out to your Adyen contact for more
258+
* information.
249259
*
250260
* @param language The language used for the Terms of Service document, specified by the
251261
* two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language
252-
* code. Possible value: **en** for English.
262+
* code. Possible value: **en** for English or **fr** for French. Note that French is only
263+
* available for some integration types in certain countries/regions. Reach out to your Adyen
264+
* contact for more information.
253265
*/
254266
@JsonProperty(JSON_PROPERTY_LANGUAGE)
255267
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

0 commit comments

Comments
 (0)