Skip to content

Commit 79ced54

Browse files
false[adyen-sdk-automation] automated change (#1355)
1 parent d7cb4ee commit 79ced54

11 files changed

+622
-33
lines changed

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,12 @@ public AdditionalData3DSecure allow3DS2(String allow3DS2) {
111111
}
112112

113113
/**
114-
* Indicates if you are able to process 3D Secure 2 transactions natively on your payment page. Send this parameter when you are using `/payments` endpoint with any of our [native 3D Secure 2 solutions](https://docs.adyen.com/online-payments/3d-secure/native-3ds2). > This parameter only indicates readiness to support native 3D Secure 2 authentication. To specify if you _want_ to perform 3D Secure, use [Dynamic 3D Secure](/risk-management/dynamic-3d-secure) or send the `executeThreeD` parameter. Possible values: * **true** - Ready to support native 3D Secure 2 authentication. Setting this to true does not mean always applying 3D Secure 2. Adyen still selects the version of 3D Secure based on configuration to optimize authorisation rates and improve the shopper's experience. * **false** – Not ready to support native 3D Secure 2 authentication. Adyen will not offer 3D Secure 2 to your shopper regardless of your configuration.
114+
* Indicates if you are able to process 3D Secure 2 transactions natively on your payment page. Send this parameter when you are using `/payments` endpoint with any of our [native 3D Secure 2 solutions](https://docs.adyen.com/online-payments/3d-secure/native-3ds2). > This parameter only indicates readiness to support native 3D Secure 2 authentication. To specify if you _want_ to perform 3D Secure, use [Dynamic 3D Secure](/risk-management/dynamic-3d-secure) or send the `executeThreeD` parameter. Possible values: * **true** - Ready to support native 3D Secure 2 authentication. Setting this to true does not mean always applying 3D Secure 2. Adyen selects redirect or native authentication based on your configuration to optimize authorization rates and improve the shopper's experience. * **false** – Not ready to support native 3D Secure 2 authentication. Adyen offers redirect 3D Secure 2 authentication instead, based on your configuration.
115115
* @return allow3DS2
116116
* @deprecated
117117
**/
118118
@Deprecated
119-
@ApiModelProperty(value = "Indicates if you are able to process 3D Secure 2 transactions natively on your payment page. Send this parameter when you are using `/payments` endpoint with any of our [native 3D Secure 2 solutions](https://docs.adyen.com/online-payments/3d-secure/native-3ds2). > This parameter only indicates readiness to support native 3D Secure 2 authentication. To specify if you _want_ to perform 3D Secure, use [Dynamic 3D Secure](/risk-management/dynamic-3d-secure) or send the `executeThreeD` parameter. Possible values: * **true** - Ready to support native 3D Secure 2 authentication. Setting this to true does not mean always applying 3D Secure 2. Adyen still selects the version of 3D Secure based on configuration to optimize authorisation rates and improve the shopper's experience. * **false** – Not ready to support native 3D Secure 2 authentication. Adyen will not offer 3D Secure 2 to your shopper regardless of your configuration. ")
119+
@ApiModelProperty(value = "Indicates if you are able to process 3D Secure 2 transactions natively on your payment page. Send this parameter when you are using `/payments` endpoint with any of our [native 3D Secure 2 solutions](https://docs.adyen.com/online-payments/3d-secure/native-3ds2). > This parameter only indicates readiness to support native 3D Secure 2 authentication. To specify if you _want_ to perform 3D Secure, use [Dynamic 3D Secure](/risk-management/dynamic-3d-secure) or send the `executeThreeD` parameter. Possible values: * **true** - Ready to support native 3D Secure 2 authentication. Setting this to true does not mean always applying 3D Secure 2. Adyen selects redirect or native authentication based on your configuration to optimize authorization rates and improve the shopper's experience. * **false** – Not ready to support native 3D Secure 2 authentication. Adyen offers redirect 3D Secure 2 authentication instead, based on your configuration. ")
120120
@JsonProperty(JSON_PROPERTY_ALLOW3_D_S2)
121121
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
122122

@@ -126,7 +126,7 @@ public String getAllow3DS2() {
126126

127127

128128
/**
129-
* Indicates if you are able to process 3D Secure 2 transactions natively on your payment page. Send this parameter when you are using `/payments` endpoint with any of our [native 3D Secure 2 solutions](https://docs.adyen.com/online-payments/3d-secure/native-3ds2). > This parameter only indicates readiness to support native 3D Secure 2 authentication. To specify if you _want_ to perform 3D Secure, use [Dynamic 3D Secure](/risk-management/dynamic-3d-secure) or send the `executeThreeD` parameter. Possible values: * **true** - Ready to support native 3D Secure 2 authentication. Setting this to true does not mean always applying 3D Secure 2. Adyen still selects the version of 3D Secure based on configuration to optimize authorisation rates and improve the shopper's experience. * **false** – Not ready to support native 3D Secure 2 authentication. Adyen will not offer 3D Secure 2 to your shopper regardless of your configuration.
129+
* Indicates if you are able to process 3D Secure 2 transactions natively on your payment page. Send this parameter when you are using `/payments` endpoint with any of our [native 3D Secure 2 solutions](https://docs.adyen.com/online-payments/3d-secure/native-3ds2). > This parameter only indicates readiness to support native 3D Secure 2 authentication. To specify if you _want_ to perform 3D Secure, use [Dynamic 3D Secure](/risk-management/dynamic-3d-secure) or send the `executeThreeD` parameter. Possible values: * **true** - Ready to support native 3D Secure 2 authentication. Setting this to true does not mean always applying 3D Secure 2. Adyen selects redirect or native authentication based on your configuration to optimize authorization rates and improve the shopper's experience. * **false** – Not ready to support native 3D Secure 2 authentication. Adyen offers redirect 3D Secure 2 authentication instead, based on your configuration.
130130
*
131131
* @param allow3DS2
132132
*/

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

+9-9
Original file line numberDiff line numberDiff line change
@@ -201,10 +201,10 @@ public AdditionalDataLodging lodgingCustomerServiceTollFreeNumber(String lodging
201201
}
202202

203203
/**
204-
* The toll-free phone number for the lodging. * Format: numeric * Max length: 17 characters. * For US and CA numbers must be 10 characters in length * Must not start with a space * Must not contain any special characters such as + or - *Must not be all zeros.
204+
* The toll-free phone number for the lodging. * Format: numeric * Max length: 17 characters. * For US and CA numbers must be 10 characters in length * Must not start with a space * Must not contain any special characters such as + or - * Must not be all zeros.
205205
* @return lodgingCustomerServiceTollFreeNumber
206206
**/
207-
@ApiModelProperty(value = "The toll-free phone number for the lodging. * Format: numeric * Max length: 17 characters. * For US and CA numbers must be 10 characters in length * Must not start with a space * Must not contain any special characters such as + or - *Must not be all zeros.")
207+
@ApiModelProperty(value = "The toll-free phone number for the lodging. * Format: numeric * Max length: 17 characters. * For US and CA numbers must be 10 characters in length * Must not start with a space * Must not contain any special characters such as + or - * Must not be all zeros.")
208208
@JsonProperty(JSON_PROPERTY_LODGING_CUSTOMER_SERVICE_TOLL_FREE_NUMBER)
209209
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
210210

@@ -214,7 +214,7 @@ public String getLodgingCustomerServiceTollFreeNumber() {
214214

215215

216216
/**
217-
* The toll-free phone number for the lodging. * Format: numeric * Max length: 17 characters. * For US and CA numbers must be 10 characters in length * Must not start with a space * Must not contain any special characters such as + or - *Must not be all zeros.
217+
* The toll-free phone number for the lodging. * Format: numeric * Max length: 17 characters. * For US and CA numbers must be 10 characters in length * Must not start with a space * Must not contain any special characters such as + or - * Must not be all zeros.
218218
*
219219
* @param lodgingCustomerServiceTollFreeNumber
220220
*/
@@ -291,10 +291,10 @@ public AdditionalDataLodging lodgingFolioNumber(String lodgingFolioNumber) {
291291
}
292292

293293
/**
294-
* The card acceptor’s internal invoice or billing ID reference number. * Max length: 25 characters. * Must not start with a space *Must not be all zeros.
294+
* The card acceptor’s internal invoice or billing ID reference number. * Max length: 25 characters * Must not start with a space * Must not contain any special characters * Must not be all zeros.
295295
* @return lodgingFolioNumber
296296
**/
297-
@ApiModelProperty(value = "The card acceptor’s internal invoice or billing ID reference number. * Max length: 25 characters. * Must not start with a space *Must not be all zeros.")
297+
@ApiModelProperty(value = "The card acceptor’s internal invoice or billing ID reference number. * Max length: 25 characters * Must not start with a space * Must not contain any special characters * Must not be all zeros.")
298298
@JsonProperty(JSON_PROPERTY_LODGING_FOLIO_NUMBER)
299299
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
300300

@@ -304,7 +304,7 @@ public String getLodgingFolioNumber() {
304304

305305

306306
/**
307-
* The card acceptor’s internal invoice or billing ID reference number. * Max length: 25 characters. * Must not start with a space *Must not be all zeros.
307+
* The card acceptor’s internal invoice or billing ID reference number. * Max length: 25 characters * Must not start with a space * Must not contain any special characters * Must not be all zeros.
308308
*
309309
* @param lodgingFolioNumber
310310
*/
@@ -411,10 +411,10 @@ public AdditionalDataLodging lodgingPropertyPhoneNumber(String lodgingPropertyPh
411411
}
412412

413413
/**
414-
* The lodging property location's phone number. * Format: numeric. * Min length: 10 characters * Max length: 17 characters * For US and CA numbers must be 10 characters in length * Must not start with a space * Must not contain any special characters such as + or - *Must not be all zeros.
414+
* The lodging property location's phone number. * Format: numeric * Min length: 10 characters * Max length: 17 characters * For US and CA numbers must be 10 characters in length * Must not start with a space * Must not contain any special characters such as + or - * Must not be all zeros.
415415
* @return lodgingPropertyPhoneNumber
416416
**/
417-
@ApiModelProperty(value = "The lodging property location's phone number. * Format: numeric. * Min length: 10 characters * Max length: 17 characters * For US and CA numbers must be 10 characters in length * Must not start with a space * Must not contain any special characters such as + or - *Must not be all zeros.")
417+
@ApiModelProperty(value = "The lodging property location's phone number. * Format: numeric * Min length: 10 characters * Max length: 17 characters * For US and CA numbers must be 10 characters in length * Must not start with a space * Must not contain any special characters such as + or - * Must not be all zeros.")
418418
@JsonProperty(JSON_PROPERTY_LODGING_PROPERTY_PHONE_NUMBER)
419419
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
420420

@@ -424,7 +424,7 @@ public String getLodgingPropertyPhoneNumber() {
424424

425425

426426
/**
427-
* The lodging property location's phone number. * Format: numeric. * Min length: 10 characters * Max length: 17 characters * For US and CA numbers must be 10 characters in length * Must not start with a space * Must not contain any special characters such as + or - *Must not be all zeros.
427+
* The lodging property location's phone number. * Format: numeric * Min length: 10 characters * Max length: 17 characters * For US and CA numbers must be 10 characters in length * Must not start with a space * Must not contain any special characters such as + or - * Must not be all zeros.
428428
*
429429
* @param lodgingPropertyPhoneNumber
430430
*/

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

+110-2
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,25 @@
3232
* CheckoutBankTransferAction
3333
*/
3434
@JsonPropertyOrder({
35+
CheckoutBankTransferAction.JSON_PROPERTY_ACCOUNT_NUMBER,
3536
CheckoutBankTransferAction.JSON_PROPERTY_BENEFICIARY,
3637
CheckoutBankTransferAction.JSON_PROPERTY_BIC,
3738
CheckoutBankTransferAction.JSON_PROPERTY_DOWNLOAD_URL,
3839
CheckoutBankTransferAction.JSON_PROPERTY_IBAN,
3940
CheckoutBankTransferAction.JSON_PROPERTY_PAYMENT_METHOD_TYPE,
4041
CheckoutBankTransferAction.JSON_PROPERTY_REFERENCE,
42+
CheckoutBankTransferAction.JSON_PROPERTY_ROUTING_NUMBER,
4143
CheckoutBankTransferAction.JSON_PROPERTY_SHOPPER_EMAIL,
44+
CheckoutBankTransferAction.JSON_PROPERTY_SORT_CODE,
4245
CheckoutBankTransferAction.JSON_PROPERTY_TOTAL_AMOUNT,
4346
CheckoutBankTransferAction.JSON_PROPERTY_TYPE,
4447
CheckoutBankTransferAction.JSON_PROPERTY_URL
4548
})
4649

4750
public class CheckoutBankTransferAction {
51+
public static final String JSON_PROPERTY_ACCOUNT_NUMBER = "accountNumber";
52+
private String accountNumber;
53+
4854
public static final String JSON_PROPERTY_BENEFICIARY = "beneficiary";
4955
private String beneficiary;
5056

@@ -63,9 +69,15 @@ public class CheckoutBankTransferAction {
6369
public static final String JSON_PROPERTY_REFERENCE = "reference";
6470
private String reference;
6571

72+
public static final String JSON_PROPERTY_ROUTING_NUMBER = "routingNumber";
73+
private String routingNumber;
74+
6675
public static final String JSON_PROPERTY_SHOPPER_EMAIL = "shopperEmail";
6776
private String shopperEmail;
6877

78+
public static final String JSON_PROPERTY_SORT_CODE = "sortCode";
79+
private String sortCode;
80+
6981
public static final String JSON_PROPERTY_TOTAL_AMOUNT = "totalAmount";
7082
private Amount totalAmount;
7183

@@ -111,6 +123,36 @@ public static TypeEnum fromValue(String value) {
111123
public CheckoutBankTransferAction() {
112124
}
113125

126+
public CheckoutBankTransferAction accountNumber(String accountNumber) {
127+
this.accountNumber = accountNumber;
128+
return this;
129+
}
130+
131+
/**
132+
* The account number of the bank transfer.
133+
* @return accountNumber
134+
**/
135+
@ApiModelProperty(value = "The account number of the bank transfer.")
136+
@JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER)
137+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
138+
139+
public String getAccountNumber() {
140+
return accountNumber;
141+
}
142+
143+
144+
/**
145+
* The account number of the bank transfer.
146+
*
147+
* @param accountNumber
148+
*/
149+
@JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER)
150+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
151+
public void setAccountNumber(String accountNumber) {
152+
this.accountNumber = accountNumber;
153+
}
154+
155+
114156
public CheckoutBankTransferAction beneficiary(String beneficiary) {
115157
this.beneficiary = beneficiary;
116158
return this;
@@ -291,6 +333,36 @@ public void setReference(String reference) {
291333
}
292334

293335

336+
public CheckoutBankTransferAction routingNumber(String routingNumber) {
337+
this.routingNumber = routingNumber;
338+
return this;
339+
}
340+
341+
/**
342+
* The routing number of the bank transfer.
343+
* @return routingNumber
344+
**/
345+
@ApiModelProperty(value = "The routing number of the bank transfer.")
346+
@JsonProperty(JSON_PROPERTY_ROUTING_NUMBER)
347+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
348+
349+
public String getRoutingNumber() {
350+
return routingNumber;
351+
}
352+
353+
354+
/**
355+
* The routing number of the bank transfer.
356+
*
357+
* @param routingNumber
358+
*/
359+
@JsonProperty(JSON_PROPERTY_ROUTING_NUMBER)
360+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
361+
public void setRoutingNumber(String routingNumber) {
362+
this.routingNumber = routingNumber;
363+
}
364+
365+
294366
public CheckoutBankTransferAction shopperEmail(String shopperEmail) {
295367
this.shopperEmail = shopperEmail;
296368
return this;
@@ -321,6 +393,36 @@ public void setShopperEmail(String shopperEmail) {
321393
}
322394

323395

396+
public CheckoutBankTransferAction sortCode(String sortCode) {
397+
this.sortCode = sortCode;
398+
return this;
399+
}
400+
401+
/**
402+
* The sort code of the bank transfer.
403+
* @return sortCode
404+
**/
405+
@ApiModelProperty(value = "The sort code of the bank transfer.")
406+
@JsonProperty(JSON_PROPERTY_SORT_CODE)
407+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
408+
409+
public String getSortCode() {
410+
return sortCode;
411+
}
412+
413+
414+
/**
415+
* The sort code of the bank transfer.
416+
*
417+
* @param sortCode
418+
*/
419+
@JsonProperty(JSON_PROPERTY_SORT_CODE)
420+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
421+
public void setSortCode(String sortCode) {
422+
this.sortCode = sortCode;
423+
}
424+
425+
324426
public CheckoutBankTransferAction totalAmount(Amount totalAmount) {
325427
this.totalAmount = totalAmount;
326428
return this;
@@ -423,34 +525,40 @@ public boolean equals(Object o) {
423525
return false;
424526
}
425527
CheckoutBankTransferAction checkoutBankTransferAction = (CheckoutBankTransferAction) o;
426-
return Objects.equals(this.beneficiary, checkoutBankTransferAction.beneficiary) &&
528+
return Objects.equals(this.accountNumber, checkoutBankTransferAction.accountNumber) &&
529+
Objects.equals(this.beneficiary, checkoutBankTransferAction.beneficiary) &&
427530
Objects.equals(this.bic, checkoutBankTransferAction.bic) &&
428531
Objects.equals(this.downloadUrl, checkoutBankTransferAction.downloadUrl) &&
429532
Objects.equals(this.iban, checkoutBankTransferAction.iban) &&
430533
Objects.equals(this.paymentMethodType, checkoutBankTransferAction.paymentMethodType) &&
431534
Objects.equals(this.reference, checkoutBankTransferAction.reference) &&
535+
Objects.equals(this.routingNumber, checkoutBankTransferAction.routingNumber) &&
432536
Objects.equals(this.shopperEmail, checkoutBankTransferAction.shopperEmail) &&
537+
Objects.equals(this.sortCode, checkoutBankTransferAction.sortCode) &&
433538
Objects.equals(this.totalAmount, checkoutBankTransferAction.totalAmount) &&
434539
Objects.equals(this.type, checkoutBankTransferAction.type) &&
435540
Objects.equals(this.url, checkoutBankTransferAction.url);
436541
}
437542

438543
@Override
439544
public int hashCode() {
440-
return Objects.hash(beneficiary, bic, downloadUrl, iban, paymentMethodType, reference, shopperEmail, totalAmount, type, url);
545+
return Objects.hash(accountNumber, beneficiary, bic, downloadUrl, iban, paymentMethodType, reference, routingNumber, shopperEmail, sortCode, totalAmount, type, url);
441546
}
442547

443548
@Override
444549
public String toString() {
445550
StringBuilder sb = new StringBuilder();
446551
sb.append("class CheckoutBankTransferAction {\n");
552+
sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n");
447553
sb.append(" beneficiary: ").append(toIndentedString(beneficiary)).append("\n");
448554
sb.append(" bic: ").append(toIndentedString(bic)).append("\n");
449555
sb.append(" downloadUrl: ").append(toIndentedString(downloadUrl)).append("\n");
450556
sb.append(" iban: ").append(toIndentedString(iban)).append("\n");
451557
sb.append(" paymentMethodType: ").append(toIndentedString(paymentMethodType)).append("\n");
452558
sb.append(" reference: ").append(toIndentedString(reference)).append("\n");
559+
sb.append(" routingNumber: ").append(toIndentedString(routingNumber)).append("\n");
453560
sb.append(" shopperEmail: ").append(toIndentedString(shopperEmail)).append("\n");
561+
sb.append(" sortCode: ").append(toIndentedString(sortCode)).append("\n");
454562
sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n");
455563
sb.append(" type: ").append(toIndentedString(type)).append("\n");
456564
sb.append(" url: ").append(toIndentedString(url)).append("\n");

0 commit comments

Comments
 (0)