Skip to content

Commit 820f56d

Browse files
AdyenAutomationBotAdyenAutomationBotgcatanese
authored
Code generation: update services and models (#1565)
* false[adyen-sdk-automation] automated change * style(fmt): code formatted * Revert unwanted changes --------- Co-authored-by: AdyenAutomationBot <AdyenAutomationBot [email protected]> Co-authored-by: gcatanese <[email protected]>
1 parent fdd0267 commit 820f56d

File tree

5 files changed

+96
-42
lines changed

5 files changed

+96
-42
lines changed

src/main/java/com/adyen/model/binlookup/Recurring.java

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,20 @@ public class Recurring {
4141
* transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp).
4242
* * &#x60;ONECLICK,RECURRING&#x60; – Payment details can be used regardless of whether the
4343
* shopper is on your site or not. * &#x60;PAYOUT&#x60; – Payment details can be used to [make a
44-
* payout](https://docs.adyen.com/online-payments/online-payouts).
44+
* payout](https://docs.adyen.com/online-payments/online-payouts). * &#x60;EXTERNAL&#x60; - Use
45+
* this when you store payment details and send the raw card number or network token directly in
46+
* your API request.
4547
*/
4648
public enum ContractEnum {
4749
ONECLICK(String.valueOf("ONECLICK")),
4850

51+
ONECLICK_RECURRING(String.valueOf("ONECLICK,RECURRING")),
52+
4953
RECURRING(String.valueOf("RECURRING")),
5054

51-
PAYOUT(String.valueOf("PAYOUT"));
55+
PAYOUT(String.valueOf("PAYOUT")),
56+
57+
EXTERNAL(String.valueOf("EXTERNAL"));
5258

5359
private static final Logger LOG = Logger.getLogger(ContractEnum.class.getName());
5460

@@ -157,7 +163,9 @@ public Recurring() {}
157163
* transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp).
158164
* * &#x60;ONECLICK,RECURRING&#x60; – Payment details can be used regardless of whether the
159165
* shopper is on your site or not. * &#x60;PAYOUT&#x60; – Payment details can be used to [make a
160-
* payout](https://docs.adyen.com/online-payments/online-payouts).
166+
* payout](https://docs.adyen.com/online-payments/online-payouts). * &#x60;EXTERNAL&#x60; - Use
167+
* this when you store payment details and send the raw card number or network token directly in
168+
* your API request.
161169
*
162170
* @param contract The type of recurring contract to be used. Possible values: *
163171
* &#x60;ONECLICK&#x60; – Payment details can be used to initiate a one-click payment, where
@@ -168,7 +176,9 @@ public Recurring() {}
168176
* transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp).
169177
* * &#x60;ONECLICK,RECURRING&#x60; – Payment details can be used regardless of whether the
170178
* shopper is on your site or not. * &#x60;PAYOUT&#x60; – Payment details can be used to [make
171-
* a payout](https://docs.adyen.com/online-payments/online-payouts).
179+
* a payout](https://docs.adyen.com/online-payments/online-payouts). * &#x60;EXTERNAL&#x60; -
180+
* Use this when you store payment details and send the raw card number or network token
181+
* directly in your API request.
172182
* @return the current {@code Recurring} instance, allowing for method chaining
173183
*/
174184
public Recurring contract(ContractEnum contract) {
@@ -186,7 +196,9 @@ public Recurring contract(ContractEnum contract) {
186196
* transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp).
187197
* * &#x60;ONECLICK,RECURRING&#x60; – Payment details can be used regardless of whether the
188198
* shopper is on your site or not. * &#x60;PAYOUT&#x60; – Payment details can be used to [make a
189-
* payout](https://docs.adyen.com/online-payments/online-payouts).
199+
* payout](https://docs.adyen.com/online-payments/online-payouts). * &#x60;EXTERNAL&#x60; - Use
200+
* this when you store payment details and send the raw card number or network token directly in
201+
* your API request.
190202
*
191203
* @return contract The type of recurring contract to be used. Possible values: *
192204
* &#x60;ONECLICK&#x60; – Payment details can be used to initiate a one-click payment, where
@@ -197,7 +209,9 @@ public Recurring contract(ContractEnum contract) {
197209
* transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp).
198210
* * &#x60;ONECLICK,RECURRING&#x60; – Payment details can be used regardless of whether the
199211
* shopper is on your site or not. * &#x60;PAYOUT&#x60; – Payment details can be used to [make
200-
* a payout](https://docs.adyen.com/online-payments/online-payouts).
212+
* a payout](https://docs.adyen.com/online-payments/online-payouts). * &#x60;EXTERNAL&#x60; -
213+
* Use this when you store payment details and send the raw card number or network token
214+
* directly in your API request.
201215
*/
202216
@JsonProperty(JSON_PROPERTY_CONTRACT)
203217
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@@ -215,7 +229,9 @@ public ContractEnum getContract() {
215229
* transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp).
216230
* * &#x60;ONECLICK,RECURRING&#x60; – Payment details can be used regardless of whether the
217231
* shopper is on your site or not. * &#x60;PAYOUT&#x60; – Payment details can be used to [make a
218-
* payout](https://docs.adyen.com/online-payments/online-payouts).
232+
* payout](https://docs.adyen.com/online-payments/online-payouts). * &#x60;EXTERNAL&#x60; - Use
233+
* this when you store payment details and send the raw card number or network token directly in
234+
* your API request.
219235
*
220236
* @param contract The type of recurring contract to be used. Possible values: *
221237
* &#x60;ONECLICK&#x60; – Payment details can be used to initiate a one-click payment, where
@@ -226,7 +242,9 @@ public ContractEnum getContract() {
226242
* transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp).
227243
* * &#x60;ONECLICK,RECURRING&#x60; – Payment details can be used regardless of whether the
228244
* shopper is on your site or not. * &#x60;PAYOUT&#x60; – Payment details can be used to [make
229-
* a payout](https://docs.adyen.com/online-payments/online-payouts).
245+
* a payout](https://docs.adyen.com/online-payments/online-payouts). * &#x60;EXTERNAL&#x60; -
246+
* Use this when you store payment details and send the raw card number or network token
247+
* directly in your API request.
230248
*/
231249
@JsonProperty(JSON_PROPERTY_CONTRACT)
232250
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -411,11 +411,11 @@ public void setSubMerchantSubSellerSubSellerNrName(String subMerchantSubSellerSu
411411

412412
/**
413413
* Required for transactions performed by registered payment facilitators. The phone number of the
414-
* sub-merchant.* Format: Alphanumeric * Maximum length: 20 characters
414+
* sub-merchant. * Format: Alphanumeric and special characters * Maximum length: 20 characters
415415
*
416416
* @param subMerchantSubSellerSubSellerNrPhoneNumber Required for transactions performed by
417-
* registered payment facilitators. The phone number of the sub-merchant.* Format:
418-
* Alphanumeric * Maximum length: 20 characters
417+
* registered payment facilitators. The phone number of the sub-merchant. * Format:
418+
* Alphanumeric and special characters * Maximum length: 20 characters
419419
* @return the current {@code AdditionalDataSubMerchant} instance, allowing for method chaining
420420
*/
421421
public AdditionalDataSubMerchant subMerchantSubSellerSubSellerNrPhoneNumber(
@@ -426,11 +426,11 @@ public AdditionalDataSubMerchant subMerchantSubSellerSubSellerNrPhoneNumber(
426426

427427
/**
428428
* Required for transactions performed by registered payment facilitators. The phone number of the
429-
* sub-merchant.* Format: Alphanumeric * Maximum length: 20 characters
429+
* sub-merchant. * Format: Alphanumeric and special characters * Maximum length: 20 characters
430430
*
431431
* @return subMerchantSubSellerSubSellerNrPhoneNumber Required for transactions performed by
432-
* registered payment facilitators. The phone number of the sub-merchant.* Format:
433-
* Alphanumeric * Maximum length: 20 characters
432+
* registered payment facilitators. The phone number of the sub-merchant. * Format:
433+
* Alphanumeric and special characters * Maximum length: 20 characters
434434
*/
435435
@JsonProperty(JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_PHONE_NUMBER)
436436
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@@ -440,11 +440,11 @@ public String getSubMerchantSubSellerSubSellerNrPhoneNumber() {
440440

441441
/**
442442
* Required for transactions performed by registered payment facilitators. The phone number of the
443-
* sub-merchant.* Format: Alphanumeric * Maximum length: 20 characters
443+
* sub-merchant. * Format: Alphanumeric and special characters * Maximum length: 20 characters
444444
*
445445
* @param subMerchantSubSellerSubSellerNrPhoneNumber Required for transactions performed by
446-
* registered payment facilitators. The phone number of the sub-merchant.* Format:
447-
* Alphanumeric * Maximum length: 20 characters
446+
* registered payment facilitators. The phone number of the sub-merchant. * Format:
447+
* Alphanumeric and special characters * Maximum length: 20 characters
448448
*/
449449
@JsonProperty(JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_PHONE_NUMBER)
450450
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

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

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,20 @@ public class Recurring {
4141
* transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp).
4242
* * &#x60;ONECLICK,RECURRING&#x60; – Payment details can be used regardless of whether the
4343
* shopper is on your site or not. * &#x60;PAYOUT&#x60; – Payment details can be used to [make a
44-
* payout](https://docs.adyen.com/online-payments/online-payouts).
44+
* payout](https://docs.adyen.com/online-payments/online-payouts). * &#x60;EXTERNAL&#x60; - Use
45+
* this when you store payment details and send the raw card number or network token directly in
46+
* your API request.
4547
*/
4648
public enum ContractEnum {
4749
ONECLICK(String.valueOf("ONECLICK")),
4850

51+
ONECLICK_RECURRING(String.valueOf("ONECLICK,RECURRING")),
52+
4953
RECURRING(String.valueOf("RECURRING")),
5054

51-
PAYOUT(String.valueOf("PAYOUT"));
55+
PAYOUT(String.valueOf("PAYOUT")),
56+
57+
EXTERNAL(String.valueOf("EXTERNAL"));
5258

5359
private static final Logger LOG = Logger.getLogger(ContractEnum.class.getName());
5460

@@ -157,7 +163,9 @@ public Recurring() {}
157163
* transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp).
158164
* * &#x60;ONECLICK,RECURRING&#x60; – Payment details can be used regardless of whether the
159165
* shopper is on your site or not. * &#x60;PAYOUT&#x60; – Payment details can be used to [make a
160-
* payout](https://docs.adyen.com/online-payments/online-payouts).
166+
* payout](https://docs.adyen.com/online-payments/online-payouts). * &#x60;EXTERNAL&#x60; - Use
167+
* this when you store payment details and send the raw card number or network token directly in
168+
* your API request.
161169
*
162170
* @param contract The type of recurring contract to be used. Possible values: *
163171
* &#x60;ONECLICK&#x60; – Payment details can be used to initiate a one-click payment, where
@@ -168,7 +176,9 @@ public Recurring() {}
168176
* transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp).
169177
* * &#x60;ONECLICK,RECURRING&#x60; – Payment details can be used regardless of whether the
170178
* shopper is on your site or not. * &#x60;PAYOUT&#x60; – Payment details can be used to [make
171-
* a payout](https://docs.adyen.com/online-payments/online-payouts).
179+
* a payout](https://docs.adyen.com/online-payments/online-payouts). * &#x60;EXTERNAL&#x60; -
180+
* Use this when you store payment details and send the raw card number or network token
181+
* directly in your API request.
172182
* @return the current {@code Recurring} instance, allowing for method chaining
173183
*/
174184
public Recurring contract(ContractEnum contract) {
@@ -186,7 +196,9 @@ public Recurring contract(ContractEnum contract) {
186196
* transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp).
187197
* * &#x60;ONECLICK,RECURRING&#x60; – Payment details can be used regardless of whether the
188198
* shopper is on your site or not. * &#x60;PAYOUT&#x60; – Payment details can be used to [make a
189-
* payout](https://docs.adyen.com/online-payments/online-payouts).
199+
* payout](https://docs.adyen.com/online-payments/online-payouts). * &#x60;EXTERNAL&#x60; - Use
200+
* this when you store payment details and send the raw card number or network token directly in
201+
* your API request.
190202
*
191203
* @return contract The type of recurring contract to be used. Possible values: *
192204
* &#x60;ONECLICK&#x60; – Payment details can be used to initiate a one-click payment, where
@@ -197,7 +209,9 @@ public Recurring contract(ContractEnum contract) {
197209
* transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp).
198210
* * &#x60;ONECLICK,RECURRING&#x60; – Payment details can be used regardless of whether the
199211
* shopper is on your site or not. * &#x60;PAYOUT&#x60; – Payment details can be used to [make
200-
* a payout](https://docs.adyen.com/online-payments/online-payouts).
212+
* a payout](https://docs.adyen.com/online-payments/online-payouts). * &#x60;EXTERNAL&#x60; -
213+
* Use this when you store payment details and send the raw card number or network token
214+
* directly in your API request.
201215
*/
202216
@JsonProperty(JSON_PROPERTY_CONTRACT)
203217
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@@ -215,7 +229,9 @@ public ContractEnum getContract() {
215229
* transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp).
216230
* * &#x60;ONECLICK,RECURRING&#x60; – Payment details can be used regardless of whether the
217231
* shopper is on your site or not. * &#x60;PAYOUT&#x60; – Payment details can be used to [make a
218-
* payout](https://docs.adyen.com/online-payments/online-payouts).
232+
* payout](https://docs.adyen.com/online-payments/online-payouts). * &#x60;EXTERNAL&#x60; - Use
233+
* this when you store payment details and send the raw card number or network token directly in
234+
* your API request.
219235
*
220236
* @param contract The type of recurring contract to be used. Possible values: *
221237
* &#x60;ONECLICK&#x60; – Payment details can be used to initiate a one-click payment, where
@@ -226,7 +242,9 @@ public ContractEnum getContract() {
226242
* transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp).
227243
* * &#x60;ONECLICK,RECURRING&#x60; – Payment details can be used regardless of whether the
228244
* shopper is on your site or not. * &#x60;PAYOUT&#x60; – Payment details can be used to [make
229-
* a payout](https://docs.adyen.com/online-payments/online-payouts).
245+
* a payout](https://docs.adyen.com/online-payments/online-payouts). * &#x60;EXTERNAL&#x60; -
246+
* Use this when you store payment details and send the raw card number or network token
247+
* directly in your API request.
230248
*/
231249
@JsonProperty(JSON_PROPERTY_CONTRACT)
232250
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

src/main/java/com/adyen/model/payment/AdditionalDataSubMerchant.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -411,11 +411,11 @@ public void setSubMerchantSubSellerSubSellerNrName(String subMerchantSubSellerSu
411411

412412
/**
413413
* Required for transactions performed by registered payment facilitators. The phone number of the
414-
* sub-merchant.* Format: Alphanumeric * Maximum length: 20 characters
414+
* sub-merchant. * Format: Alphanumeric and special characters * Maximum length: 20 characters
415415
*
416416
* @param subMerchantSubSellerSubSellerNrPhoneNumber Required for transactions performed by
417-
* registered payment facilitators. The phone number of the sub-merchant.* Format:
418-
* Alphanumeric * Maximum length: 20 characters
417+
* registered payment facilitators. The phone number of the sub-merchant. * Format:
418+
* Alphanumeric and special characters * Maximum length: 20 characters
419419
* @return the current {@code AdditionalDataSubMerchant} instance, allowing for method chaining
420420
*/
421421
public AdditionalDataSubMerchant subMerchantSubSellerSubSellerNrPhoneNumber(
@@ -426,11 +426,11 @@ public AdditionalDataSubMerchant subMerchantSubSellerSubSellerNrPhoneNumber(
426426

427427
/**
428428
* Required for transactions performed by registered payment facilitators. The phone number of the
429-
* sub-merchant.* Format: Alphanumeric * Maximum length: 20 characters
429+
* sub-merchant. * Format: Alphanumeric and special characters * Maximum length: 20 characters
430430
*
431431
* @return subMerchantSubSellerSubSellerNrPhoneNumber Required for transactions performed by
432-
* registered payment facilitators. The phone number of the sub-merchant.* Format:
433-
* Alphanumeric * Maximum length: 20 characters
432+
* registered payment facilitators. The phone number of the sub-merchant. * Format:
433+
* Alphanumeric and special characters * Maximum length: 20 characters
434434
*/
435435
@JsonProperty(JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_PHONE_NUMBER)
436436
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@@ -440,11 +440,11 @@ public String getSubMerchantSubSellerSubSellerNrPhoneNumber() {
440440

441441
/**
442442
* Required for transactions performed by registered payment facilitators. The phone number of the
443-
* sub-merchant.* Format: Alphanumeric * Maximum length: 20 characters
443+
* sub-merchant. * Format: Alphanumeric and special characters * Maximum length: 20 characters
444444
*
445445
* @param subMerchantSubSellerSubSellerNrPhoneNumber Required for transactions performed by
446-
* registered payment facilitators. The phone number of the sub-merchant.* Format:
447-
* Alphanumeric * Maximum length: 20 characters
446+
* registered payment facilitators. The phone number of the sub-merchant. * Format:
447+
* Alphanumeric and special characters * Maximum length: 20 characters
448448
*/
449449
@JsonProperty(JSON_PROPERTY_SUB_MERCHANT_SUB_SELLER_SUB_SELLER_NR_PHONE_NUMBER)
450450
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

0 commit comments

Comments
 (0)