diff --git a/src/main/java/com/adyen/model/balanceplatform/AULocalAccountIdentification.java b/src/main/java/com/adyen/model/balanceplatform/AULocalAccountIdentification.java index 7e2ec67a4..a5a01d8ee 100644 --- a/src/main/java/com/adyen/model/balanceplatform/AULocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/balanceplatform/AULocalAccountIdentification.java @@ -45,7 +45,7 @@ public class AULocalAccountIdentification { private String bsbCode; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; /** * **auLocal** @@ -81,7 +81,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.AULOCAL; + private TypeEnum type; public AULocalAccountIdentification() { } diff --git a/src/main/java/com/adyen/model/balanceplatform/AddressRequirement.java b/src/main/java/com/adyen/model/balanceplatform/AddressRequirement.java index 83c128505..ff93845e0 100644 --- a/src/main/java/com/adyen/model/balanceplatform/AddressRequirement.java +++ b/src/main/java/com/adyen/model/balanceplatform/AddressRequirement.java @@ -120,7 +120,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.ADDRESSREQUIREMENT; + private TypeEnum type; public AddressRequirement() { } diff --git a/src/main/java/com/adyen/model/balanceplatform/AmountMinMaxRequirement.java b/src/main/java/com/adyen/model/balanceplatform/AmountMinMaxRequirement.java index 84022fe62..a7cb9a13c 100644 --- a/src/main/java/com/adyen/model/balanceplatform/AmountMinMaxRequirement.java +++ b/src/main/java/com/adyen/model/balanceplatform/AmountMinMaxRequirement.java @@ -81,7 +81,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.AMOUNTMINMAXREQUIREMENT; + private TypeEnum type; public AmountMinMaxRequirement() { } diff --git a/src/main/java/com/adyen/model/balanceplatform/BRLocalAccountIdentification.java b/src/main/java/com/adyen/model/balanceplatform/BRLocalAccountIdentification.java index 350ba929a..bd2160eb1 100644 --- a/src/main/java/com/adyen/model/balanceplatform/BRLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/balanceplatform/BRLocalAccountIdentification.java @@ -49,7 +49,7 @@ public class BRLocalAccountIdentification { private String branchNumber; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; /** * **brLocal** @@ -85,7 +85,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.BRLOCAL; + private TypeEnum type; public BRLocalAccountIdentification() { } diff --git a/src/main/java/com/adyen/model/balanceplatform/BankAccountIdentificationTypeRequirement.java b/src/main/java/com/adyen/model/balanceplatform/BankAccountIdentificationTypeRequirement.java index edb487e0d..04a73d4fb 100644 --- a/src/main/java/com/adyen/model/balanceplatform/BankAccountIdentificationTypeRequirement.java +++ b/src/main/java/com/adyen/model/balanceplatform/BankAccountIdentificationTypeRequirement.java @@ -144,7 +144,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.BANKACCOUNTIDENTIFICATIONTYPEREQUIREMENT; + private TypeEnum type; public BankAccountIdentificationTypeRequirement() { } diff --git a/src/main/java/com/adyen/model/balanceplatform/CALocalAccountIdentification.java b/src/main/java/com/adyen/model/balanceplatform/CALocalAccountIdentification.java index 14281a239..82e619c03 100644 --- a/src/main/java/com/adyen/model/balanceplatform/CALocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/balanceplatform/CALocalAccountIdentification.java @@ -79,10 +79,10 @@ public static AccountTypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_ACCOUNT_TYPE = "accountType"; - private AccountTypeEnum accountType = AccountTypeEnum.CHECKING; + private AccountTypeEnum accountType; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; public static final String JSON_PROPERTY_INSTITUTION_NUMBER = "institutionNumber"; private String institutionNumber; @@ -124,7 +124,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.CALOCAL; + private TypeEnum type; public CALocalAccountIdentification() { } diff --git a/src/main/java/com/adyen/model/balanceplatform/CZLocalAccountIdentification.java b/src/main/java/com/adyen/model/balanceplatform/CZLocalAccountIdentification.java index 54ba7fbfd..376a2d725 100644 --- a/src/main/java/com/adyen/model/balanceplatform/CZLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/balanceplatform/CZLocalAccountIdentification.java @@ -45,7 +45,7 @@ public class CZLocalAccountIdentification { private String bankCode; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; /** * **czLocal** @@ -81,7 +81,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.CZLOCAL; + private TypeEnum type; public CZLocalAccountIdentification() { } diff --git a/src/main/java/com/adyen/model/balanceplatform/CreateSweepConfigurationV2.java b/src/main/java/com/adyen/model/balanceplatform/CreateSweepConfigurationV2.java index f1793b793..0cb15fba4 100644 --- a/src/main/java/com/adyen/model/balanceplatform/CreateSweepConfigurationV2.java +++ b/src/main/java/com/adyen/model/balanceplatform/CreateSweepConfigurationV2.java @@ -298,7 +298,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.PUSH; + private TypeEnum type; public CreateSweepConfigurationV2() { } diff --git a/src/main/java/com/adyen/model/balanceplatform/DKLocalAccountIdentification.java b/src/main/java/com/adyen/model/balanceplatform/DKLocalAccountIdentification.java index 1f04a4b6f..75e695e9e 100644 --- a/src/main/java/com/adyen/model/balanceplatform/DKLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/balanceplatform/DKLocalAccountIdentification.java @@ -45,7 +45,7 @@ public class DKLocalAccountIdentification { private String bankCode; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; /** * **dkLocal** @@ -81,7 +81,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.DKLOCAL; + private TypeEnum type; public DKLocalAccountIdentification() { } diff --git a/src/main/java/com/adyen/model/balanceplatform/HKLocalAccountIdentification.java b/src/main/java/com/adyen/model/balanceplatform/HKLocalAccountIdentification.java index 5bb343131..6370609fa 100644 --- a/src/main/java/com/adyen/model/balanceplatform/HKLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/balanceplatform/HKLocalAccountIdentification.java @@ -45,7 +45,7 @@ public class HKLocalAccountIdentification { private String clearingCode; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; /** * **hkLocal** @@ -81,7 +81,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.HKLOCAL; + private TypeEnum type; public HKLocalAccountIdentification() { } diff --git a/src/main/java/com/adyen/model/balanceplatform/HULocalAccountIdentification.java b/src/main/java/com/adyen/model/balanceplatform/HULocalAccountIdentification.java index 317ced533..c85afe470 100644 --- a/src/main/java/com/adyen/model/balanceplatform/HULocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/balanceplatform/HULocalAccountIdentification.java @@ -41,7 +41,7 @@ public class HULocalAccountIdentification { private String accountNumber; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; /** * **huLocal** @@ -77,7 +77,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.HULOCAL; + private TypeEnum type; public HULocalAccountIdentification() { } diff --git a/src/main/java/com/adyen/model/balanceplatform/IbanAccountIdentification.java b/src/main/java/com/adyen/model/balanceplatform/IbanAccountIdentification.java index e8e7577bd..4ef9c1956 100644 --- a/src/main/java/com/adyen/model/balanceplatform/IbanAccountIdentification.java +++ b/src/main/java/com/adyen/model/balanceplatform/IbanAccountIdentification.java @@ -38,7 +38,7 @@ public class IbanAccountIdentification { public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; public static final String JSON_PROPERTY_IBAN = "iban"; private String iban; @@ -77,7 +77,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.IBAN; + private TypeEnum type; public IbanAccountIdentification() { } diff --git a/src/main/java/com/adyen/model/balanceplatform/NOLocalAccountIdentification.java b/src/main/java/com/adyen/model/balanceplatform/NOLocalAccountIdentification.java index e817cc406..47d1c53ae 100644 --- a/src/main/java/com/adyen/model/balanceplatform/NOLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/balanceplatform/NOLocalAccountIdentification.java @@ -41,7 +41,7 @@ public class NOLocalAccountIdentification { private String accountNumber; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; /** * **noLocal** @@ -77,7 +77,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.NOLOCAL; + private TypeEnum type; public NOLocalAccountIdentification() { } diff --git a/src/main/java/com/adyen/model/balanceplatform/NZLocalAccountIdentification.java b/src/main/java/com/adyen/model/balanceplatform/NZLocalAccountIdentification.java index 1d6edcadb..4f1d245f8 100644 --- a/src/main/java/com/adyen/model/balanceplatform/NZLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/balanceplatform/NZLocalAccountIdentification.java @@ -41,7 +41,7 @@ public class NZLocalAccountIdentification { private String accountNumber; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; /** * **nzLocal** @@ -77,7 +77,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.NZLOCAL; + private TypeEnum type; public NZLocalAccountIdentification() { } diff --git a/src/main/java/com/adyen/model/balanceplatform/NumberAndBicAccountIdentification.java b/src/main/java/com/adyen/model/balanceplatform/NumberAndBicAccountIdentification.java index 72deefe1b..efc765f84 100644 --- a/src/main/java/com/adyen/model/balanceplatform/NumberAndBicAccountIdentification.java +++ b/src/main/java/com/adyen/model/balanceplatform/NumberAndBicAccountIdentification.java @@ -50,7 +50,7 @@ public class NumberAndBicAccountIdentification { private String bic; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; /** * **numberAndBic** @@ -86,7 +86,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.NUMBERANDBIC; + private TypeEnum type; public NumberAndBicAccountIdentification() { } diff --git a/src/main/java/com/adyen/model/balanceplatform/PLLocalAccountIdentification.java b/src/main/java/com/adyen/model/balanceplatform/PLLocalAccountIdentification.java index a5bf08d43..6c356cc4f 100644 --- a/src/main/java/com/adyen/model/balanceplatform/PLLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/balanceplatform/PLLocalAccountIdentification.java @@ -41,7 +41,7 @@ public class PLLocalAccountIdentification { private String accountNumber; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; /** * **plLocal** @@ -77,7 +77,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.PLLOCAL; + private TypeEnum type; public PLLocalAccountIdentification() { } diff --git a/src/main/java/com/adyen/model/balanceplatform/PaymentInstrumentRequirement.java b/src/main/java/com/adyen/model/balanceplatform/PaymentInstrumentRequirement.java index ec7059886..ce381b755 100644 --- a/src/main/java/com/adyen/model/balanceplatform/PaymentInstrumentRequirement.java +++ b/src/main/java/com/adyen/model/balanceplatform/PaymentInstrumentRequirement.java @@ -126,7 +126,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.PAYMENTINSTRUMENTREQUIREMENT; + private TypeEnum type; public PaymentInstrumentRequirement() { } diff --git a/src/main/java/com/adyen/model/balanceplatform/SELocalAccountIdentification.java b/src/main/java/com/adyen/model/balanceplatform/SELocalAccountIdentification.java index 9584e386f..b79714425 100644 --- a/src/main/java/com/adyen/model/balanceplatform/SELocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/balanceplatform/SELocalAccountIdentification.java @@ -45,7 +45,7 @@ public class SELocalAccountIdentification { private String clearingNumber; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; /** * **seLocal** @@ -81,7 +81,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.SELOCAL; + private TypeEnum type; public SELocalAccountIdentification() { } diff --git a/src/main/java/com/adyen/model/balanceplatform/SGLocalAccountIdentification.java b/src/main/java/com/adyen/model/balanceplatform/SGLocalAccountIdentification.java index 4e81ed0be..be0981775 100644 --- a/src/main/java/com/adyen/model/balanceplatform/SGLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/balanceplatform/SGLocalAccountIdentification.java @@ -45,7 +45,7 @@ public class SGLocalAccountIdentification { private String bic; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; /** * **sgLocal** @@ -81,7 +81,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.SGLOCAL; + private TypeEnum type; public SGLocalAccountIdentification() { } diff --git a/src/main/java/com/adyen/model/balanceplatform/SweepConfigurationV2.java b/src/main/java/com/adyen/model/balanceplatform/SweepConfigurationV2.java index 8b9c51ae6..fb5508dc8 100644 --- a/src/main/java/com/adyen/model/balanceplatform/SweepConfigurationV2.java +++ b/src/main/java/com/adyen/model/balanceplatform/SweepConfigurationV2.java @@ -302,7 +302,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.PUSH; + private TypeEnum type; public SweepConfigurationV2() { } diff --git a/src/main/java/com/adyen/model/balanceplatform/UKLocalAccountIdentification.java b/src/main/java/com/adyen/model/balanceplatform/UKLocalAccountIdentification.java index 5f2445fae..978173cca 100644 --- a/src/main/java/com/adyen/model/balanceplatform/UKLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/balanceplatform/UKLocalAccountIdentification.java @@ -42,7 +42,7 @@ public class UKLocalAccountIdentification { private String accountNumber; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; public static final String JSON_PROPERTY_SORT_CODE = "sortCode"; private String sortCode; @@ -81,7 +81,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.UKLOCAL; + private TypeEnum type; public UKLocalAccountIdentification() { } diff --git a/src/main/java/com/adyen/model/balanceplatform/USLocalAccountIdentification.java b/src/main/java/com/adyen/model/balanceplatform/USLocalAccountIdentification.java index 379f5fa41..4b489a6f5 100644 --- a/src/main/java/com/adyen/model/balanceplatform/USLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/balanceplatform/USLocalAccountIdentification.java @@ -78,10 +78,10 @@ public static AccountTypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_ACCOUNT_TYPE = "accountType"; - private AccountTypeEnum accountType = AccountTypeEnum.CHECKING; + private AccountTypeEnum accountType; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; public static final String JSON_PROPERTY_ROUTING_NUMBER = "routingNumber"; private String routingNumber; @@ -120,7 +120,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.USLOCAL; + private TypeEnum type; public USLocalAccountIdentification() { } diff --git a/src/main/java/com/adyen/model/balanceplatform/UpdateSweepConfigurationV2.java b/src/main/java/com/adyen/model/balanceplatform/UpdateSweepConfigurationV2.java index d1ca9e296..1a8afe1fe 100644 --- a/src/main/java/com/adyen/model/balanceplatform/UpdateSweepConfigurationV2.java +++ b/src/main/java/com/adyen/model/balanceplatform/UpdateSweepConfigurationV2.java @@ -302,7 +302,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.PUSH; + private TypeEnum type; public UpdateSweepConfigurationV2() { } diff --git a/src/main/java/com/adyen/model/checkout/AchDetails.java b/src/main/java/com/adyen/model/checkout/AchDetails.java index e52462743..a3a06e452 100644 --- a/src/main/java/com/adyen/model/checkout/AchDetails.java +++ b/src/main/java/com/adyen/model/checkout/AchDetails.java @@ -153,7 +153,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.ACH; + private TypeEnum type; public AchDetails() { } diff --git a/src/main/java/com/adyen/model/checkout/AfterpayDetails.java b/src/main/java/com/adyen/model/checkout/AfterpayDetails.java index c5906bcb3..53a1439d2 100644 --- a/src/main/java/com/adyen/model/checkout/AfterpayDetails.java +++ b/src/main/java/com/adyen/model/checkout/AfterpayDetails.java @@ -100,7 +100,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.AFTERPAY_DEFAULT; + private TypeEnum type; public AfterpayDetails() { } diff --git a/src/main/java/com/adyen/model/checkout/AmazonPayDetails.java b/src/main/java/com/adyen/model/checkout/AmazonPayDetails.java index 6c907d7d4..2f5d5b600 100644 --- a/src/main/java/com/adyen/model/checkout/AmazonPayDetails.java +++ b/src/main/java/com/adyen/model/checkout/AmazonPayDetails.java @@ -81,7 +81,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.AMAZONPAY; + private TypeEnum type; public AmazonPayDetails() { } diff --git a/src/main/java/com/adyen/model/checkout/AndroidPayDetails.java b/src/main/java/com/adyen/model/checkout/AndroidPayDetails.java index 9612521c8..1a90fe7f8 100644 --- a/src/main/java/com/adyen/model/checkout/AndroidPayDetails.java +++ b/src/main/java/com/adyen/model/checkout/AndroidPayDetails.java @@ -73,7 +73,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.ANDROIDPAY; + private TypeEnum type; public AndroidPayDetails() { } diff --git a/src/main/java/com/adyen/model/checkout/ApplePayDetails.java b/src/main/java/com/adyen/model/checkout/ApplePayDetails.java index 2c8c49ee8..960558c43 100644 --- a/src/main/java/com/adyen/model/checkout/ApplePayDetails.java +++ b/src/main/java/com/adyen/model/checkout/ApplePayDetails.java @@ -125,7 +125,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.APPLEPAY; + private TypeEnum type; public ApplePayDetails() { } diff --git a/src/main/java/com/adyen/model/checkout/ApplePayDonations.java b/src/main/java/com/adyen/model/checkout/ApplePayDonations.java index f751c1ecb..b00b718ae 100644 --- a/src/main/java/com/adyen/model/checkout/ApplePayDonations.java +++ b/src/main/java/com/adyen/model/checkout/ApplePayDonations.java @@ -125,7 +125,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.APPLEPAY; + private TypeEnum type; public ApplePayDonations() { } diff --git a/src/main/java/com/adyen/model/checkout/AuthenticationData.java b/src/main/java/com/adyen/model/checkout/AuthenticationData.java index 785a9d360..a0601cb9f 100644 --- a/src/main/java/com/adyen/model/checkout/AuthenticationData.java +++ b/src/main/java/com/adyen/model/checkout/AuthenticationData.java @@ -77,7 +77,7 @@ public static AttemptAuthenticationEnum fromValue(String value) { private AttemptAuthenticationEnum attemptAuthentication; public static final String JSON_PROPERTY_AUTHENTICATION_ONLY = "authenticationOnly"; - private Boolean authenticationOnly = false; + private Boolean authenticationOnly; public static final String JSON_PROPERTY_THREE_D_S_REQUEST_DATA = "threeDSRequestData"; private ThreeDSRequestData threeDSRequestData; diff --git a/src/main/java/com/adyen/model/checkout/BacsDirectDebitDetails.java b/src/main/java/com/adyen/model/checkout/BacsDirectDebitDetails.java index f172ea6fb..ad5d4e251 100644 --- a/src/main/java/com/adyen/model/checkout/BacsDirectDebitDetails.java +++ b/src/main/java/com/adyen/model/checkout/BacsDirectDebitDetails.java @@ -94,7 +94,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.DIRECTDEBIT_GB; + private TypeEnum type; public BacsDirectDebitDetails() { } diff --git a/src/main/java/com/adyen/model/checkout/BalanceCheckRequest.java b/src/main/java/com/adyen/model/checkout/BalanceCheckRequest.java index 4806bdc20..698a3a015 100644 --- a/src/main/java/com/adyen/model/checkout/BalanceCheckRequest.java +++ b/src/main/java/com/adyen/model/checkout/BalanceCheckRequest.java @@ -297,7 +297,7 @@ public static ShopperInteractionEnum fromValue(String value) { public static final String JSON_PROPERTY_THREE_D_S_AUTHENTICATION_ONLY = "threeDSAuthenticationOnly"; @Deprecated - private Boolean threeDSAuthenticationOnly = false; + private Boolean threeDSAuthenticationOnly; public static final String JSON_PROPERTY_TOTALS_GROUP = "totalsGroup"; private String totalsGroup; @@ -1461,10 +1461,10 @@ public BalanceCheckRequest addSplitsItem(Split splitsItem) { } /** - * An array of objects specifying how the payment should be split when using [Adyen for Platforms](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information) or [Issuing](https://docs.adyen.com/issuing/add-manage-funds#split). + * An array of objects specifying how the payment should be split when using either Adyen for Platforms for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms]((https://docs.adyen.com/platforms/split-payments), or standalone [Issuing](https://docs.adyen.com/issuing/add-manage-funds#split). * @return splits **/ - @ApiModelProperty(value = "An array of objects specifying how the payment should be split when using [Adyen for Platforms](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information) or [Issuing](https://docs.adyen.com/issuing/add-manage-funds#split).") + @ApiModelProperty(value = "An array of objects specifying how the payment should be split when using either Adyen for Platforms for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms]((https://docs.adyen.com/platforms/split-payments), or standalone [Issuing](https://docs.adyen.com/issuing/add-manage-funds#split).") @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -1474,7 +1474,7 @@ public List getSplits() { /** - * An array of objects specifying how the payment should be split when using [Adyen for Platforms](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information) or [Issuing](https://docs.adyen.com/issuing/add-manage-funds#split). + * An array of objects specifying how the payment should be split when using either Adyen for Platforms for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms]((https://docs.adyen.com/platforms/split-payments), or standalone [Issuing](https://docs.adyen.com/issuing/add-manage-funds#split). * * @param splits */ @@ -1491,10 +1491,10 @@ public BalanceCheckRequest store(String store) { } /** - * Required for Adyen for Platforms integrations if you have a platform setup. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners#route-payments)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/marketplaces-and-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. + * Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. * @return store **/ - @ApiModelProperty(value = "Required for Adyen for Platforms integrations if you have a platform setup. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners#route-payments)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/marketplaces-and-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment.") + @ApiModelProperty(value = "Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment.") @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -1504,7 +1504,7 @@ public String getStore() { /** - * Required for Adyen for Platforms integrations if you have a platform setup. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners#route-payments)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/marketplaces-and-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. + * Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. * * @param store */ diff --git a/src/main/java/com/adyen/model/checkout/BrowserInfo.java b/src/main/java/com/adyen/model/checkout/BrowserInfo.java index ed471cf33..43cd4b77f 100644 --- a/src/main/java/com/adyen/model/checkout/BrowserInfo.java +++ b/src/main/java/com/adyen/model/checkout/BrowserInfo.java @@ -53,7 +53,7 @@ public class BrowserInfo { private Boolean javaEnabled; public static final String JSON_PROPERTY_JAVA_SCRIPT_ENABLED = "javaScriptEnabled"; - private Boolean javaScriptEnabled = true; + private Boolean javaScriptEnabled; public static final String JSON_PROPERTY_LANGUAGE = "language"; private String language; diff --git a/src/main/java/com/adyen/model/checkout/CardDetails.java b/src/main/java/com/adyen/model/checkout/CardDetails.java index 9c1909626..5b247fc27 100644 --- a/src/main/java/com/adyen/model/checkout/CardDetails.java +++ b/src/main/java/com/adyen/model/checkout/CardDetails.java @@ -186,7 +186,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.SCHEME; + private TypeEnum type; public CardDetails() { } diff --git a/src/main/java/com/adyen/model/checkout/CardDonations.java b/src/main/java/com/adyen/model/checkout/CardDonations.java index 890080851..14f6226a3 100644 --- a/src/main/java/com/adyen/model/checkout/CardDonations.java +++ b/src/main/java/com/adyen/model/checkout/CardDonations.java @@ -186,7 +186,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.SCHEME; + private TypeEnum type; public CardDonations() { } diff --git a/src/main/java/com/adyen/model/checkout/CellulantDetails.java b/src/main/java/com/adyen/model/checkout/CellulantDetails.java index 92c5f4fd6..3c3ab0aee 100644 --- a/src/main/java/com/adyen/model/checkout/CellulantDetails.java +++ b/src/main/java/com/adyen/model/checkout/CellulantDetails.java @@ -77,7 +77,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.CELLULANT; + private TypeEnum type; public CellulantDetails() { } diff --git a/src/main/java/com/adyen/model/checkout/CreateCheckoutSessionRequest.java b/src/main/java/com/adyen/model/checkout/CreateCheckoutSessionRequest.java index a33f55b69..7ba26bf11 100644 --- a/src/main/java/com/adyen/model/checkout/CreateCheckoutSessionRequest.java +++ b/src/main/java/com/adyen/model/checkout/CreateCheckoutSessionRequest.java @@ -276,7 +276,7 @@ public static ModeEnum fromValue(String value) { } public static final String JSON_PROPERTY_MODE = "mode"; - private ModeEnum mode = ModeEnum.EMBEDDED; + private ModeEnum mode; public static final String JSON_PROPERTY_MPI_DATA = "mpiData"; private ThreeDSecureData mpiData; @@ -415,7 +415,7 @@ public static ShopperInteractionEnum fromValue(String value) { private String socialSecurityNumber; public static final String JSON_PROPERTY_SPLIT_CARD_FUNDING_SOURCES = "splitCardFundingSources"; - private Boolean splitCardFundingSources = false; + private Boolean splitCardFundingSources; public static final String JSON_PROPERTY_SPLITS = "splits"; private List splits = null; @@ -474,7 +474,7 @@ public static StorePaymentMethodModeEnum fromValue(String value) { public static final String JSON_PROPERTY_THREE_D_S_AUTHENTICATION_ONLY = "threeDSAuthenticationOnly"; @Deprecated - private Boolean threeDSAuthenticationOnly = false; + private Boolean threeDSAuthenticationOnly; public static final String JSON_PROPERTY_TRUSTED_SHOPPER = "trustedShopper"; private Boolean trustedShopper; @@ -2074,10 +2074,10 @@ public CreateCheckoutSessionRequest addSplitsItem(Split splitsItem) { } /** - * An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/marketplaces-and-platforms/classic/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). + * An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/platforms/processing-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/classic-platforms/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). * @return splits **/ - @ApiModelProperty(value = "An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/marketplaces-and-platforms/classic/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split).") + @ApiModelProperty(value = "An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/platforms/processing-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/classic-platforms/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split).") @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -2087,7 +2087,7 @@ public List getSplits() { /** - * An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/marketplaces-and-platforms/classic/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). + * An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/platforms/processing-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/classic-platforms/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). * * @param splits */ @@ -2104,10 +2104,10 @@ public CreateCheckoutSessionRequest store(String store) { } /** - * Required for Adyen for Platforms integrations if you have a platform setup. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners#route-payments)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/marketplaces-and-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. + * Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. * @return store **/ - @ApiModelProperty(value = "Required for Adyen for Platforms integrations if you have a platform setup. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners#route-payments)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/marketplaces-and-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment.") + @ApiModelProperty(value = "Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment.") @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -2117,7 +2117,7 @@ public String getStore() { /** - * Required for Adyen for Platforms integrations if you have a platform setup. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners#route-payments)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/marketplaces-and-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. + * Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. * * @param store */ diff --git a/src/main/java/com/adyen/model/checkout/CreateCheckoutSessionResponse.java b/src/main/java/com/adyen/model/checkout/CreateCheckoutSessionResponse.java index aae8dc2e3..31fa1776f 100644 --- a/src/main/java/com/adyen/model/checkout/CreateCheckoutSessionResponse.java +++ b/src/main/java/com/adyen/model/checkout/CreateCheckoutSessionResponse.java @@ -281,7 +281,7 @@ public static ModeEnum fromValue(String value) { } public static final String JSON_PROPERTY_MODE = "mode"; - private ModeEnum mode = ModeEnum.EMBEDDED; + private ModeEnum mode; public static final String JSON_PROPERTY_MPI_DATA = "mpiData"; private ThreeDSecureData mpiData; @@ -423,7 +423,7 @@ public static ShopperInteractionEnum fromValue(String value) { private String socialSecurityNumber; public static final String JSON_PROPERTY_SPLIT_CARD_FUNDING_SOURCES = "splitCardFundingSources"; - private Boolean splitCardFundingSources = false; + private Boolean splitCardFundingSources; public static final String JSON_PROPERTY_SPLITS = "splits"; private List splits = null; @@ -482,7 +482,7 @@ public static StorePaymentMethodModeEnum fromValue(String value) { public static final String JSON_PROPERTY_THREE_D_S_AUTHENTICATION_ONLY = "threeDSAuthenticationOnly"; @Deprecated - private Boolean threeDSAuthenticationOnly = false; + private Boolean threeDSAuthenticationOnly; public static final String JSON_PROPERTY_TRUSTED_SHOPPER = "trustedShopper"; private Boolean trustedShopper; @@ -2145,10 +2145,10 @@ public CreateCheckoutSessionResponse addSplitsItem(Split splitsItem) { } /** - * An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/marketplaces-and-platforms/classic/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). + * An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/platforms/processing-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/classic-platforms/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). * @return splits **/ - @ApiModelProperty(value = "An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/marketplaces-and-platforms/classic/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split).") + @ApiModelProperty(value = "An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/platforms/processing-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/classic-platforms/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split).") @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -2158,7 +2158,7 @@ public List getSplits() { /** - * An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/marketplaces-and-platforms/classic/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). + * An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/platforms/processing-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/classic-platforms/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). * * @param splits */ @@ -2175,10 +2175,10 @@ public CreateCheckoutSessionResponse store(String store) { } /** - * Required for Adyen for Platforms integrations if you have a platform setup. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners#route-payments)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/marketplaces-and-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. + * Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. * @return store **/ - @ApiModelProperty(value = "Required for Adyen for Platforms integrations if you have a platform setup. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners#route-payments)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/marketplaces-and-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment.") + @ApiModelProperty(value = "Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment.") @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -2188,7 +2188,7 @@ public String getStore() { /** - * Required for Adyen for Platforms integrations if you have a platform setup. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners#route-payments)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/marketplaces-and-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. + * Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. * * @param store */ diff --git a/src/main/java/com/adyen/model/checkout/DetailsRequestAuthenticationData.java b/src/main/java/com/adyen/model/checkout/DetailsRequestAuthenticationData.java index 1441620de..672bd0a15 100644 --- a/src/main/java/com/adyen/model/checkout/DetailsRequestAuthenticationData.java +++ b/src/main/java/com/adyen/model/checkout/DetailsRequestAuthenticationData.java @@ -36,7 +36,7 @@ public class DetailsRequestAuthenticationData { public static final String JSON_PROPERTY_AUTHENTICATION_ONLY = "authenticationOnly"; - private Boolean authenticationOnly = false; + private Boolean authenticationOnly; public DetailsRequestAuthenticationData() { } diff --git a/src/main/java/com/adyen/model/checkout/DeviceRenderOptions.java b/src/main/java/com/adyen/model/checkout/DeviceRenderOptions.java index 36fbb2b2f..4d76fd71d 100644 --- a/src/main/java/com/adyen/model/checkout/DeviceRenderOptions.java +++ b/src/main/java/com/adyen/model/checkout/DeviceRenderOptions.java @@ -76,7 +76,7 @@ public static SdkInterfaceEnum fromValue(String value) { } public static final String JSON_PROPERTY_SDK_INTERFACE = "sdkInterface"; - private SdkInterfaceEnum sdkInterface = SdkInterfaceEnum.BOTH; + private SdkInterfaceEnum sdkInterface; /** * Gets or Sets sdkUiType diff --git a/src/main/java/com/adyen/model/checkout/DonationPaymentRequest.java b/src/main/java/com/adyen/model/checkout/DonationPaymentRequest.java index bf44904cc..86c150d18 100644 --- a/src/main/java/com/adyen/model/checkout/DonationPaymentRequest.java +++ b/src/main/java/com/adyen/model/checkout/DonationPaymentRequest.java @@ -329,7 +329,7 @@ public static ShopperInteractionEnum fromValue(String value) { public static final String JSON_PROPERTY_THREE_D_S_AUTHENTICATION_ONLY = "threeDSAuthenticationOnly"; @Deprecated - private Boolean threeDSAuthenticationOnly = false; + private Boolean threeDSAuthenticationOnly; public DonationPaymentRequest() { } diff --git a/src/main/java/com/adyen/model/checkout/DotpayDetails.java b/src/main/java/com/adyen/model/checkout/DotpayDetails.java index d33fe6e09..372699f1d 100644 --- a/src/main/java/com/adyen/model/checkout/DotpayDetails.java +++ b/src/main/java/com/adyen/model/checkout/DotpayDetails.java @@ -77,7 +77,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.DOTPAY; + private TypeEnum type; public DotpayDetails() { } diff --git a/src/main/java/com/adyen/model/checkout/GiropayDetails.java b/src/main/java/com/adyen/model/checkout/GiropayDetails.java index b0bef1d6d..fae447a0d 100644 --- a/src/main/java/com/adyen/model/checkout/GiropayDetails.java +++ b/src/main/java/com/adyen/model/checkout/GiropayDetails.java @@ -82,7 +82,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.GIROPAY; + private TypeEnum type; public GiropayDetails() { } diff --git a/src/main/java/com/adyen/model/checkout/GooglePayDetails.java b/src/main/java/com/adyen/model/checkout/GooglePayDetails.java index ea15209ef..938955bb1 100644 --- a/src/main/java/com/adyen/model/checkout/GooglePayDetails.java +++ b/src/main/java/com/adyen/model/checkout/GooglePayDetails.java @@ -129,7 +129,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.GOOGLEPAY; + private TypeEnum type; public GooglePayDetails() { } diff --git a/src/main/java/com/adyen/model/checkout/GooglePayDonations.java b/src/main/java/com/adyen/model/checkout/GooglePayDonations.java index 2ddfae839..5865c35b3 100644 --- a/src/main/java/com/adyen/model/checkout/GooglePayDonations.java +++ b/src/main/java/com/adyen/model/checkout/GooglePayDonations.java @@ -129,7 +129,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.GOOGLEPAY; + private TypeEnum type; public GooglePayDonations() { } diff --git a/src/main/java/com/adyen/model/checkout/IdealDetails.java b/src/main/java/com/adyen/model/checkout/IdealDetails.java index 21c0b58e4..da92ef1d5 100644 --- a/src/main/java/com/adyen/model/checkout/IdealDetails.java +++ b/src/main/java/com/adyen/model/checkout/IdealDetails.java @@ -86,7 +86,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.IDEAL; + private TypeEnum type; public IdealDetails() { } diff --git a/src/main/java/com/adyen/model/checkout/IdealDonations.java b/src/main/java/com/adyen/model/checkout/IdealDonations.java index dec8ab082..20c6dc3ce 100644 --- a/src/main/java/com/adyen/model/checkout/IdealDonations.java +++ b/src/main/java/com/adyen/model/checkout/IdealDonations.java @@ -86,7 +86,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.IDEAL; + private TypeEnum type; public IdealDonations() { } diff --git a/src/main/java/com/adyen/model/checkout/KlarnaDetails.java b/src/main/java/com/adyen/model/checkout/KlarnaDetails.java index ca03ace96..96315c402 100644 --- a/src/main/java/com/adyen/model/checkout/KlarnaDetails.java +++ b/src/main/java/com/adyen/model/checkout/KlarnaDetails.java @@ -110,7 +110,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.KLARNA; + private TypeEnum type; public KlarnaDetails() { } diff --git a/src/main/java/com/adyen/model/checkout/MasterpassDetails.java b/src/main/java/com/adyen/model/checkout/MasterpassDetails.java index 99ba3e018..1acfdc765 100644 --- a/src/main/java/com/adyen/model/checkout/MasterpassDetails.java +++ b/src/main/java/com/adyen/model/checkout/MasterpassDetails.java @@ -116,7 +116,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.MASTERPASS; + private TypeEnum type; public MasterpassDetails() { } diff --git a/src/main/java/com/adyen/model/checkout/MbwayDetails.java b/src/main/java/com/adyen/model/checkout/MbwayDetails.java index 371c5e661..67f45a090 100644 --- a/src/main/java/com/adyen/model/checkout/MbwayDetails.java +++ b/src/main/java/com/adyen/model/checkout/MbwayDetails.java @@ -81,7 +81,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.MBWAY; + private TypeEnum type; public MbwayDetails() { } diff --git a/src/main/java/com/adyen/model/checkout/MobilePayDetails.java b/src/main/java/com/adyen/model/checkout/MobilePayDetails.java index d38e6869d..1434f5996 100644 --- a/src/main/java/com/adyen/model/checkout/MobilePayDetails.java +++ b/src/main/java/com/adyen/model/checkout/MobilePayDetails.java @@ -73,7 +73,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.MOBILEPAY; + private TypeEnum type; public MobilePayDetails() { } diff --git a/src/main/java/com/adyen/model/checkout/OpenInvoiceDetails.java b/src/main/java/com/adyen/model/checkout/OpenInvoiceDetails.java index a262d38e7..6294b1d70 100644 --- a/src/main/java/com/adyen/model/checkout/OpenInvoiceDetails.java +++ b/src/main/java/com/adyen/model/checkout/OpenInvoiceDetails.java @@ -98,7 +98,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.OPENINVOICE; + private TypeEnum type; public OpenInvoiceDetails() { } diff --git a/src/main/java/com/adyen/model/checkout/PayPalDetails.java b/src/main/java/com/adyen/model/checkout/PayPalDetails.java index a2881e1f9..b7c9cd183 100644 --- a/src/main/java/com/adyen/model/checkout/PayPalDetails.java +++ b/src/main/java/com/adyen/model/checkout/PayPalDetails.java @@ -137,7 +137,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.PAYPAL; + private TypeEnum type; public PayPalDetails() { } diff --git a/src/main/java/com/adyen/model/checkout/PayUUpiDetails.java b/src/main/java/com/adyen/model/checkout/PayUUpiDetails.java index 3e408ce36..24f2e0d57 100644 --- a/src/main/java/com/adyen/model/checkout/PayUUpiDetails.java +++ b/src/main/java/com/adyen/model/checkout/PayUUpiDetails.java @@ -87,7 +87,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.PAYU_IN_UPI; + private TypeEnum type; public static final String JSON_PROPERTY_VIRTUAL_PAYMENT_ADDRESS = "virtualPaymentAddress"; private String virtualPaymentAddress; diff --git a/src/main/java/com/adyen/model/checkout/PayWithGoogleDetails.java b/src/main/java/com/adyen/model/checkout/PayWithGoogleDetails.java index fee53b21e..9ab8ed3f2 100644 --- a/src/main/java/com/adyen/model/checkout/PayWithGoogleDetails.java +++ b/src/main/java/com/adyen/model/checkout/PayWithGoogleDetails.java @@ -125,7 +125,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.PAYWITHGOOGLE; + private TypeEnum type; public PayWithGoogleDetails() { } diff --git a/src/main/java/com/adyen/model/checkout/PayWithGoogleDonations.java b/src/main/java/com/adyen/model/checkout/PayWithGoogleDonations.java index da812065a..a4adf9f54 100644 --- a/src/main/java/com/adyen/model/checkout/PayWithGoogleDonations.java +++ b/src/main/java/com/adyen/model/checkout/PayWithGoogleDonations.java @@ -125,7 +125,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.PAYWITHGOOGLE; + private TypeEnum type; public PayWithGoogleDonations() { } diff --git a/src/main/java/com/adyen/model/checkout/PaymentAmountUpdateRequest.java b/src/main/java/com/adyen/model/checkout/PaymentAmountUpdateRequest.java index b4a8a48bb..b52251d3a 100644 --- a/src/main/java/com/adyen/model/checkout/PaymentAmountUpdateRequest.java +++ b/src/main/java/com/adyen/model/checkout/PaymentAmountUpdateRequest.java @@ -310,10 +310,10 @@ public PaymentAmountUpdateRequest addSplitsItem(Split splitsItem) { } /** - * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information). + * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to process payments for [marketplaces](https://docs.adyen.com/marketplaces/process-payments) or [platforms](https://docs.adyen.com/platforms/process-payments). * @return splits **/ - @ApiModelProperty(value = "An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information).") + @ApiModelProperty(value = "An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to process payments for [marketplaces](https://docs.adyen.com/marketplaces/process-payments) or [platforms](https://docs.adyen.com/platforms/process-payments).") @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -323,7 +323,7 @@ public List getSplits() { /** - * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information). + * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to process payments for [marketplaces](https://docs.adyen.com/marketplaces/process-payments) or [platforms](https://docs.adyen.com/platforms/process-payments). * * @param splits */ diff --git a/src/main/java/com/adyen/model/checkout/PaymentAmountUpdateResponse.java b/src/main/java/com/adyen/model/checkout/PaymentAmountUpdateResponse.java index bc8527e3c..970ab0cfa 100644 --- a/src/main/java/com/adyen/model/checkout/PaymentAmountUpdateResponse.java +++ b/src/main/java/com/adyen/model/checkout/PaymentAmountUpdateResponse.java @@ -380,10 +380,10 @@ public PaymentAmountUpdateResponse addSplitsItem(Split splitsItem) { } /** - * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information). + * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to process payments for [marketplaces](https://docs.adyen.com/marketplaces/process-payments) or [platforms](https://docs.adyen.com/platforms/process-payments). * @return splits **/ - @ApiModelProperty(value = "An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information).") + @ApiModelProperty(value = "An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to process payments for [marketplaces](https://docs.adyen.com/marketplaces/process-payments) or [platforms](https://docs.adyen.com/platforms/process-payments).") @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -393,7 +393,7 @@ public List getSplits() { /** - * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information). + * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to process payments for [marketplaces](https://docs.adyen.com/marketplaces/process-payments) or [platforms](https://docs.adyen.com/platforms/process-payments). * * @param splits */ diff --git a/src/main/java/com/adyen/model/checkout/PaymentCaptureRequest.java b/src/main/java/com/adyen/model/checkout/PaymentCaptureRequest.java index e1a7f795e..469fa72e3 100644 --- a/src/main/java/com/adyen/model/checkout/PaymentCaptureRequest.java +++ b/src/main/java/com/adyen/model/checkout/PaymentCaptureRequest.java @@ -279,10 +279,10 @@ public PaymentCaptureRequest addSplitsItem(Split splitsItem) { } /** - * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information). + * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to process payments for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms](https://docs.adyen.com/platforms/online-payments/split-payments/). * @return splits **/ - @ApiModelProperty(value = "An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information).") + @ApiModelProperty(value = "An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to process payments for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms](https://docs.adyen.com/platforms/online-payments/split-payments/).") @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -292,7 +292,7 @@ public List getSplits() { /** - * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information). + * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to process payments for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms](https://docs.adyen.com/platforms/online-payments/split-payments/). * * @param splits */ diff --git a/src/main/java/com/adyen/model/checkout/PaymentCaptureResponse.java b/src/main/java/com/adyen/model/checkout/PaymentCaptureResponse.java index 48183a59c..06faaf13c 100644 --- a/src/main/java/com/adyen/model/checkout/PaymentCaptureResponse.java +++ b/src/main/java/com/adyen/model/checkout/PaymentCaptureResponse.java @@ -349,10 +349,10 @@ public PaymentCaptureResponse addSplitsItem(Split splitsItem) { } /** - * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information). + * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to process payments for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms](https://docs.adyen.com/platforms/online-payments/split-payments/). * @return splits **/ - @ApiModelProperty(value = "An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information).") + @ApiModelProperty(value = "An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to process payments for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms](https://docs.adyen.com/platforms/online-payments/split-payments/).") @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -362,7 +362,7 @@ public List getSplits() { /** - * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information). + * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to process payments for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms](https://docs.adyen.com/platforms/online-payments/split-payments/). * * @param splits */ diff --git a/src/main/java/com/adyen/model/checkout/PaymentCompletionDetails.java b/src/main/java/com/adyen/model/checkout/PaymentCompletionDetails.java index 6c5ad4f41..07ee20ce9 100644 --- a/src/main/java/com/adyen/model/checkout/PaymentCompletionDetails.java +++ b/src/main/java/com/adyen/model/checkout/PaymentCompletionDetails.java @@ -48,7 +48,8 @@ PaymentCompletionDetails.JSON_PROPERTY_RESULT_CODE, PaymentCompletionDetails.JSON_PROPERTY_THREE_D_S_RESULT, PaymentCompletionDetails.JSON_PROPERTY_THREEDS2_CHALLENGE_RESULT, - PaymentCompletionDetails.JSON_PROPERTY_THREEDS2_FINGERPRINT + PaymentCompletionDetails.JSON_PROPERTY_THREEDS2_FINGERPRINT, + PaymentCompletionDetails.JSON_PROPERTY_VAULT_TOKEN }) public class PaymentCompletionDetails { @@ -106,6 +107,9 @@ public class PaymentCompletionDetails { public static final String JSON_PROPERTY_THREEDS2_FINGERPRINT = "threeds2.fingerprint"; private String threeds2Fingerprint; + public static final String JSON_PROPERTY_VAULT_TOKEN = "vaultToken"; + private String vaultToken; + public PaymentCompletionDetails() { } @@ -649,6 +653,36 @@ public void setThreeds2Fingerprint(String threeds2Fingerprint) { } + public PaymentCompletionDetails vaultToken(String vaultToken) { + this.vaultToken = vaultToken; + return this; + } + + /** + * PayPalv2-generated token for recurring payments. + * @return vaultToken + **/ + @ApiModelProperty(value = "PayPalv2-generated token for recurring payments.") + @JsonProperty(JSON_PROPERTY_VAULT_TOKEN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getVaultToken() { + return vaultToken; + } + + + /** + * PayPalv2-generated token for recurring payments. + * + * @param vaultToken + */ + @JsonProperty(JSON_PROPERTY_VAULT_TOKEN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setVaultToken(String vaultToken) { + this.vaultToken = vaultToken; + } + + /** * Return true if this PaymentCompletionDetails object is equal to o. */ @@ -678,12 +712,13 @@ public boolean equals(Object o) { Objects.equals(this.resultCode, paymentCompletionDetails.resultCode) && Objects.equals(this.threeDSResult, paymentCompletionDetails.threeDSResult) && Objects.equals(this.threeds2ChallengeResult, paymentCompletionDetails.threeds2ChallengeResult) && - Objects.equals(this.threeds2Fingerprint, paymentCompletionDetails.threeds2Fingerprint); + Objects.equals(this.threeds2Fingerprint, paymentCompletionDetails.threeds2Fingerprint) && + Objects.equals(this.vaultToken, paymentCompletionDetails.vaultToken); } @Override public int hashCode() { - return Objects.hash(MD, paReq, paRes, authorizationToken, billingToken, cupsecureplusSmscode, facilitatorAccessToken, oneTimePasscode, orderID, payerID, payload, paymentID, paymentStatus, redirectResult, resultCode, threeDSResult, threeds2ChallengeResult, threeds2Fingerprint); + return Objects.hash(MD, paReq, paRes, authorizationToken, billingToken, cupsecureplusSmscode, facilitatorAccessToken, oneTimePasscode, orderID, payerID, payload, paymentID, paymentStatus, redirectResult, resultCode, threeDSResult, threeds2ChallengeResult, threeds2Fingerprint, vaultToken); } @Override @@ -708,6 +743,7 @@ public String toString() { sb.append(" threeDSResult: ").append(toIndentedString(threeDSResult)).append("\n"); sb.append(" threeds2ChallengeResult: ").append(toIndentedString(threeds2ChallengeResult)).append("\n"); sb.append(" threeds2Fingerprint: ").append(toIndentedString(threeds2Fingerprint)).append("\n"); + sb.append(" vaultToken: ").append(toIndentedString(vaultToken)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/com/adyen/model/checkout/PaymentLinkRequest.java b/src/main/java/com/adyen/model/checkout/PaymentLinkRequest.java index 40491c033..b367a02a0 100644 --- a/src/main/java/com/adyen/model/checkout/PaymentLinkRequest.java +++ b/src/main/java/com/adyen/model/checkout/PaymentLinkRequest.java @@ -255,13 +255,13 @@ public static RequiredShopperFieldsEnum fromValue(String value) { private String shopperStatement; public static final String JSON_PROPERTY_SHOW_REMOVE_PAYMENT_METHOD_BUTTON = "showRemovePaymentMethodButton"; - private Boolean showRemovePaymentMethodButton = true; + private Boolean showRemovePaymentMethodButton; public static final String JSON_PROPERTY_SOCIAL_SECURITY_NUMBER = "socialSecurityNumber"; private String socialSecurityNumber; public static final String JSON_PROPERTY_SPLIT_CARD_FUNDING_SOURCES = "splitCardFundingSources"; - private Boolean splitCardFundingSources = false; + private Boolean splitCardFundingSources; public static final String JSON_PROPERTY_SPLITS = "splits"; private List splits = null; @@ -1370,10 +1370,10 @@ public PaymentLinkRequest addSplitsItem(Split splitsItem) { } /** - * An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/marketplaces-and-platforms/classic/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). + * An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/platforms/processing-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/classic-platforms/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). * @return splits **/ - @ApiModelProperty(value = "An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/marketplaces-and-platforms/classic/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split).") + @ApiModelProperty(value = "An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/platforms/processing-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/classic-platforms/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split).") @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -1383,7 +1383,7 @@ public List getSplits() { /** - * An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/marketplaces-and-platforms/classic/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). + * An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/platforms/processing-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/classic-platforms/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). * * @param splits */ diff --git a/src/main/java/com/adyen/model/checkout/PaymentLinkResponse.java b/src/main/java/com/adyen/model/checkout/PaymentLinkResponse.java index 30b16a9d6..3b8756fdb 100644 --- a/src/main/java/com/adyen/model/checkout/PaymentLinkResponse.java +++ b/src/main/java/com/adyen/model/checkout/PaymentLinkResponse.java @@ -262,13 +262,13 @@ public static RequiredShopperFieldsEnum fromValue(String value) { private String shopperStatement; public static final String JSON_PROPERTY_SHOW_REMOVE_PAYMENT_METHOD_BUTTON = "showRemovePaymentMethodButton"; - private Boolean showRemovePaymentMethodButton = true; + private Boolean showRemovePaymentMethodButton; public static final String JSON_PROPERTY_SOCIAL_SECURITY_NUMBER = "socialSecurityNumber"; private String socialSecurityNumber; public static final String JSON_PROPERTY_SPLIT_CARD_FUNDING_SOURCES = "splitCardFundingSources"; - private Boolean splitCardFundingSources = false; + private Boolean splitCardFundingSources; public static final String JSON_PROPERTY_SPLITS = "splits"; private List splits = null; @@ -1457,10 +1457,10 @@ public PaymentLinkResponse addSplitsItem(Split splitsItem) { } /** - * An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/marketplaces-and-platforms/classic/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). + * An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/platforms/processing-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/classic-platforms/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). * @return splits **/ - @ApiModelProperty(value = "An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/marketplaces-and-platforms/classic/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split).") + @ApiModelProperty(value = "An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/platforms/processing-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/classic-platforms/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split).") @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -1470,7 +1470,7 @@ public List getSplits() { /** - * An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/marketplaces-and-platforms/classic/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). + * An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/platforms/processing-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/classic-platforms/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). * * @param splits */ diff --git a/src/main/java/com/adyen/model/checkout/PaymentMethodIssuer.java b/src/main/java/com/adyen/model/checkout/PaymentMethodIssuer.java index 1219b4131..620e7cd93 100644 --- a/src/main/java/com/adyen/model/checkout/PaymentMethodIssuer.java +++ b/src/main/java/com/adyen/model/checkout/PaymentMethodIssuer.java @@ -38,7 +38,7 @@ public class PaymentMethodIssuer { public static final String JSON_PROPERTY_DISABLED = "disabled"; - private Boolean disabled = false; + private Boolean disabled; public static final String JSON_PROPERTY_ID = "id"; private String id; diff --git a/src/main/java/com/adyen/model/checkout/PaymentMethodToStore.java b/src/main/java/com/adyen/model/checkout/PaymentMethodToStore.java new file mode 100644 index 000000000..1b9c72b17 --- /dev/null +++ b/src/main/java/com/adyen/model/checkout/PaymentMethodToStore.java @@ -0,0 +1,457 @@ +/* + * Adyen Checkout API + * + * The version of the OpenAPI document: 71 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.adyen.model.checkout; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.core.JsonProcessingException; + + +/** + * PaymentMethodToStore + */ +@JsonPropertyOrder({ + PaymentMethodToStore.JSON_PROPERTY_BRAND, + PaymentMethodToStore.JSON_PROPERTY_CVC, + PaymentMethodToStore.JSON_PROPERTY_ENCRYPTED_CARD_NUMBER, + PaymentMethodToStore.JSON_PROPERTY_ENCRYPTED_EXPIRY_MONTH, + PaymentMethodToStore.JSON_PROPERTY_ENCRYPTED_EXPIRY_YEAR, + PaymentMethodToStore.JSON_PROPERTY_ENCRYPTED_SECURITY_CODE, + PaymentMethodToStore.JSON_PROPERTY_EXPIRY_MONTH, + PaymentMethodToStore.JSON_PROPERTY_EXPIRY_YEAR, + PaymentMethodToStore.JSON_PROPERTY_HOLDER_NAME, + PaymentMethodToStore.JSON_PROPERTY_NUMBER +}) + +public class PaymentMethodToStore { + public static final String JSON_PROPERTY_BRAND = "brand"; + private String brand; + + public static final String JSON_PROPERTY_CVC = "cvc"; + private String cvc; + + public static final String JSON_PROPERTY_ENCRYPTED_CARD_NUMBER = "encryptedCardNumber"; + private String encryptedCardNumber; + + public static final String JSON_PROPERTY_ENCRYPTED_EXPIRY_MONTH = "encryptedExpiryMonth"; + private String encryptedExpiryMonth; + + public static final String JSON_PROPERTY_ENCRYPTED_EXPIRY_YEAR = "encryptedExpiryYear"; + private String encryptedExpiryYear; + + public static final String JSON_PROPERTY_ENCRYPTED_SECURITY_CODE = "encryptedSecurityCode"; + private String encryptedSecurityCode; + + public static final String JSON_PROPERTY_EXPIRY_MONTH = "expiryMonth"; + private String expiryMonth; + + public static final String JSON_PROPERTY_EXPIRY_YEAR = "expiryYear"; + private String expiryYear; + + public static final String JSON_PROPERTY_HOLDER_NAME = "holderName"; + private String holderName; + + public static final String JSON_PROPERTY_NUMBER = "number"; + private String number; + + public PaymentMethodToStore() { + } + + public PaymentMethodToStore brand(String brand) { + this.brand = brand; + return this; + } + + /** + * Secondary brand of the card. For example: **plastix**, **hmclub**. + * @return brand + **/ + @ApiModelProperty(value = "Secondary brand of the card. For example: **plastix**, **hmclub**.") + @JsonProperty(JSON_PROPERTY_BRAND) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getBrand() { + return brand; + } + + + /** + * Secondary brand of the card. For example: **plastix**, **hmclub**. + * + * @param brand + */ + @JsonProperty(JSON_PROPERTY_BRAND) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBrand(String brand) { + this.brand = brand; + } + + + public PaymentMethodToStore cvc(String cvc) { + this.cvc = cvc; + return this; + } + + /** + * The card verification code. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). + * @return cvc + **/ + @ApiModelProperty(value = "The card verification code. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide).") + @JsonProperty(JSON_PROPERTY_CVC) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getCvc() { + return cvc; + } + + + /** + * The card verification code. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). + * + * @param cvc + */ + @JsonProperty(JSON_PROPERTY_CVC) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCvc(String cvc) { + this.cvc = cvc; + } + + + public PaymentMethodToStore encryptedCardNumber(String encryptedCardNumber) { + this.encryptedCardNumber = encryptedCardNumber; + return this; + } + + /** + * The encrypted card number. + * @return encryptedCardNumber + **/ + @ApiModelProperty(value = "The encrypted card number.") + @JsonProperty(JSON_PROPERTY_ENCRYPTED_CARD_NUMBER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getEncryptedCardNumber() { + return encryptedCardNumber; + } + + + /** + * The encrypted card number. + * + * @param encryptedCardNumber + */ + @JsonProperty(JSON_PROPERTY_ENCRYPTED_CARD_NUMBER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setEncryptedCardNumber(String encryptedCardNumber) { + this.encryptedCardNumber = encryptedCardNumber; + } + + + public PaymentMethodToStore encryptedExpiryMonth(String encryptedExpiryMonth) { + this.encryptedExpiryMonth = encryptedExpiryMonth; + return this; + } + + /** + * The encrypted card expiry month. + * @return encryptedExpiryMonth + **/ + @ApiModelProperty(value = "The encrypted card expiry month.") + @JsonProperty(JSON_PROPERTY_ENCRYPTED_EXPIRY_MONTH) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getEncryptedExpiryMonth() { + return encryptedExpiryMonth; + } + + + /** + * The encrypted card expiry month. + * + * @param encryptedExpiryMonth + */ + @JsonProperty(JSON_PROPERTY_ENCRYPTED_EXPIRY_MONTH) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setEncryptedExpiryMonth(String encryptedExpiryMonth) { + this.encryptedExpiryMonth = encryptedExpiryMonth; + } + + + public PaymentMethodToStore encryptedExpiryYear(String encryptedExpiryYear) { + this.encryptedExpiryYear = encryptedExpiryYear; + return this; + } + + /** + * The encrypted card expiry year. + * @return encryptedExpiryYear + **/ + @ApiModelProperty(value = "The encrypted card expiry year.") + @JsonProperty(JSON_PROPERTY_ENCRYPTED_EXPIRY_YEAR) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getEncryptedExpiryYear() { + return encryptedExpiryYear; + } + + + /** + * The encrypted card expiry year. + * + * @param encryptedExpiryYear + */ + @JsonProperty(JSON_PROPERTY_ENCRYPTED_EXPIRY_YEAR) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setEncryptedExpiryYear(String encryptedExpiryYear) { + this.encryptedExpiryYear = encryptedExpiryYear; + } + + + public PaymentMethodToStore encryptedSecurityCode(String encryptedSecurityCode) { + this.encryptedSecurityCode = encryptedSecurityCode; + return this; + } + + /** + * The encrypted card verification code. + * @return encryptedSecurityCode + **/ + @ApiModelProperty(value = "The encrypted card verification code.") + @JsonProperty(JSON_PROPERTY_ENCRYPTED_SECURITY_CODE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getEncryptedSecurityCode() { + return encryptedSecurityCode; + } + + + /** + * The encrypted card verification code. + * + * @param encryptedSecurityCode + */ + @JsonProperty(JSON_PROPERTY_ENCRYPTED_SECURITY_CODE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setEncryptedSecurityCode(String encryptedSecurityCode) { + this.encryptedSecurityCode = encryptedSecurityCode; + } + + + public PaymentMethodToStore expiryMonth(String expiryMonth) { + this.expiryMonth = expiryMonth; + return this; + } + + /** + * The card expiry month. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). + * @return expiryMonth + **/ + @ApiModelProperty(value = "The card expiry month. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide).") + @JsonProperty(JSON_PROPERTY_EXPIRY_MONTH) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getExpiryMonth() { + return expiryMonth; + } + + + /** + * The card expiry month. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). + * + * @param expiryMonth + */ + @JsonProperty(JSON_PROPERTY_EXPIRY_MONTH) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setExpiryMonth(String expiryMonth) { + this.expiryMonth = expiryMonth; + } + + + public PaymentMethodToStore expiryYear(String expiryYear) { + this.expiryYear = expiryYear; + return this; + } + + /** + * The card expiry year. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). + * @return expiryYear + **/ + @ApiModelProperty(value = "The card expiry year. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide).") + @JsonProperty(JSON_PROPERTY_EXPIRY_YEAR) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getExpiryYear() { + return expiryYear; + } + + + /** + * The card expiry year. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). + * + * @param expiryYear + */ + @JsonProperty(JSON_PROPERTY_EXPIRY_YEAR) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setExpiryYear(String expiryYear) { + this.expiryYear = expiryYear; + } + + + public PaymentMethodToStore holderName(String holderName) { + this.holderName = holderName; + return this; + } + + /** + * The name of the card holder. + * @return holderName + **/ + @ApiModelProperty(value = "The name of the card holder.") + @JsonProperty(JSON_PROPERTY_HOLDER_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getHolderName() { + return holderName; + } + + + /** + * The name of the card holder. + * + * @param holderName + */ + @JsonProperty(JSON_PROPERTY_HOLDER_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setHolderName(String holderName) { + this.holderName = holderName; + } + + + public PaymentMethodToStore number(String number) { + this.number = number; + return this; + } + + /** + * The card number. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). + * @return number + **/ + @ApiModelProperty(value = "The card number. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide).") + @JsonProperty(JSON_PROPERTY_NUMBER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getNumber() { + return number; + } + + + /** + * The card number. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). + * + * @param number + */ + @JsonProperty(JSON_PROPERTY_NUMBER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setNumber(String number) { + this.number = number; + } + + + /** + * Return true if this PaymentMethodToStore object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PaymentMethodToStore paymentMethodToStore = (PaymentMethodToStore) o; + return Objects.equals(this.brand, paymentMethodToStore.brand) && + Objects.equals(this.cvc, paymentMethodToStore.cvc) && + Objects.equals(this.encryptedCardNumber, paymentMethodToStore.encryptedCardNumber) && + Objects.equals(this.encryptedExpiryMonth, paymentMethodToStore.encryptedExpiryMonth) && + Objects.equals(this.encryptedExpiryYear, paymentMethodToStore.encryptedExpiryYear) && + Objects.equals(this.encryptedSecurityCode, paymentMethodToStore.encryptedSecurityCode) && + Objects.equals(this.expiryMonth, paymentMethodToStore.expiryMonth) && + Objects.equals(this.expiryYear, paymentMethodToStore.expiryYear) && + Objects.equals(this.holderName, paymentMethodToStore.holderName) && + Objects.equals(this.number, paymentMethodToStore.number); + } + + @Override + public int hashCode() { + return Objects.hash(brand, cvc, encryptedCardNumber, encryptedExpiryMonth, encryptedExpiryYear, encryptedSecurityCode, expiryMonth, expiryYear, holderName, number); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PaymentMethodToStore {\n"); + sb.append(" brand: ").append(toIndentedString(brand)).append("\n"); + sb.append(" cvc: ").append(toIndentedString(cvc)).append("\n"); + sb.append(" encryptedCardNumber: ").append(toIndentedString(encryptedCardNumber)).append("\n"); + sb.append(" encryptedExpiryMonth: ").append(toIndentedString(encryptedExpiryMonth)).append("\n"); + sb.append(" encryptedExpiryYear: ").append(toIndentedString(encryptedExpiryYear)).append("\n"); + sb.append(" encryptedSecurityCode: ").append(toIndentedString(encryptedSecurityCode)).append("\n"); + sb.append(" expiryMonth: ").append(toIndentedString(expiryMonth)).append("\n"); + sb.append(" expiryYear: ").append(toIndentedString(expiryYear)).append("\n"); + sb.append(" holderName: ").append(toIndentedString(holderName)).append("\n"); + sb.append(" number: ").append(toIndentedString(number)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +/** + * Create an instance of PaymentMethodToStore given an JSON string + * + * @param jsonString JSON string + * @return An instance of PaymentMethodToStore + * @throws JsonProcessingException if the JSON string is invalid with respect to PaymentMethodToStore + */ + public static PaymentMethodToStore fromJson(String jsonString) throws JsonProcessingException { + return JSON.getMapper().readValue(jsonString, PaymentMethodToStore.class); + } +/** + * Convert an instance of PaymentMethodToStore to an JSON string + * + * @return JSON string + */ + public String toJson() throws JsonProcessingException { + return JSON.getMapper().writeValueAsString(this); + } +} + diff --git a/src/main/java/com/adyen/model/checkout/PaymentMethodsRequest.java b/src/main/java/com/adyen/model/checkout/PaymentMethodsRequest.java index 30a0bfb66..b6812cec0 100644 --- a/src/main/java/com/adyen/model/checkout/PaymentMethodsRequest.java +++ b/src/main/java/com/adyen/model/checkout/PaymentMethodsRequest.java @@ -120,7 +120,7 @@ public static ChannelEnum fromValue(String value) { private String shopperReference; public static final String JSON_PROPERTY_SPLIT_CARD_FUNDING_SOURCES = "splitCardFundingSources"; - private Boolean splitCardFundingSources = false; + private Boolean splitCardFundingSources; public static final String JSON_PROPERTY_STORE = "store"; private String store; @@ -488,10 +488,10 @@ public PaymentMethodsRequest store(String store) { } /** - * Required for Adyen for Platforms integrations if you have a platform setup. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners#route-payments)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/marketplaces-and-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. + * Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. * @return store **/ - @ApiModelProperty(value = "Required for Adyen for Platforms integrations if you have a platform setup. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners#route-payments)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/marketplaces-and-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment.") + @ApiModelProperty(value = "Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment.") @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -501,7 +501,7 @@ public String getStore() { /** - * Required for Adyen for Platforms integrations if you have a platform setup. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners#route-payments)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/marketplaces-and-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. + * Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. * * @param store */ diff --git a/src/main/java/com/adyen/model/checkout/PaymentRefundRequest.java b/src/main/java/com/adyen/model/checkout/PaymentRefundRequest.java index ad56bd7ee..2a9981b11 100644 --- a/src/main/java/com/adyen/model/checkout/PaymentRefundRequest.java +++ b/src/main/java/com/adyen/model/checkout/PaymentRefundRequest.java @@ -318,10 +318,10 @@ public PaymentRefundRequest addSplitsItem(Split splitsItem) { } /** - * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information). + * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to process payments for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms](https://docs.adyen.com/platforms/online-payments/split-payments/). * @return splits **/ - @ApiModelProperty(value = "An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information).") + @ApiModelProperty(value = "An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to process payments for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms](https://docs.adyen.com/platforms/online-payments/split-payments/).") @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -331,7 +331,7 @@ public List getSplits() { /** - * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information). + * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to process payments for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms](https://docs.adyen.com/platforms/online-payments/split-payments/). * * @param splits */ diff --git a/src/main/java/com/adyen/model/checkout/PaymentRefundResponse.java b/src/main/java/com/adyen/model/checkout/PaymentRefundResponse.java index a1b585992..5ff2c6f67 100644 --- a/src/main/java/com/adyen/model/checkout/PaymentRefundResponse.java +++ b/src/main/java/com/adyen/model/checkout/PaymentRefundResponse.java @@ -388,10 +388,10 @@ public PaymentRefundResponse addSplitsItem(Split splitsItem) { } /** - * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information). + * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to process payments for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms](https://docs.adyen.com/platforms/online-payments/split-payments/). * @return splits **/ - @ApiModelProperty(value = "An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information).") + @ApiModelProperty(value = "An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to process payments for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms](https://docs.adyen.com/platforms/online-payments/split-payments/).") @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -401,7 +401,7 @@ public List getSplits() { /** - * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information). + * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to process payments for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms](https://docs.adyen.com/platforms/online-payments/split-payments/). * * @param splits */ diff --git a/src/main/java/com/adyen/model/checkout/PaymentRequest.java b/src/main/java/com/adyen/model/checkout/PaymentRequest.java index 740662d54..0a88e48ff 100644 --- a/src/main/java/com/adyen/model/checkout/PaymentRequest.java +++ b/src/main/java/com/adyen/model/checkout/PaymentRequest.java @@ -513,7 +513,7 @@ public static ShopperInteractionEnum fromValue(String value) { public static final String JSON_PROPERTY_THREE_D_S_AUTHENTICATION_ONLY = "threeDSAuthenticationOnly"; @Deprecated - private Boolean threeDSAuthenticationOnly = false; + private Boolean threeDSAuthenticationOnly; public static final String JSON_PROPERTY_TRUSTED_SHOPPER = "trustedShopper"; private Boolean trustedShopper; @@ -2375,10 +2375,10 @@ public PaymentRequest addSplitsItem(Split splitsItem) { } /** - * An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/marketplaces-and-platforms/classic/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). + * An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/platforms/processing-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/classic-platforms/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). * @return splits **/ - @ApiModelProperty(value = "An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/marketplaces-and-platforms/classic/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split).") + @ApiModelProperty(value = "An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/platforms/processing-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/classic-platforms/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split).") @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -2388,7 +2388,7 @@ public List getSplits() { /** - * An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/marketplaces-and-platforms/classic/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). + * An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/platforms/processing-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/classic-platforms/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). * * @param splits */ @@ -2405,10 +2405,10 @@ public PaymentRequest store(String store) { } /** - * Required for Adyen for Platforms integrations if you have a platform setup. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners#route-payments)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/marketplaces-and-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. + * Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. * @return store **/ - @ApiModelProperty(value = "Required for Adyen for Platforms integrations if you have a platform setup. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners#route-payments)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/marketplaces-and-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment.") + @ApiModelProperty(value = "Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment.") @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -2418,7 +2418,7 @@ public String getStore() { /** - * Required for Adyen for Platforms integrations if you have a platform setup. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners#route-payments)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/marketplaces-and-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. + * Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. * * @param store */ diff --git a/src/main/java/com/adyen/model/checkout/PaymentSetupRequest.java b/src/main/java/com/adyen/model/checkout/PaymentSetupRequest.java index b471c7bac..2394c89b5 100644 --- a/src/main/java/com/adyen/model/checkout/PaymentSetupRequest.java +++ b/src/main/java/com/adyen/model/checkout/PaymentSetupRequest.java @@ -382,7 +382,7 @@ public static ShopperInteractionEnum fromValue(String value) { public static final String JSON_PROPERTY_THREE_D_S_AUTHENTICATION_ONLY = "threeDSAuthenticationOnly"; @Deprecated - private Boolean threeDSAuthenticationOnly = false; + private Boolean threeDSAuthenticationOnly; public static final String JSON_PROPERTY_TOKEN = "token"; private String token; @@ -1929,10 +1929,10 @@ public PaymentSetupRequest addSplitsItem(Split splitsItem) { } /** - * An array of objects specifying how the payment should be split when using [Adyen for Platforms](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information) or [Issuing](https://docs.adyen.com/issuing/add-manage-funds#split). + * An array of objects specifying how the payment should be split when using either Adyen for Platforms for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms]((https://docs.adyen.com/platforms/split-payments), or standalone [Issuing](https://docs.adyen.com/issuing/add-manage-funds#split). * @return splits **/ - @ApiModelProperty(value = "An array of objects specifying how the payment should be split when using [Adyen for Platforms](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information) or [Issuing](https://docs.adyen.com/issuing/add-manage-funds#split).") + @ApiModelProperty(value = "An array of objects specifying how the payment should be split when using either Adyen for Platforms for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms]((https://docs.adyen.com/platforms/split-payments), or standalone [Issuing](https://docs.adyen.com/issuing/add-manage-funds#split).") @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -1942,7 +1942,7 @@ public List getSplits() { /** - * An array of objects specifying how the payment should be split when using [Adyen for Platforms](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information) or [Issuing](https://docs.adyen.com/issuing/add-manage-funds#split). + * An array of objects specifying how the payment should be split when using either Adyen for Platforms for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms]((https://docs.adyen.com/platforms/split-payments), or standalone [Issuing](https://docs.adyen.com/issuing/add-manage-funds#split). * * @param splits */ @@ -1959,10 +1959,10 @@ public PaymentSetupRequest store(String store) { } /** - * Required for Adyen for Platforms integrations if you have a platform setup. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners#route-payments)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/marketplaces-and-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. + * Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. * @return store **/ - @ApiModelProperty(value = "Required for Adyen for Platforms integrations if you have a platform setup. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners#route-payments)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/marketplaces-and-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment.") + @ApiModelProperty(value = "Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment.") @JsonProperty(JSON_PROPERTY_STORE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -1972,7 +1972,7 @@ public String getStore() { /** - * Required for Adyen for Platforms integrations if you have a platform setup. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners#route-payments)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/marketplaces-and-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. + * Required for Adyen for Platforms integrations if you are a platform model. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/platforms)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/classic-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment. * * @param store */ diff --git a/src/main/java/com/adyen/model/checkout/RatepayDetails.java b/src/main/java/com/adyen/model/checkout/RatepayDetails.java index c30ebc0dc..2ef6332f2 100644 --- a/src/main/java/com/adyen/model/checkout/RatepayDetails.java +++ b/src/main/java/com/adyen/model/checkout/RatepayDetails.java @@ -96,7 +96,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.RATEPAY; + private TypeEnum type; public RatepayDetails() { } diff --git a/src/main/java/com/adyen/model/checkout/SamsungPayDetails.java b/src/main/java/com/adyen/model/checkout/SamsungPayDetails.java index f09fce191..56438df2b 100644 --- a/src/main/java/com/adyen/model/checkout/SamsungPayDetails.java +++ b/src/main/java/com/adyen/model/checkout/SamsungPayDetails.java @@ -125,7 +125,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.SAMSUNGPAY; + private TypeEnum type; public SamsungPayDetails() { } diff --git a/src/main/java/com/adyen/model/checkout/SepaDirectDebitDetails.java b/src/main/java/com/adyen/model/checkout/SepaDirectDebitDetails.java index 1a4d1a0a0..668d91d37 100644 --- a/src/main/java/com/adyen/model/checkout/SepaDirectDebitDetails.java +++ b/src/main/java/com/adyen/model/checkout/SepaDirectDebitDetails.java @@ -92,7 +92,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.SEPADIRECTDEBIT; + private TypeEnum type; public SepaDirectDebitDetails() { } diff --git a/src/main/java/com/adyen/model/checkout/Split.java b/src/main/java/com/adyen/model/checkout/Split.java index 52b7dc0bd..5f0399a26 100644 --- a/src/main/java/com/adyen/model/checkout/Split.java +++ b/src/main/java/com/adyen/model/checkout/Split.java @@ -53,7 +53,7 @@ public class Split { private String reference; /** - * The type of the split item. Possible values: * [Classic Platforms integration](https://docs.adyen.com/marketplaces-and-platforms/classic): **Commission**, **Default**, **Marketplace**, **PaymentFee**, **VAT**. * [Balance Platform](https://docs.adyen.com/marketplaces-and-platforms): **BalanceAccount**, **Commission**, **Default**, **PaymentFee**, **Remainder**, **Surcharge**, **Tip**, **VAT**. + * The part of the payment you want to book to the specified `account`. Possible values for the [Balance Platform](https://docs.adyen.com/adyen-for-platforms-model): * **BalanceAccount**: books part of the payment (specified in `amount`) to the specified `account`. * Transaction fees types that you can book to the specified `account`: * **AcquiringFees**: the aggregated amount of the interchange and scheme fees. * **PaymentFee**: the aggregated amount of all transaction fees. * **AdyenFees**: the aggregated amount of Adyen's commission and markup fees. * **AdyenCommission**: the transaction fees due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/interchange-fees-explained). * **AdyenMarkup**: the transaction fees due to Adyen under [Interchange ++ pricing](https://www.adyen.com/knowledge-hub/interchange-fees-explained). * **Interchange**: the fees paid to the issuer for each payment made with the card network. * **SchemeFee**: the fees paid to the card scheme for using their network. * **Remainder**: the amount left over after a currency conversion, booked to the specified `account`. * **VAT**: the value-added tax charged on the payment, booked to your platforms liable balance account. * **Commission**: your platform's commission (specified in `amount`) on the payment, booked to your liable balance account. * **Default**: in very specific use cases, allows you to book the specified `amount` to the specified `account`. For more information, contact Adyen support. Possible values for the [Classic Platforms integration](https://docs.adyen.com/classic-platforms): **Commission**, **Default**, **Marketplace**, **PaymentFee**, **VAT**. */ public enum TypeEnum { ACQUIRINGFEES("AcquiringFees"), @@ -125,10 +125,10 @@ public Split account(String account) { } /** - * The unique identifier of the account to which the split amount is booked. Required if `type` is **MarketPlace** or **BalanceAccount**. * [Classic Platforms integration](https://docs.adyen.com/marketplaces-and-platforms/classic): The [`accountCode`](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccount#request-accountCode) of the account to which the split amount is booked. * [Balance Platform](https://docs.adyen.com/marketplaces-and-platforms): The [`balanceAccountId`](https://docs.adyen.com/api-explorer/balanceplatform/latest/get/balanceAccounts/_id_#path-id) of the account to which the split amount is booked. + * The unique identifier of the account to which the split amount is booked. Required if `type` is **MarketPlace** or **BalanceAccount**. * [Classic Platforms integration](https://docs.adyen.com/classic-platforms): The [`accountCode`](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccount#request-accountCode) of the account to which the split amount is booked. * [Balance Platform](https://docs.adyen.com/adyen-for-platforms-model): The [`balanceAccountId`](https://docs.adyen.com/api-explorer/balanceplatform/latest/get/balanceAccounts/_id_#path-id) of the account to which the split amount is booked. * @return account **/ - @ApiModelProperty(value = "The unique identifier of the account to which the split amount is booked. Required if `type` is **MarketPlace** or **BalanceAccount**. * [Classic Platforms integration](https://docs.adyen.com/marketplaces-and-platforms/classic): The [`accountCode`](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccount#request-accountCode) of the account to which the split amount is booked. * [Balance Platform](https://docs.adyen.com/marketplaces-and-platforms): The [`balanceAccountId`](https://docs.adyen.com/api-explorer/balanceplatform/latest/get/balanceAccounts/_id_#path-id) of the account to which the split amount is booked.") + @ApiModelProperty(value = "The unique identifier of the account to which the split amount is booked. Required if `type` is **MarketPlace** or **BalanceAccount**. * [Classic Platforms integration](https://docs.adyen.com/classic-platforms): The [`accountCode`](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccount#request-accountCode) of the account to which the split amount is booked. * [Balance Platform](https://docs.adyen.com/adyen-for-platforms-model): The [`balanceAccountId`](https://docs.adyen.com/api-explorer/balanceplatform/latest/get/balanceAccounts/_id_#path-id) of the account to which the split amount is booked.") @JsonProperty(JSON_PROPERTY_ACCOUNT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -138,7 +138,7 @@ public String getAccount() { /** - * The unique identifier of the account to which the split amount is booked. Required if `type` is **MarketPlace** or **BalanceAccount**. * [Classic Platforms integration](https://docs.adyen.com/marketplaces-and-platforms/classic): The [`accountCode`](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccount#request-accountCode) of the account to which the split amount is booked. * [Balance Platform](https://docs.adyen.com/marketplaces-and-platforms): The [`balanceAccountId`](https://docs.adyen.com/api-explorer/balanceplatform/latest/get/balanceAccounts/_id_#path-id) of the account to which the split amount is booked. + * The unique identifier of the account to which the split amount is booked. Required if `type` is **MarketPlace** or **BalanceAccount**. * [Classic Platforms integration](https://docs.adyen.com/classic-platforms): The [`accountCode`](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccount#request-accountCode) of the account to which the split amount is booked. * [Balance Platform](https://docs.adyen.com/adyen-for-platforms-model): The [`balanceAccountId`](https://docs.adyen.com/api-explorer/balanceplatform/latest/get/balanceAccounts/_id_#path-id) of the account to which the split amount is booked. * * @param account */ @@ -215,10 +215,10 @@ public Split reference(String reference) { } /** - * Your unique reference for the split item. This is required if `type` is **MarketPlace** ([Classic Platforms integration](https://docs.adyen.com/marketplaces-and-platforms/classic)) or **BalanceAccount** ([Balance Platform](https://docs.adyen.com/marketplaces-and-platforms)). For the other types, we also recommend providing a **unique** reference so you can reconcile the split and the associated payment in the transaction overview and in the reports. + * Your unique reference for the part of the payment booked to the specified `account`. This is required if `type` is **MarketPlace** ([Classic Platforms integration](https://docs.adyen.com/classic-platforms)) or **BalanceAccount** ([Balance Platform](https://docs.adyen.com/adyen-for-platforms-model)). For the other types, we also recommend providing a **unique** reference so you can reconcile the split and the associated payment in the transaction overview and in the reports. * @return reference **/ - @ApiModelProperty(value = "Your unique reference for the split item. This is required if `type` is **MarketPlace** ([Classic Platforms integration](https://docs.adyen.com/marketplaces-and-platforms/classic)) or **BalanceAccount** ([Balance Platform](https://docs.adyen.com/marketplaces-and-platforms)). For the other types, we also recommend providing a **unique** reference so you can reconcile the split and the associated payment in the transaction overview and in the reports.") + @ApiModelProperty(value = "Your unique reference for the part of the payment booked to the specified `account`. This is required if `type` is **MarketPlace** ([Classic Platforms integration](https://docs.adyen.com/classic-platforms)) or **BalanceAccount** ([Balance Platform](https://docs.adyen.com/adyen-for-platforms-model)). For the other types, we also recommend providing a **unique** reference so you can reconcile the split and the associated payment in the transaction overview and in the reports.") @JsonProperty(JSON_PROPERTY_REFERENCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -228,7 +228,7 @@ public String getReference() { /** - * Your unique reference for the split item. This is required if `type` is **MarketPlace** ([Classic Platforms integration](https://docs.adyen.com/marketplaces-and-platforms/classic)) or **BalanceAccount** ([Balance Platform](https://docs.adyen.com/marketplaces-and-platforms)). For the other types, we also recommend providing a **unique** reference so you can reconcile the split and the associated payment in the transaction overview and in the reports. + * Your unique reference for the part of the payment booked to the specified `account`. This is required if `type` is **MarketPlace** ([Classic Platforms integration](https://docs.adyen.com/classic-platforms)) or **BalanceAccount** ([Balance Platform](https://docs.adyen.com/adyen-for-platforms-model)). For the other types, we also recommend providing a **unique** reference so you can reconcile the split and the associated payment in the transaction overview and in the reports. * * @param reference */ @@ -245,10 +245,10 @@ public Split type(TypeEnum type) { } /** - * The type of the split item. Possible values: * [Classic Platforms integration](https://docs.adyen.com/marketplaces-and-platforms/classic): **Commission**, **Default**, **Marketplace**, **PaymentFee**, **VAT**. * [Balance Platform](https://docs.adyen.com/marketplaces-and-platforms): **BalanceAccount**, **Commission**, **Default**, **PaymentFee**, **Remainder**, **Surcharge**, **Tip**, **VAT**. + * The part of the payment you want to book to the specified `account`. Possible values for the [Balance Platform](https://docs.adyen.com/adyen-for-platforms-model): * **BalanceAccount**: books part of the payment (specified in `amount`) to the specified `account`. * Transaction fees types that you can book to the specified `account`: * **AcquiringFees**: the aggregated amount of the interchange and scheme fees. * **PaymentFee**: the aggregated amount of all transaction fees. * **AdyenFees**: the aggregated amount of Adyen's commission and markup fees. * **AdyenCommission**: the transaction fees due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/interchange-fees-explained). * **AdyenMarkup**: the transaction fees due to Adyen under [Interchange ++ pricing](https://www.adyen.com/knowledge-hub/interchange-fees-explained). * **Interchange**: the fees paid to the issuer for each payment made with the card network. * **SchemeFee**: the fees paid to the card scheme for using their network. * **Remainder**: the amount left over after a currency conversion, booked to the specified `account`. * **VAT**: the value-added tax charged on the payment, booked to your platforms liable balance account. * **Commission**: your platform's commission (specified in `amount`) on the payment, booked to your liable balance account. * **Default**: in very specific use cases, allows you to book the specified `amount` to the specified `account`. For more information, contact Adyen support. Possible values for the [Classic Platforms integration](https://docs.adyen.com/classic-platforms): **Commission**, **Default**, **Marketplace**, **PaymentFee**, **VAT**. * @return type **/ - @ApiModelProperty(required = true, value = "The type of the split item. Possible values: * [Classic Platforms integration](https://docs.adyen.com/marketplaces-and-platforms/classic): **Commission**, **Default**, **Marketplace**, **PaymentFee**, **VAT**. * [Balance Platform](https://docs.adyen.com/marketplaces-and-platforms): **BalanceAccount**, **Commission**, **Default**, **PaymentFee**, **Remainder**, **Surcharge**, **Tip**, **VAT**.") + @ApiModelProperty(required = true, value = "The part of the payment you want to book to the specified `account`. Possible values for the [Balance Platform](https://docs.adyen.com/adyen-for-platforms-model): * **BalanceAccount**: books part of the payment (specified in `amount`) to the specified `account`. * Transaction fees types that you can book to the specified `account`: * **AcquiringFees**: the aggregated amount of the interchange and scheme fees. * **PaymentFee**: the aggregated amount of all transaction fees. * **AdyenFees**: the aggregated amount of Adyen's commission and markup fees. * **AdyenCommission**: the transaction fees due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/interchange-fees-explained). * **AdyenMarkup**: the transaction fees due to Adyen under [Interchange ++ pricing](https://www.adyen.com/knowledge-hub/interchange-fees-explained). * **Interchange**: the fees paid to the issuer for each payment made with the card network. * **SchemeFee**: the fees paid to the card scheme for using their network. * **Remainder**: the amount left over after a currency conversion, booked to the specified `account`. * **VAT**: the value-added tax charged on the payment, booked to your platforms liable balance account. * **Commission**: your platform's commission (specified in `amount`) on the payment, booked to your liable balance account. * **Default**: in very specific use cases, allows you to book the specified `amount` to the specified `account`. For more information, contact Adyen support. Possible values for the [Classic Platforms integration](https://docs.adyen.com/classic-platforms): **Commission**, **Default**, **Marketplace**, **PaymentFee**, **VAT**.") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -258,7 +258,7 @@ public TypeEnum getType() { /** - * The type of the split item. Possible values: * [Classic Platforms integration](https://docs.adyen.com/marketplaces-and-platforms/classic): **Commission**, **Default**, **Marketplace**, **PaymentFee**, **VAT**. * [Balance Platform](https://docs.adyen.com/marketplaces-and-platforms): **BalanceAccount**, **Commission**, **Default**, **PaymentFee**, **Remainder**, **Surcharge**, **Tip**, **VAT**. + * The part of the payment you want to book to the specified `account`. Possible values for the [Balance Platform](https://docs.adyen.com/adyen-for-platforms-model): * **BalanceAccount**: books part of the payment (specified in `amount`) to the specified `account`. * Transaction fees types that you can book to the specified `account`: * **AcquiringFees**: the aggregated amount of the interchange and scheme fees. * **PaymentFee**: the aggregated amount of all transaction fees. * **AdyenFees**: the aggregated amount of Adyen's commission and markup fees. * **AdyenCommission**: the transaction fees due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/interchange-fees-explained). * **AdyenMarkup**: the transaction fees due to Adyen under [Interchange ++ pricing](https://www.adyen.com/knowledge-hub/interchange-fees-explained). * **Interchange**: the fees paid to the issuer for each payment made with the card network. * **SchemeFee**: the fees paid to the card scheme for using their network. * **Remainder**: the amount left over after a currency conversion, booked to the specified `account`. * **VAT**: the value-added tax charged on the payment, booked to your platforms liable balance account. * **Commission**: your platform's commission (specified in `amount`) on the payment, booked to your liable balance account. * **Default**: in very specific use cases, allows you to book the specified `amount` to the specified `account`. For more information, contact Adyen support. Possible values for the [Classic Platforms integration](https://docs.adyen.com/classic-platforms): **Commission**, **Default**, **Marketplace**, **PaymentFee**, **VAT**. * * @param type */ diff --git a/src/main/java/com/adyen/model/checkout/StoredPaymentMethodRequest.java b/src/main/java/com/adyen/model/checkout/StoredPaymentMethodRequest.java new file mode 100644 index 000000000..42bc3d939 --- /dev/null +++ b/src/main/java/com/adyen/model/checkout/StoredPaymentMethodRequest.java @@ -0,0 +1,351 @@ +/* + * Adyen Checkout API + * + * The version of the OpenAPI document: 71 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.adyen.model.checkout; + +import java.util.Objects; +import java.util.Arrays; +import java.util.Map; +import java.util.HashMap; +import com.adyen.model.checkout.PaymentMethodToStore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.core.JsonProcessingException; + + +/** + * StoredPaymentMethodRequest + */ +@JsonPropertyOrder({ + StoredPaymentMethodRequest.JSON_PROPERTY_MERCHANT_ACCOUNT, + StoredPaymentMethodRequest.JSON_PROPERTY_PAYMENT_METHOD, + StoredPaymentMethodRequest.JSON_PROPERTY_RECURRING_PROCESSING_MODEL, + StoredPaymentMethodRequest.JSON_PROPERTY_SHOPPER_EMAIL, + StoredPaymentMethodRequest.JSON_PROPERTY_SHOPPER_I_P, + StoredPaymentMethodRequest.JSON_PROPERTY_SHOPPER_REFERENCE +}) + +public class StoredPaymentMethodRequest { + public static final String JSON_PROPERTY_MERCHANT_ACCOUNT = "merchantAccount"; + private String merchantAccount; + + public static final String JSON_PROPERTY_PAYMENT_METHOD = "paymentMethod"; + private PaymentMethodToStore paymentMethod; + + /** + * Defines a recurring payment type. Required when creating a token to store payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. + */ + public enum RecurringProcessingModelEnum { + CARDONFILE("CardOnFile"), + + SUBSCRIPTION("Subscription"), + + UNSCHEDULEDCARDONFILE("UnscheduledCardOnFile"); + + private String value; + + RecurringProcessingModelEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static RecurringProcessingModelEnum fromValue(String value) { + for (RecurringProcessingModelEnum b : RecurringProcessingModelEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + + public static final String JSON_PROPERTY_RECURRING_PROCESSING_MODEL = "recurringProcessingModel"; + private RecurringProcessingModelEnum recurringProcessingModel; + + public static final String JSON_PROPERTY_SHOPPER_EMAIL = "shopperEmail"; + private String shopperEmail; + + public static final String JSON_PROPERTY_SHOPPER_I_P = "shopperIP"; + private String shopperIP; + + public static final String JSON_PROPERTY_SHOPPER_REFERENCE = "shopperReference"; + private String shopperReference; + + public StoredPaymentMethodRequest() { + } + + public StoredPaymentMethodRequest merchantAccount(String merchantAccount) { + this.merchantAccount = merchantAccount; + return this; + } + + /** + * The merchant account identifier, with which you want to process the transaction. + * @return merchantAccount + **/ + @ApiModelProperty(required = true, value = "The merchant account identifier, with which you want to process the transaction.") + @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getMerchantAccount() { + return merchantAccount; + } + + + /** + * The merchant account identifier, with which you want to process the transaction. + * + * @param merchantAccount + */ + @JsonProperty(JSON_PROPERTY_MERCHANT_ACCOUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMerchantAccount(String merchantAccount) { + this.merchantAccount = merchantAccount; + } + + + public StoredPaymentMethodRequest paymentMethod(PaymentMethodToStore paymentMethod) { + this.paymentMethod = paymentMethod; + return this; + } + + /** + * Get paymentMethod + * @return paymentMethod + **/ + @ApiModelProperty(required = true, value = "") + @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public PaymentMethodToStore getPaymentMethod() { + return paymentMethod; + } + + + /** + * paymentMethod + * + * @param paymentMethod + */ + @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPaymentMethod(PaymentMethodToStore paymentMethod) { + this.paymentMethod = paymentMethod; + } + + + public StoredPaymentMethodRequest recurringProcessingModel(RecurringProcessingModelEnum recurringProcessingModel) { + this.recurringProcessingModel = recurringProcessingModel; + return this; + } + + /** + * Defines a recurring payment type. Required when creating a token to store payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. + * @return recurringProcessingModel + **/ + @ApiModelProperty(required = true, value = "Defines a recurring payment type. Required when creating a token to store payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. ") + @JsonProperty(JSON_PROPERTY_RECURRING_PROCESSING_MODEL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public RecurringProcessingModelEnum getRecurringProcessingModel() { + return recurringProcessingModel; + } + + + /** + * Defines a recurring payment type. Required when creating a token to store payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. + * + * @param recurringProcessingModel + */ + @JsonProperty(JSON_PROPERTY_RECURRING_PROCESSING_MODEL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setRecurringProcessingModel(RecurringProcessingModelEnum recurringProcessingModel) { + this.recurringProcessingModel = recurringProcessingModel; + } + + + public StoredPaymentMethodRequest shopperEmail(String shopperEmail) { + this.shopperEmail = shopperEmail; + return this; + } + + /** + * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. + * @return shopperEmail + **/ + @ApiModelProperty(value = "The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks.") + @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getShopperEmail() { + return shopperEmail; + } + + + /** + * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. + * + * @param shopperEmail + */ + @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setShopperEmail(String shopperEmail) { + this.shopperEmail = shopperEmail; + } + + + public StoredPaymentMethodRequest shopperIP(String shopperIP) { + this.shopperIP = shopperIP; + return this; + } + + /** + * The IP address of a shopper. + * @return shopperIP + **/ + @ApiModelProperty(value = "The IP address of a shopper.") + @JsonProperty(JSON_PROPERTY_SHOPPER_I_P) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getShopperIP() { + return shopperIP; + } + + + /** + * The IP address of a shopper. + * + * @param shopperIP + */ + @JsonProperty(JSON_PROPERTY_SHOPPER_I_P) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setShopperIP(String shopperIP) { + this.shopperIP = shopperIP; + } + + + public StoredPaymentMethodRequest shopperReference(String shopperReference) { + this.shopperReference = shopperReference; + return this; + } + + /** + * A unique identifier for the shopper (for example, user ID or account ID). + * @return shopperReference + **/ + @ApiModelProperty(required = true, value = "A unique identifier for the shopper (for example, user ID or account ID).") + @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getShopperReference() { + return shopperReference; + } + + + /** + * A unique identifier for the shopper (for example, user ID or account ID). + * + * @param shopperReference + */ + @JsonProperty(JSON_PROPERTY_SHOPPER_REFERENCE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setShopperReference(String shopperReference) { + this.shopperReference = shopperReference; + } + + + /** + * Return true if this StoredPaymentMethodRequest object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + StoredPaymentMethodRequest storedPaymentMethodRequest = (StoredPaymentMethodRequest) o; + return Objects.equals(this.merchantAccount, storedPaymentMethodRequest.merchantAccount) && + Objects.equals(this.paymentMethod, storedPaymentMethodRequest.paymentMethod) && + Objects.equals(this.recurringProcessingModel, storedPaymentMethodRequest.recurringProcessingModel) && + Objects.equals(this.shopperEmail, storedPaymentMethodRequest.shopperEmail) && + Objects.equals(this.shopperIP, storedPaymentMethodRequest.shopperIP) && + Objects.equals(this.shopperReference, storedPaymentMethodRequest.shopperReference); + } + + @Override + public int hashCode() { + return Objects.hash(merchantAccount, paymentMethod, recurringProcessingModel, shopperEmail, shopperIP, shopperReference); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class StoredPaymentMethodRequest {\n"); + sb.append(" merchantAccount: ").append(toIndentedString(merchantAccount)).append("\n"); + sb.append(" paymentMethod: ").append(toIndentedString(paymentMethod)).append("\n"); + sb.append(" recurringProcessingModel: ").append(toIndentedString(recurringProcessingModel)).append("\n"); + sb.append(" shopperEmail: ").append(toIndentedString(shopperEmail)).append("\n"); + sb.append(" shopperIP: ").append(toIndentedString(shopperIP)).append("\n"); + sb.append(" shopperReference: ").append(toIndentedString(shopperReference)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +/** + * Create an instance of StoredPaymentMethodRequest given an JSON string + * + * @param jsonString JSON string + * @return An instance of StoredPaymentMethodRequest + * @throws JsonProcessingException if the JSON string is invalid with respect to StoredPaymentMethodRequest + */ + public static StoredPaymentMethodRequest fromJson(String jsonString) throws JsonProcessingException { + return JSON.getMapper().readValue(jsonString, StoredPaymentMethodRequest.class); + } +/** + * Convert an instance of StoredPaymentMethodRequest to an JSON string + * + * @return JSON string + */ + public String toJson() throws JsonProcessingException { + return JSON.getMapper().writeValueAsString(this); + } +} + diff --git a/src/main/java/com/adyen/model/checkout/ThreeDS2RequestData.java b/src/main/java/com/adyen/model/checkout/ThreeDS2RequestData.java index df7a803c4..d765bef09 100644 --- a/src/main/java/com/adyen/model/checkout/ThreeDS2RequestData.java +++ b/src/main/java/com/adyen/model/checkout/ThreeDS2RequestData.java @@ -169,7 +169,7 @@ public static AddrMatchEnum fromValue(String value) { public static final String JSON_PROPERTY_AUTHENTICATION_ONLY = "authenticationOnly"; @Deprecated - private Boolean authenticationOnly = false; + private Boolean authenticationOnly; /** * Possibility to specify a preference for receiving a challenge from the issuer. Allowed values: * `noPreference` * `requestNoChallenge` * `requestChallenge` * `requestChallengeAsMandate` @@ -303,7 +303,7 @@ public static PlatformEnum fromValue(String value) { private SDKEphemPubKey sdkEphemPubKey; public static final String JSON_PROPERTY_SDK_MAX_TIMEOUT = "sdkMaxTimeout"; - private Integer sdkMaxTimeout = 60; + private Integer sdkMaxTimeout; public static final String JSON_PROPERTY_SDK_REFERENCE_NUMBER = "sdkReferenceNumber"; private String sdkReferenceNumber; diff --git a/src/main/java/com/adyen/model/checkout/ThreeDS2RequestFields.java b/src/main/java/com/adyen/model/checkout/ThreeDS2RequestFields.java index 5b5d7ca06..f2c814835 100644 --- a/src/main/java/com/adyen/model/checkout/ThreeDS2RequestFields.java +++ b/src/main/java/com/adyen/model/checkout/ThreeDS2RequestFields.java @@ -166,7 +166,7 @@ public static AddrMatchEnum fromValue(String value) { public static final String JSON_PROPERTY_AUTHENTICATION_ONLY = "authenticationOnly"; @Deprecated - private Boolean authenticationOnly = false; + private Boolean authenticationOnly; /** * Possibility to specify a preference for receiving a challenge from the issuer. Allowed values: * `noPreference` * `requestNoChallenge` * `requestChallenge` * `requestChallengeAsMandate` @@ -294,7 +294,7 @@ public static PlatformEnum fromValue(String value) { private SDKEphemPubKey sdkEphemPubKey; public static final String JSON_PROPERTY_SDK_MAX_TIMEOUT = "sdkMaxTimeout"; - private Integer sdkMaxTimeout = 60; + private Integer sdkMaxTimeout; public static final String JSON_PROPERTY_SDK_REFERENCE_NUMBER = "sdkReferenceNumber"; private String sdkReferenceNumber; diff --git a/src/main/java/com/adyen/model/checkout/UpiCollectDetails.java b/src/main/java/com/adyen/model/checkout/UpiCollectDetails.java index 426f510f9..61536af32 100644 --- a/src/main/java/com/adyen/model/checkout/UpiCollectDetails.java +++ b/src/main/java/com/adyen/model/checkout/UpiCollectDetails.java @@ -91,7 +91,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.UPI_COLLECT; + private TypeEnum type; public static final String JSON_PROPERTY_VIRTUAL_PAYMENT_ADDRESS = "virtualPaymentAddress"; private String virtualPaymentAddress; diff --git a/src/main/java/com/adyen/model/checkout/UpiIntentDetails.java b/src/main/java/com/adyen/model/checkout/UpiIntentDetails.java index 5b16bf757..ace0f8962 100644 --- a/src/main/java/com/adyen/model/checkout/UpiIntentDetails.java +++ b/src/main/java/com/adyen/model/checkout/UpiIntentDetails.java @@ -31,6 +31,7 @@ * UpiIntentDetails */ @JsonPropertyOrder({ + UpiIntentDetails.JSON_PROPERTY_APP_ID, UpiIntentDetails.JSON_PROPERTY_CHECKOUT_ATTEMPT_ID, UpiIntentDetails.JSON_PROPERTY_RECURRING_DETAIL_REFERENCE, UpiIntentDetails.JSON_PROPERTY_SHOPPER_NOTIFICATION_REFERENCE, @@ -39,6 +40,9 @@ }) public class UpiIntentDetails { + public static final String JSON_PROPERTY_APP_ID = "appId"; + private String appId; + public static final String JSON_PROPERTY_CHECKOUT_ATTEMPT_ID = "checkoutAttemptId"; private String checkoutAttemptId; @@ -86,11 +90,41 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.UPI_INTENT; + private TypeEnum type; public UpiIntentDetails() { } + public UpiIntentDetails appId(String appId) { + this.appId = appId; + return this; + } + + /** + * TPAP (Third Party Application) Id that is being used to make the UPI payment + * @return appId + **/ + @ApiModelProperty(value = "TPAP (Third Party Application) Id that is being used to make the UPI payment") + @JsonProperty(JSON_PROPERTY_APP_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getAppId() { + return appId; + } + + + /** + * TPAP (Third Party Application) Id that is being used to make the UPI payment + * + * @param appId + */ + @JsonProperty(JSON_PROPERTY_APP_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setAppId(String appId) { + this.appId = appId; + } + + public UpiIntentDetails checkoutAttemptId(String checkoutAttemptId) { this.checkoutAttemptId = checkoutAttemptId; return this; @@ -257,7 +291,8 @@ public boolean equals(Object o) { return false; } UpiIntentDetails upiIntentDetails = (UpiIntentDetails) o; - return Objects.equals(this.checkoutAttemptId, upiIntentDetails.checkoutAttemptId) && + return Objects.equals(this.appId, upiIntentDetails.appId) && + Objects.equals(this.checkoutAttemptId, upiIntentDetails.checkoutAttemptId) && Objects.equals(this.recurringDetailReference, upiIntentDetails.recurringDetailReference) && Objects.equals(this.shopperNotificationReference, upiIntentDetails.shopperNotificationReference) && Objects.equals(this.storedPaymentMethodId, upiIntentDetails.storedPaymentMethodId) && @@ -266,13 +301,14 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(checkoutAttemptId, recurringDetailReference, shopperNotificationReference, storedPaymentMethodId, type); + return Objects.hash(appId, checkoutAttemptId, recurringDetailReference, shopperNotificationReference, storedPaymentMethodId, type); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class UpiIntentDetails {\n"); + sb.append(" appId: ").append(toIndentedString(appId)).append("\n"); sb.append(" checkoutAttemptId: ").append(toIndentedString(checkoutAttemptId)).append("\n"); sb.append(" recurringDetailReference: ").append(toIndentedString(recurringDetailReference)).append("\n"); sb.append(" shopperNotificationReference: ").append(toIndentedString(shopperNotificationReference)).append("\n"); diff --git a/src/main/java/com/adyen/model/checkout/VippsDetails.java b/src/main/java/com/adyen/model/checkout/VippsDetails.java index 51a3aa53e..91410b9c0 100644 --- a/src/main/java/com/adyen/model/checkout/VippsDetails.java +++ b/src/main/java/com/adyen/model/checkout/VippsDetails.java @@ -86,7 +86,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.VIPPS; + private TypeEnum type; public VippsDetails() { } diff --git a/src/main/java/com/adyen/model/checkout/VisaCheckoutDetails.java b/src/main/java/com/adyen/model/checkout/VisaCheckoutDetails.java index 0c5f96b73..50465069d 100644 --- a/src/main/java/com/adyen/model/checkout/VisaCheckoutDetails.java +++ b/src/main/java/com/adyen/model/checkout/VisaCheckoutDetails.java @@ -113,7 +113,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.VISACHECKOUT; + private TypeEnum type; public static final String JSON_PROPERTY_VISA_CHECKOUT_CALL_ID = "visaCheckoutCallId"; private String visaCheckoutCallId; diff --git a/src/main/java/com/adyen/model/checkout/WeChatPayDetails.java b/src/main/java/com/adyen/model/checkout/WeChatPayDetails.java index 303f64a10..759073982 100644 --- a/src/main/java/com/adyen/model/checkout/WeChatPayDetails.java +++ b/src/main/java/com/adyen/model/checkout/WeChatPayDetails.java @@ -75,7 +75,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.WECHATPAY; + private TypeEnum type; public WeChatPayDetails() { } diff --git a/src/main/java/com/adyen/model/checkout/WeChatPayMiniProgramDetails.java b/src/main/java/com/adyen/model/checkout/WeChatPayMiniProgramDetails.java index 3b8679465..f36246a81 100644 --- a/src/main/java/com/adyen/model/checkout/WeChatPayMiniProgramDetails.java +++ b/src/main/java/com/adyen/model/checkout/WeChatPayMiniProgramDetails.java @@ -81,7 +81,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.WECHATPAYMINIPROGRAM; + private TypeEnum type; public WeChatPayMiniProgramDetails() { } diff --git a/src/main/java/com/adyen/model/checkout/ZipDetails.java b/src/main/java/com/adyen/model/checkout/ZipDetails.java index 8f1542b98..7392eb702 100644 --- a/src/main/java/com/adyen/model/checkout/ZipDetails.java +++ b/src/main/java/com/adyen/model/checkout/ZipDetails.java @@ -88,7 +88,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.ZIP; + private TypeEnum type; public ZipDetails() { } diff --git a/src/main/java/com/adyen/model/configurationwebhooks/IbanAccountIdentification.java b/src/main/java/com/adyen/model/configurationwebhooks/IbanAccountIdentification.java index 1a5c5ae3f..b8d93191c 100644 --- a/src/main/java/com/adyen/model/configurationwebhooks/IbanAccountIdentification.java +++ b/src/main/java/com/adyen/model/configurationwebhooks/IbanAccountIdentification.java @@ -38,7 +38,7 @@ public class IbanAccountIdentification { public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; public static final String JSON_PROPERTY_IBAN = "iban"; private String iban; @@ -77,7 +77,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.IBAN; + private TypeEnum type; public IbanAccountIdentification() { } diff --git a/src/main/java/com/adyen/model/configurationwebhooks/SweepConfigurationV2.java b/src/main/java/com/adyen/model/configurationwebhooks/SweepConfigurationV2.java index 6a50d361e..997e08601 100644 --- a/src/main/java/com/adyen/model/configurationwebhooks/SweepConfigurationV2.java +++ b/src/main/java/com/adyen/model/configurationwebhooks/SweepConfigurationV2.java @@ -212,7 +212,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.PUSH; + private TypeEnum type; public SweepConfigurationV2() { } diff --git a/src/main/java/com/adyen/model/configurationwebhooks/UKLocalAccountIdentification.java b/src/main/java/com/adyen/model/configurationwebhooks/UKLocalAccountIdentification.java index fc40b77bd..caf0c7547 100644 --- a/src/main/java/com/adyen/model/configurationwebhooks/UKLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/configurationwebhooks/UKLocalAccountIdentification.java @@ -42,7 +42,7 @@ public class UKLocalAccountIdentification { private String accountNumber; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; public static final String JSON_PROPERTY_SORT_CODE = "sortCode"; private String sortCode; @@ -81,7 +81,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.UKLOCAL; + private TypeEnum type; public UKLocalAccountIdentification() { } diff --git a/src/main/java/com/adyen/model/configurationwebhooks/USLocalAccountIdentification.java b/src/main/java/com/adyen/model/configurationwebhooks/USLocalAccountIdentification.java index 9078cc958..eae561b29 100644 --- a/src/main/java/com/adyen/model/configurationwebhooks/USLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/configurationwebhooks/USLocalAccountIdentification.java @@ -78,10 +78,10 @@ public static AccountTypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_ACCOUNT_TYPE = "accountType"; - private AccountTypeEnum accountType = AccountTypeEnum.CHECKING; + private AccountTypeEnum accountType; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; public static final String JSON_PROPERTY_ROUTING_NUMBER = "routingNumber"; private String routingNumber; @@ -120,7 +120,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.USLOCAL; + private TypeEnum type; public USLocalAccountIdentification() { } diff --git a/src/main/java/com/adyen/model/legalentitymanagement/AULocalAccountIdentification.java b/src/main/java/com/adyen/model/legalentitymanagement/AULocalAccountIdentification.java index 2e4db904d..56b2ba2b2 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/AULocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/AULocalAccountIdentification.java @@ -45,7 +45,7 @@ public class AULocalAccountIdentification { private String bsbCode; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; /** * **auLocal** @@ -81,7 +81,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.AULOCAL; + private TypeEnum type; public AULocalAccountIdentification() { } @@ -152,10 +152,10 @@ public AULocalAccountIdentification formFactor(String formFactor) { } /** - * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor`å value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. + * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. * @return formFactor **/ - @ApiModelProperty(value = "Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor`å value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL.") + @ApiModelProperty(value = "Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL.") @JsonProperty(JSON_PROPERTY_FORM_FACTOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -165,7 +165,7 @@ public String getFormFactor() { /** - * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor`å value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. + * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. * * @param formFactor */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/BusinessLine.java b/src/main/java/com/adyen/model/legalentitymanagement/BusinessLine.java index 7168cde82..b70deec21 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/BusinessLine.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/BusinessLine.java @@ -226,10 +226,10 @@ public BusinessLine industryCode(String industryCode) { } /** - * A code that represents the [industry of the legal entity](https://docs.adyen.com/marketplaces-and-platforms/verification-requirements/reference-additional-products/#list-industry-codes). For example, **4431A** for computer software stores. + * A code that represents the industry of the legal entity for [marketplaces](https://docs.adyen.com/marketplaces/verification-requirements/reference-additional-products/#list-industry-codes) or [platforms](https://docs.adyen.com/platforms/verification-requirements/reference-additional-products/#list-industry-codes). For example, **4431A** for computer software stores. * @return industryCode **/ - @ApiModelProperty(required = true, value = "A code that represents the [industry of the legal entity](https://docs.adyen.com/marketplaces-and-platforms/verification-requirements/reference-additional-products/#list-industry-codes). For example, **4431A** for computer software stores.") + @ApiModelProperty(required = true, value = "A code that represents the industry of the legal entity for [marketplaces](https://docs.adyen.com/marketplaces/verification-requirements/reference-additional-products/#list-industry-codes) or [platforms](https://docs.adyen.com/platforms/verification-requirements/reference-additional-products/#list-industry-codes). For example, **4431A** for computer software stores.") @JsonProperty(JSON_PROPERTY_INDUSTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -239,7 +239,7 @@ public String getIndustryCode() { /** - * A code that represents the [industry of the legal entity](https://docs.adyen.com/marketplaces-and-platforms/verification-requirements/reference-additional-products/#list-industry-codes). For example, **4431A** for computer software stores. + * A code that represents the industry of the legal entity for [marketplaces](https://docs.adyen.com/marketplaces/verification-requirements/reference-additional-products/#list-industry-codes) or [platforms](https://docs.adyen.com/platforms/verification-requirements/reference-additional-products/#list-industry-codes). For example, **4431A** for computer software stores. * * @param industryCode */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/BusinessLineInfo.java b/src/main/java/com/adyen/model/legalentitymanagement/BusinessLineInfo.java index d74bc215d..aba44d303 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/BusinessLineInfo.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/BusinessLineInfo.java @@ -187,10 +187,10 @@ public BusinessLineInfo industryCode(String industryCode) { } /** - * A code that represents the [industry of the legal entity](https://docs.adyen.com/marketplaces-and-platforms/verification-requirements/reference-additional-products/#list-industry-codes). For example, **4431A** for computer software stores. + * A code that represents the industry of the legal entity for [marketplaces](https://docs.adyen.com/marketplaces/verification-requirements/reference-additional-products/#list-industry-codes) or [platforms](https://docs.adyen.com/platforms/verification-requirements/reference-additional-products/#list-industry-codes). For example, **4431A** for computer software stores. * @return industryCode **/ - @ApiModelProperty(required = true, value = "A code that represents the [industry of the legal entity](https://docs.adyen.com/marketplaces-and-platforms/verification-requirements/reference-additional-products/#list-industry-codes). For example, **4431A** for computer software stores.") + @ApiModelProperty(required = true, value = "A code that represents the industry of the legal entity for [marketplaces](https://docs.adyen.com/marketplaces/verification-requirements/reference-additional-products/#list-industry-codes) or [platforms](https://docs.adyen.com/platforms/verification-requirements/reference-additional-products/#list-industry-codes). For example, **4431A** for computer software stores.") @JsonProperty(JSON_PROPERTY_INDUSTRY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -200,7 +200,7 @@ public String getIndustryCode() { /** - * A code that represents the [industry of the legal entity](https://docs.adyen.com/marketplaces-and-platforms/verification-requirements/reference-additional-products/#list-industry-codes). For example, **4431A** for computer software stores. + * A code that represents the industry of the legal entity for [marketplaces](https://docs.adyen.com/marketplaces/verification-requirements/reference-additional-products/#list-industry-codes) or [platforms](https://docs.adyen.com/platforms/verification-requirements/reference-additional-products/#list-industry-codes). For example, **4431A** for computer software stores. * * @param industryCode */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/CALocalAccountIdentification.java b/src/main/java/com/adyen/model/legalentitymanagement/CALocalAccountIdentification.java index 013774235..1a9b68b52 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/CALocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/CALocalAccountIdentification.java @@ -79,10 +79,10 @@ public static AccountTypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_ACCOUNT_TYPE = "accountType"; - private AccountTypeEnum accountType = AccountTypeEnum.CHECKING; + private AccountTypeEnum accountType; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; public static final String JSON_PROPERTY_INSTITUTION_NUMBER = "institutionNumber"; private String institutionNumber; @@ -124,7 +124,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.CALOCAL; + private TypeEnum type; public CALocalAccountIdentification() { } @@ -195,10 +195,10 @@ public CALocalAccountIdentification formFactor(String formFactor) { } /** - * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor`å value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. + * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. * @return formFactor **/ - @ApiModelProperty(value = "Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor`å value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL.") + @ApiModelProperty(value = "Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL.") @JsonProperty(JSON_PROPERTY_FORM_FACTOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -208,7 +208,7 @@ public String getFormFactor() { /** - * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor`å value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. + * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. * * @param formFactor */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/CZLocalAccountIdentification.java b/src/main/java/com/adyen/model/legalentitymanagement/CZLocalAccountIdentification.java index 826f457d7..5b7930047 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/CZLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/CZLocalAccountIdentification.java @@ -45,7 +45,7 @@ public class CZLocalAccountIdentification { private String bankCode; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; /** * **czLocal** @@ -81,7 +81,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.CZLOCAL; + private TypeEnum type; public CZLocalAccountIdentification() { } @@ -152,10 +152,10 @@ public CZLocalAccountIdentification formFactor(String formFactor) { } /** - * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor`å value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. + * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. * @return formFactor **/ - @ApiModelProperty(value = "Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor`å value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL.") + @ApiModelProperty(value = "Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL.") @JsonProperty(JSON_PROPERTY_FORM_FACTOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -165,7 +165,7 @@ public String getFormFactor() { /** - * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor`å value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. + * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. * * @param formFactor */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/DKLocalAccountIdentification.java b/src/main/java/com/adyen/model/legalentitymanagement/DKLocalAccountIdentification.java index 0a9acb094..190e1c7e6 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/DKLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/DKLocalAccountIdentification.java @@ -45,7 +45,7 @@ public class DKLocalAccountIdentification { private String bankCode; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; /** * **dkLocal** @@ -81,7 +81,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.DKLOCAL; + private TypeEnum type; public DKLocalAccountIdentification() { } @@ -152,10 +152,10 @@ public DKLocalAccountIdentification formFactor(String formFactor) { } /** - * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor`å value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. + * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. * @return formFactor **/ - @ApiModelProperty(value = "Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor`å value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL.") + @ApiModelProperty(value = "Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL.") @JsonProperty(JSON_PROPERTY_FORM_FACTOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -165,7 +165,7 @@ public String getFormFactor() { /** - * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor`å value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. + * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. * * @param formFactor */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/GeneratePciDescriptionRequest.java b/src/main/java/com/adyen/model/legalentitymanagement/GeneratePciDescriptionRequest.java index 4f4053aa7..f98e98c80 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/GeneratePciDescriptionRequest.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/GeneratePciDescriptionRequest.java @@ -100,10 +100,10 @@ public GeneratePciDescriptionRequest addAdditionalSalesChannelsItem(AdditionalSa } /** - * An array of additional sales channels to generate PCI questionnaires. Include the relevant sales channels if you need your user to sign PCI questionnaires. Not required if you [create stores](https://docs.adyen.com/marketplaces-and-platforms/additional-for-platform-setup/create-stores/) and [add payment methods](https://docs.adyen.com/marketplaces-and-platforms/payment-methods/) before you generate the questionnaires. Possible values: * **eCommerce** * **pos** * **ecomMoto** * **posMoto** + * An array of additional sales channels to generate PCI questionnaires. Include the relevant sales channels if you need your user to sign PCI questionnaires. Not required if you [create stores](https://docs.adyen.com/platforms) and [add payment methods](https://docs.adyen.com/adyen-for-platforms-model) before you generate the questionnaires. Possible values: * **eCommerce** * **pos** * **ecomMoto** * **posMoto** * @return additionalSalesChannels **/ - @ApiModelProperty(value = "An array of additional sales channels to generate PCI questionnaires. Include the relevant sales channels if you need your user to sign PCI questionnaires. Not required if you [create stores](https://docs.adyen.com/marketplaces-and-platforms/additional-for-platform-setup/create-stores/) and [add payment methods](https://docs.adyen.com/marketplaces-and-platforms/payment-methods/) before you generate the questionnaires. Possible values: * **eCommerce** * **pos** * **ecomMoto** * **posMoto** ") + @ApiModelProperty(value = "An array of additional sales channels to generate PCI questionnaires. Include the relevant sales channels if you need your user to sign PCI questionnaires. Not required if you [create stores](https://docs.adyen.com/platforms) and [add payment methods](https://docs.adyen.com/adyen-for-platforms-model) before you generate the questionnaires. Possible values: * **eCommerce** * **pos** * **ecomMoto** * **posMoto** ") @JsonProperty(JSON_PROPERTY_ADDITIONAL_SALES_CHANNELS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -113,7 +113,7 @@ public List getAdditionalSalesChannels() { /** - * An array of additional sales channels to generate PCI questionnaires. Include the relevant sales channels if you need your user to sign PCI questionnaires. Not required if you [create stores](https://docs.adyen.com/marketplaces-and-platforms/additional-for-platform-setup/create-stores/) and [add payment methods](https://docs.adyen.com/marketplaces-and-platforms/payment-methods/) before you generate the questionnaires. Possible values: * **eCommerce** * **pos** * **ecomMoto** * **posMoto** + * An array of additional sales channels to generate PCI questionnaires. Include the relevant sales channels if you need your user to sign PCI questionnaires. Not required if you [create stores](https://docs.adyen.com/platforms) and [add payment methods](https://docs.adyen.com/adyen-for-platforms-model) before you generate the questionnaires. Possible values: * **eCommerce** * **pos** * **ecomMoto** * **posMoto** * * @param additionalSalesChannels */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/HKLocalAccountIdentification.java b/src/main/java/com/adyen/model/legalentitymanagement/HKLocalAccountIdentification.java index bfa161113..80e274cdb 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/HKLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/HKLocalAccountIdentification.java @@ -32,6 +32,8 @@ */ @JsonPropertyOrder({ HKLocalAccountIdentification.JSON_PROPERTY_ACCOUNT_NUMBER, + HKLocalAccountIdentification.JSON_PROPERTY_BANK_NAME, + HKLocalAccountIdentification.JSON_PROPERTY_BIC, HKLocalAccountIdentification.JSON_PROPERTY_CLEARING_CODE, HKLocalAccountIdentification.JSON_PROPERTY_FORM_FACTOR, HKLocalAccountIdentification.JSON_PROPERTY_TYPE @@ -41,11 +43,17 @@ public class HKLocalAccountIdentification { public static final String JSON_PROPERTY_ACCOUNT_NUMBER = "accountNumber"; private String accountNumber; + public static final String JSON_PROPERTY_BANK_NAME = "bankName"; + private String bankName; + + public static final String JSON_PROPERTY_BIC = "bic"; + private String bic; + public static final String JSON_PROPERTY_CLEARING_CODE = "clearingCode"; private String clearingCode; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; /** * **hkLocal** @@ -81,7 +89,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.HKLOCAL; + private TypeEnum type; public HKLocalAccountIdentification() { } @@ -116,6 +124,66 @@ public void setAccountNumber(String accountNumber) { } + public HKLocalAccountIdentification bankName(String bankName) { + this.bankName = bankName; + return this; + } + + /** + * The bank's name. + * @return bankName + **/ + @ApiModelProperty(value = "The bank's name.") + @JsonProperty(JSON_PROPERTY_BANK_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getBankName() { + return bankName; + } + + + /** + * The bank's name. + * + * @param bankName + */ + @JsonProperty(JSON_PROPERTY_BANK_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBankName(String bankName) { + this.bankName = bankName; + } + + + public HKLocalAccountIdentification bic(String bic) { + this.bic = bic; + return this; + } + + /** + * The bank's 8- or 11-character BIC or SWIFT code. + * @return bic + **/ + @ApiModelProperty(value = "The bank's 8- or 11-character BIC or SWIFT code.") + @JsonProperty(JSON_PROPERTY_BIC) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getBic() { + return bic; + } + + + /** + * The bank's 8- or 11-character BIC or SWIFT code. + * + * @param bic + */ + @JsonProperty(JSON_PROPERTY_BIC) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBic(String bic) { + this.bic = bic; + } + + public HKLocalAccountIdentification clearingCode(String clearingCode) { this.clearingCode = clearingCode; return this; @@ -152,10 +220,10 @@ public HKLocalAccountIdentification formFactor(String formFactor) { } /** - * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor`å value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. + * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. * @return formFactor **/ - @ApiModelProperty(value = "Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor`å value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL.") + @ApiModelProperty(value = "Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL.") @JsonProperty(JSON_PROPERTY_FORM_FACTOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -165,7 +233,7 @@ public String getFormFactor() { /** - * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor`å value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. + * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. * * @param formFactor */ @@ -219,6 +287,8 @@ public boolean equals(Object o) { } HKLocalAccountIdentification hkLocalAccountIdentification = (HKLocalAccountIdentification) o; return Objects.equals(this.accountNumber, hkLocalAccountIdentification.accountNumber) && + Objects.equals(this.bankName, hkLocalAccountIdentification.bankName) && + Objects.equals(this.bic, hkLocalAccountIdentification.bic) && Objects.equals(this.clearingCode, hkLocalAccountIdentification.clearingCode) && Objects.equals(this.formFactor, hkLocalAccountIdentification.formFactor) && Objects.equals(this.type, hkLocalAccountIdentification.type); @@ -226,7 +296,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(accountNumber, clearingCode, formFactor, type); + return Objects.hash(accountNumber, bankName, bic, clearingCode, formFactor, type); } @Override @@ -234,6 +304,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class HKLocalAccountIdentification {\n"); sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n"); + sb.append(" bankName: ").append(toIndentedString(bankName)).append("\n"); + sb.append(" bic: ").append(toIndentedString(bic)).append("\n"); sb.append(" clearingCode: ").append(toIndentedString(clearingCode)).append("\n"); sb.append(" formFactor: ").append(toIndentedString(formFactor)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); diff --git a/src/main/java/com/adyen/model/legalentitymanagement/HULocalAccountIdentification.java b/src/main/java/com/adyen/model/legalentitymanagement/HULocalAccountIdentification.java index a1c26be20..d3b37bcc9 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/HULocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/HULocalAccountIdentification.java @@ -41,7 +41,7 @@ public class HULocalAccountIdentification { private String accountNumber; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; /** * **huLocal** @@ -77,7 +77,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.HULOCAL; + private TypeEnum type; public HULocalAccountIdentification() { } @@ -118,10 +118,10 @@ public HULocalAccountIdentification formFactor(String formFactor) { } /** - * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor`å value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. + * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. * @return formFactor **/ - @ApiModelProperty(value = "Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor`å value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL.") + @ApiModelProperty(value = "Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL.") @JsonProperty(JSON_PROPERTY_FORM_FACTOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -131,7 +131,7 @@ public String getFormFactor() { /** - * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor`å value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. + * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. * * @param formFactor */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/IbanAccountIdentification.java b/src/main/java/com/adyen/model/legalentitymanagement/IbanAccountIdentification.java index 9fbcd3b27..1f3d46fef 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/IbanAccountIdentification.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/IbanAccountIdentification.java @@ -38,7 +38,7 @@ public class IbanAccountIdentification { public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; public static final String JSON_PROPERTY_IBAN = "iban"; private String iban; @@ -77,7 +77,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.IBAN; + private TypeEnum type; public IbanAccountIdentification() { } @@ -88,10 +88,10 @@ public IbanAccountIdentification formFactor(String formFactor) { } /** - * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor`å value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. + * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. * @return formFactor **/ - @ApiModelProperty(value = "Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor`å value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL.") + @ApiModelProperty(value = "Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL.") @JsonProperty(JSON_PROPERTY_FORM_FACTOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -101,7 +101,7 @@ public String getFormFactor() { /** - * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor`å value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. + * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. * * @param formFactor */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/LegalEntity.java b/src/main/java/com/adyen/model/legalentitymanagement/LegalEntity.java index b4391497b..ec85ff926 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/LegalEntity.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/LegalEntity.java @@ -26,7 +26,6 @@ import com.adyen.model.legalentitymanagement.SoleProprietorship; import com.adyen.model.legalentitymanagement.TransferInstrumentReference; import com.adyen.model.legalentitymanagement.Trust; -import com.adyen.model.legalentitymanagement.UnincorporatedPartnership; import com.adyen.model.legalentitymanagement.VerificationDeadline; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; @@ -60,7 +59,6 @@ LegalEntity.JSON_PROPERTY_TRANSFER_INSTRUMENTS, LegalEntity.JSON_PROPERTY_TRUST, LegalEntity.JSON_PROPERTY_TYPE, - LegalEntity.JSON_PROPERTY_UNINCORPORATED_PARTNERSHIP, LegalEntity.JSON_PROPERTY_VERIFICATION_DEADLINES, LegalEntity.JSON_PROPERTY_VERIFICATION_PLAN }) @@ -147,9 +145,6 @@ public static TypeEnum fromValue(String value) { public static final String JSON_PROPERTY_TYPE = "type"; private TypeEnum type; - public static final String JSON_PROPERTY_UNINCORPORATED_PARTNERSHIP = "unincorporatedPartnership"; - private UnincorporatedPartnership unincorporatedPartnership; - public static final String JSON_PROPERTY_VERIFICATION_DEADLINES = "verificationDeadlines"; private List verificationDeadlines = null; @@ -601,36 +596,6 @@ public void setType(TypeEnum type) { } - public LegalEntity unincorporatedPartnership(UnincorporatedPartnership unincorporatedPartnership) { - this.unincorporatedPartnership = unincorporatedPartnership; - return this; - } - - /** - * Get unincorporatedPartnership - * @return unincorporatedPartnership - **/ - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_UNINCORPORATED_PARTNERSHIP) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public UnincorporatedPartnership getUnincorporatedPartnership() { - return unincorporatedPartnership; - } - - - /** - * unincorporatedPartnership - * - * @param unincorporatedPartnership - */ - @JsonProperty(JSON_PROPERTY_UNINCORPORATED_PARTNERSHIP) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUnincorporatedPartnership(UnincorporatedPartnership unincorporatedPartnership) { - this.unincorporatedPartnership = unincorporatedPartnership; - } - - public LegalEntity verificationDeadlines(List verificationDeadlines) { this.verificationDeadlines = verificationDeadlines; return this; @@ -675,10 +640,10 @@ public LegalEntity verificationPlan(String verificationPlan) { } /** - * A key-value pair that specifies the [verification process](https://docs.adyen.com/marketplaces-and-platforms/collect-verification-details/) for a legal entity. Set to **upfront** for [upfront verification](https://docs.adyen.com/marketplaces-and-platforms/collect-verification-details#upfront). + * A key-value pair that specifies the verification process for a legal entity. Set to **upfront** for upfront verification for [marketplaces](https://docs.adyen.com/marketplaces/onboard-users#upfront). * @return verificationPlan **/ - @ApiModelProperty(value = "A key-value pair that specifies the [verification process](https://docs.adyen.com/marketplaces-and-platforms/collect-verification-details/) for a legal entity. Set to **upfront** for [upfront verification](https://docs.adyen.com/marketplaces-and-platforms/collect-verification-details#upfront).") + @ApiModelProperty(value = "A key-value pair that specifies the verification process for a legal entity. Set to **upfront** for upfront verification for [marketplaces](https://docs.adyen.com/marketplaces/onboard-users#upfront).") @JsonProperty(JSON_PROPERTY_VERIFICATION_PLAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -688,7 +653,7 @@ public String getVerificationPlan() { /** - * A key-value pair that specifies the [verification process](https://docs.adyen.com/marketplaces-and-platforms/collect-verification-details/) for a legal entity. Set to **upfront** for [upfront verification](https://docs.adyen.com/marketplaces-and-platforms/collect-verification-details#upfront). + * A key-value pair that specifies the verification process for a legal entity. Set to **upfront** for upfront verification for [marketplaces](https://docs.adyen.com/marketplaces/onboard-users#upfront). * * @param verificationPlan */ @@ -724,14 +689,13 @@ public boolean equals(Object o) { Objects.equals(this.transferInstruments, legalEntity.transferInstruments) && Objects.equals(this.trust, legalEntity.trust) && Objects.equals(this.type, legalEntity.type) && - Objects.equals(this.unincorporatedPartnership, legalEntity.unincorporatedPartnership) && Objects.equals(this.verificationDeadlines, legalEntity.verificationDeadlines) && Objects.equals(this.verificationPlan, legalEntity.verificationPlan); } @Override public int hashCode() { - return Objects.hash(capabilities, documentDetails, documents, entityAssociations, id, individual, organization, problems, reference, soleProprietorship, transferInstruments, trust, type, unincorporatedPartnership, verificationDeadlines, verificationPlan); + return Objects.hash(capabilities, documentDetails, documents, entityAssociations, id, individual, organization, problems, reference, soleProprietorship, transferInstruments, trust, type, verificationDeadlines, verificationPlan); } @Override @@ -751,7 +715,6 @@ public String toString() { sb.append(" transferInstruments: ").append(toIndentedString(transferInstruments)).append("\n"); sb.append(" trust: ").append(toIndentedString(trust)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" unincorporatedPartnership: ").append(toIndentedString(unincorporatedPartnership)).append("\n"); sb.append(" verificationDeadlines: ").append(toIndentedString(verificationDeadlines)).append("\n"); sb.append(" verificationPlan: ").append(toIndentedString(verificationPlan)).append("\n"); sb.append("}"); diff --git a/src/main/java/com/adyen/model/legalentitymanagement/LegalEntityInfo.java b/src/main/java/com/adyen/model/legalentitymanagement/LegalEntityInfo.java index f73da120a..920a149d8 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/LegalEntityInfo.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/LegalEntityInfo.java @@ -22,7 +22,6 @@ import com.adyen.model.legalentitymanagement.Organization; import com.adyen.model.legalentitymanagement.SoleProprietorship; import com.adyen.model.legalentitymanagement.Trust; -import com.adyen.model.legalentitymanagement.UnincorporatedPartnership; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; @@ -50,7 +49,6 @@ LegalEntityInfo.JSON_PROPERTY_SOLE_PROPRIETORSHIP, LegalEntityInfo.JSON_PROPERTY_TRUST, LegalEntityInfo.JSON_PROPERTY_TYPE, - LegalEntityInfo.JSON_PROPERTY_UNINCORPORATED_PARTNERSHIP, LegalEntityInfo.JSON_PROPERTY_VERIFICATION_PLAN }) @@ -120,9 +118,6 @@ public static TypeEnum fromValue(String value) { public static final String JSON_PROPERTY_TYPE = "type"; private TypeEnum type; - public static final String JSON_PROPERTY_UNINCORPORATED_PARTNERSHIP = "unincorporatedPartnership"; - private UnincorporatedPartnership unincorporatedPartnership; - public static final String JSON_PROPERTY_VERIFICATION_PLAN = "verificationPlan"; private String verificationPlan; @@ -385,46 +380,16 @@ public void setType(TypeEnum type) { } - public LegalEntityInfo unincorporatedPartnership(UnincorporatedPartnership unincorporatedPartnership) { - this.unincorporatedPartnership = unincorporatedPartnership; - return this; - } - - /** - * Get unincorporatedPartnership - * @return unincorporatedPartnership - **/ - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_UNINCORPORATED_PARTNERSHIP) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public UnincorporatedPartnership getUnincorporatedPartnership() { - return unincorporatedPartnership; - } - - - /** - * unincorporatedPartnership - * - * @param unincorporatedPartnership - */ - @JsonProperty(JSON_PROPERTY_UNINCORPORATED_PARTNERSHIP) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUnincorporatedPartnership(UnincorporatedPartnership unincorporatedPartnership) { - this.unincorporatedPartnership = unincorporatedPartnership; - } - - public LegalEntityInfo verificationPlan(String verificationPlan) { this.verificationPlan = verificationPlan; return this; } /** - * A key-value pair that specifies the [verification process](https://docs.adyen.com/marketplaces-and-platforms/collect-verification-details/) for a legal entity. Set to **upfront** for [upfront verification](https://docs.adyen.com/marketplaces-and-platforms/collect-verification-details#upfront). + * A key-value pair that specifies the verification process for a legal entity. Set to **upfront** for upfront verification for [marketplaces](https://docs.adyen.com/marketplaces/onboard-users#upfront). * @return verificationPlan **/ - @ApiModelProperty(value = "A key-value pair that specifies the [verification process](https://docs.adyen.com/marketplaces-and-platforms/collect-verification-details/) for a legal entity. Set to **upfront** for [upfront verification](https://docs.adyen.com/marketplaces-and-platforms/collect-verification-details#upfront).") + @ApiModelProperty(value = "A key-value pair that specifies the verification process for a legal entity. Set to **upfront** for upfront verification for [marketplaces](https://docs.adyen.com/marketplaces/onboard-users#upfront).") @JsonProperty(JSON_PROPERTY_VERIFICATION_PLAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -434,7 +399,7 @@ public String getVerificationPlan() { /** - * A key-value pair that specifies the [verification process](https://docs.adyen.com/marketplaces-and-platforms/collect-verification-details/) for a legal entity. Set to **upfront** for [upfront verification](https://docs.adyen.com/marketplaces-and-platforms/collect-verification-details#upfront). + * A key-value pair that specifies the verification process for a legal entity. Set to **upfront** for upfront verification for [marketplaces](https://docs.adyen.com/marketplaces/onboard-users#upfront). * * @param verificationPlan */ @@ -465,13 +430,12 @@ public boolean equals(Object o) { Objects.equals(this.soleProprietorship, legalEntityInfo.soleProprietorship) && Objects.equals(this.trust, legalEntityInfo.trust) && Objects.equals(this.type, legalEntityInfo.type) && - Objects.equals(this.unincorporatedPartnership, legalEntityInfo.unincorporatedPartnership) && Objects.equals(this.verificationPlan, legalEntityInfo.verificationPlan); } @Override public int hashCode() { - return Objects.hash(capabilities, entityAssociations, individual, organization, reference, soleProprietorship, trust, type, unincorporatedPartnership, verificationPlan); + return Objects.hash(capabilities, entityAssociations, individual, organization, reference, soleProprietorship, trust, type, verificationPlan); } @Override @@ -486,7 +450,6 @@ public String toString() { sb.append(" soleProprietorship: ").append(toIndentedString(soleProprietorship)).append("\n"); sb.append(" trust: ").append(toIndentedString(trust)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" unincorporatedPartnership: ").append(toIndentedString(unincorporatedPartnership)).append("\n"); sb.append(" verificationPlan: ").append(toIndentedString(verificationPlan)).append("\n"); sb.append("}"); return sb.toString(); diff --git a/src/main/java/com/adyen/model/legalentitymanagement/LegalEntityInfoRequiredType.java b/src/main/java/com/adyen/model/legalentitymanagement/LegalEntityInfoRequiredType.java index e6c8ff665..5a0f89609 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/LegalEntityInfoRequiredType.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/LegalEntityInfoRequiredType.java @@ -22,7 +22,6 @@ import com.adyen.model.legalentitymanagement.Organization; import com.adyen.model.legalentitymanagement.SoleProprietorship; import com.adyen.model.legalentitymanagement.Trust; -import com.adyen.model.legalentitymanagement.UnincorporatedPartnership; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; @@ -50,7 +49,6 @@ LegalEntityInfoRequiredType.JSON_PROPERTY_SOLE_PROPRIETORSHIP, LegalEntityInfoRequiredType.JSON_PROPERTY_TRUST, LegalEntityInfoRequiredType.JSON_PROPERTY_TYPE, - LegalEntityInfoRequiredType.JSON_PROPERTY_UNINCORPORATED_PARTNERSHIP, LegalEntityInfoRequiredType.JSON_PROPERTY_VERIFICATION_PLAN }) @@ -120,9 +118,6 @@ public static TypeEnum fromValue(String value) { public static final String JSON_PROPERTY_TYPE = "type"; private TypeEnum type; - public static final String JSON_PROPERTY_UNINCORPORATED_PARTNERSHIP = "unincorporatedPartnership"; - private UnincorporatedPartnership unincorporatedPartnership; - public static final String JSON_PROPERTY_VERIFICATION_PLAN = "verificationPlan"; private String verificationPlan; @@ -385,46 +380,16 @@ public void setType(TypeEnum type) { } - public LegalEntityInfoRequiredType unincorporatedPartnership(UnincorporatedPartnership unincorporatedPartnership) { - this.unincorporatedPartnership = unincorporatedPartnership; - return this; - } - - /** - * Get unincorporatedPartnership - * @return unincorporatedPartnership - **/ - @ApiModelProperty(value = "") - @JsonProperty(JSON_PROPERTY_UNINCORPORATED_PARTNERSHIP) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public UnincorporatedPartnership getUnincorporatedPartnership() { - return unincorporatedPartnership; - } - - - /** - * unincorporatedPartnership - * - * @param unincorporatedPartnership - */ - @JsonProperty(JSON_PROPERTY_UNINCORPORATED_PARTNERSHIP) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUnincorporatedPartnership(UnincorporatedPartnership unincorporatedPartnership) { - this.unincorporatedPartnership = unincorporatedPartnership; - } - - public LegalEntityInfoRequiredType verificationPlan(String verificationPlan) { this.verificationPlan = verificationPlan; return this; } /** - * A key-value pair that specifies the [verification process](https://docs.adyen.com/marketplaces-and-platforms/collect-verification-details/) for a legal entity. Set to **upfront** for [upfront verification](https://docs.adyen.com/marketplaces-and-platforms/collect-verification-details#upfront). + * A key-value pair that specifies the verification process for a legal entity. Set to **upfront** for upfront verification for [marketplaces](https://docs.adyen.com/marketplaces/onboard-users#upfront). * @return verificationPlan **/ - @ApiModelProperty(value = "A key-value pair that specifies the [verification process](https://docs.adyen.com/marketplaces-and-platforms/collect-verification-details/) for a legal entity. Set to **upfront** for [upfront verification](https://docs.adyen.com/marketplaces-and-platforms/collect-verification-details#upfront).") + @ApiModelProperty(value = "A key-value pair that specifies the verification process for a legal entity. Set to **upfront** for upfront verification for [marketplaces](https://docs.adyen.com/marketplaces/onboard-users#upfront).") @JsonProperty(JSON_PROPERTY_VERIFICATION_PLAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -434,7 +399,7 @@ public String getVerificationPlan() { /** - * A key-value pair that specifies the [verification process](https://docs.adyen.com/marketplaces-and-platforms/collect-verification-details/) for a legal entity. Set to **upfront** for [upfront verification](https://docs.adyen.com/marketplaces-and-platforms/collect-verification-details#upfront). + * A key-value pair that specifies the verification process for a legal entity. Set to **upfront** for upfront verification for [marketplaces](https://docs.adyen.com/marketplaces/onboard-users#upfront). * * @param verificationPlan */ @@ -465,13 +430,12 @@ public boolean equals(Object o) { Objects.equals(this.soleProprietorship, legalEntityInfoRequiredType.soleProprietorship) && Objects.equals(this.trust, legalEntityInfoRequiredType.trust) && Objects.equals(this.type, legalEntityInfoRequiredType.type) && - Objects.equals(this.unincorporatedPartnership, legalEntityInfoRequiredType.unincorporatedPartnership) && Objects.equals(this.verificationPlan, legalEntityInfoRequiredType.verificationPlan); } @Override public int hashCode() { - return Objects.hash(capabilities, entityAssociations, individual, organization, reference, soleProprietorship, trust, type, unincorporatedPartnership, verificationPlan); + return Objects.hash(capabilities, entityAssociations, individual, organization, reference, soleProprietorship, trust, type, verificationPlan); } @Override @@ -486,7 +450,6 @@ public String toString() { sb.append(" soleProprietorship: ").append(toIndentedString(soleProprietorship)).append("\n"); sb.append(" trust: ").append(toIndentedString(trust)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" unincorporatedPartnership: ").append(toIndentedString(unincorporatedPartnership)).append("\n"); sb.append(" verificationPlan: ").append(toIndentedString(verificationPlan)).append("\n"); sb.append("}"); return sb.toString(); diff --git a/src/main/java/com/adyen/model/legalentitymanagement/NOLocalAccountIdentification.java b/src/main/java/com/adyen/model/legalentitymanagement/NOLocalAccountIdentification.java index 3c8fd62eb..ae305eb67 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/NOLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/NOLocalAccountIdentification.java @@ -41,7 +41,7 @@ public class NOLocalAccountIdentification { private String accountNumber; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; /** * **noLocal** @@ -77,7 +77,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.NOLOCAL; + private TypeEnum type; public NOLocalAccountIdentification() { } @@ -118,10 +118,10 @@ public NOLocalAccountIdentification formFactor(String formFactor) { } /** - * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor`å value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. + * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. * @return formFactor **/ - @ApiModelProperty(value = "Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor`å value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL.") + @ApiModelProperty(value = "Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL.") @JsonProperty(JSON_PROPERTY_FORM_FACTOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -131,7 +131,7 @@ public String getFormFactor() { /** - * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor`å value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. + * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. * * @param formFactor */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/NZLocalAccountIdentification.java b/src/main/java/com/adyen/model/legalentitymanagement/NZLocalAccountIdentification.java index 20cc74160..4985d827d 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/NZLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/NZLocalAccountIdentification.java @@ -41,7 +41,7 @@ public class NZLocalAccountIdentification { private String accountNumber; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; /** * **nzLocal** @@ -77,7 +77,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.NZLOCAL; + private TypeEnum type; public NZLocalAccountIdentification() { } @@ -118,10 +118,10 @@ public NZLocalAccountIdentification formFactor(String formFactor) { } /** - * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor`å value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. + * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. * @return formFactor **/ - @ApiModelProperty(value = "Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor`å value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL.") + @ApiModelProperty(value = "Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL.") @JsonProperty(JSON_PROPERTY_FORM_FACTOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -131,7 +131,7 @@ public String getFormFactor() { /** - * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor`å value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. + * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. * * @param formFactor */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/NumberAndBicAccountIdentification.java b/src/main/java/com/adyen/model/legalentitymanagement/NumberAndBicAccountIdentification.java index c94f14a5a..5988c3cd7 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/NumberAndBicAccountIdentification.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/NumberAndBicAccountIdentification.java @@ -50,7 +50,7 @@ public class NumberAndBicAccountIdentification { private String bic; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; /** * **numberAndBic** @@ -86,7 +86,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.NUMBERANDBIC; + private TypeEnum type; public NumberAndBicAccountIdentification() { } @@ -187,10 +187,10 @@ public NumberAndBicAccountIdentification formFactor(String formFactor) { } /** - * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor`å value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. + * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. * @return formFactor **/ - @ApiModelProperty(value = "Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor`å value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL.") + @ApiModelProperty(value = "Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL.") @JsonProperty(JSON_PROPERTY_FORM_FACTOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -200,7 +200,7 @@ public String getFormFactor() { /** - * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor`å value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. + * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. * * @param formFactor */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/OnboardingLinkInfo.java b/src/main/java/com/adyen/model/legalentitymanagement/OnboardingLinkInfo.java index a29b66494..53ef33df1 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/OnboardingLinkInfo.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/OnboardingLinkInfo.java @@ -62,10 +62,10 @@ public OnboardingLinkInfo locale(String locale) { } /** - * The language that will be used for the page, specified by a combination of two letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language and [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. See [possible values](https://docs.adyen.com/marketplaces-and-platforms/collect-verification-details/hosted#supported-languages). If not specified in the request or if the language is not supported, the page uses the browser language. If the browser language is not supported, the page uses **en-US** by default. + * The language that will be used for the page, specified by a combination of two letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language and [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. See possible valuesfor [marketplaces](https://docs.adyen.com/marketplaces/onboard-users/hosted#supported-languages) or [platforms](https://docs.adyen.com/platforms/onboard-users/hosted#supported-languages). If not specified in the request or if the language is not supported, the page uses the browser language. If the browser language is not supported, the page uses **en-US** by default. * @return locale **/ - @ApiModelProperty(value = "The language that will be used for the page, specified by a combination of two letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language and [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. See [possible values](https://docs.adyen.com/marketplaces-and-platforms/collect-verification-details/hosted#supported-languages). If not specified in the request or if the language is not supported, the page uses the browser language. If the browser language is not supported, the page uses **en-US** by default.") + @ApiModelProperty(value = "The language that will be used for the page, specified by a combination of two letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language and [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. See possible valuesfor [marketplaces](https://docs.adyen.com/marketplaces/onboard-users/hosted#supported-languages) or [platforms](https://docs.adyen.com/platforms/onboard-users/hosted#supported-languages). If not specified in the request or if the language is not supported, the page uses the browser language. If the browser language is not supported, the page uses **en-US** by default.") @JsonProperty(JSON_PROPERTY_LOCALE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -75,7 +75,7 @@ public String getLocale() { /** - * The language that will be used for the page, specified by a combination of two letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language and [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. See [possible values](https://docs.adyen.com/marketplaces-and-platforms/collect-verification-details/hosted#supported-languages). If not specified in the request or if the language is not supported, the page uses the browser language. If the browser language is not supported, the page uses **en-US** by default. + * The language that will be used for the page, specified by a combination of two letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language and [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. See possible valuesfor [marketplaces](https://docs.adyen.com/marketplaces/onboard-users/hosted#supported-languages) or [platforms](https://docs.adyen.com/platforms/onboard-users/hosted#supported-languages). If not specified in the request or if the language is not supported, the page uses the browser language. If the browser language is not supported, the page uses **en-US** by default. * * @param locale */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/PLLocalAccountIdentification.java b/src/main/java/com/adyen/model/legalentitymanagement/PLLocalAccountIdentification.java index 64956a421..5e57b376e 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/PLLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/PLLocalAccountIdentification.java @@ -41,7 +41,7 @@ public class PLLocalAccountIdentification { private String accountNumber; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; /** * **plLocal** @@ -77,7 +77,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.PLLOCAL; + private TypeEnum type; public PLLocalAccountIdentification() { } @@ -118,10 +118,10 @@ public PLLocalAccountIdentification formFactor(String formFactor) { } /** - * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor`å value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. + * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. * @return formFactor **/ - @ApiModelProperty(value = "Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor`å value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL.") + @ApiModelProperty(value = "Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL.") @JsonProperty(JSON_PROPERTY_FORM_FACTOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -131,7 +131,7 @@ public String getFormFactor() { /** - * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor`å value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. + * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. * * @param formFactor */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/SELocalAccountIdentification.java b/src/main/java/com/adyen/model/legalentitymanagement/SELocalAccountIdentification.java index 43ffbe6af..50faa2460 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/SELocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/SELocalAccountIdentification.java @@ -45,7 +45,7 @@ public class SELocalAccountIdentification { private String clearingNumber; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; /** * **seLocal** @@ -81,7 +81,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.SELOCAL; + private TypeEnum type; public SELocalAccountIdentification() { } @@ -152,10 +152,10 @@ public SELocalAccountIdentification formFactor(String formFactor) { } /** - * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor`å value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. + * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. * @return formFactor **/ - @ApiModelProperty(value = "Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor`å value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL.") + @ApiModelProperty(value = "Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL.") @JsonProperty(JSON_PROPERTY_FORM_FACTOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -165,7 +165,7 @@ public String getFormFactor() { /** - * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor`å value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. + * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. * * @param formFactor */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/SGLocalAccountIdentification.java b/src/main/java/com/adyen/model/legalentitymanagement/SGLocalAccountIdentification.java index 5c34d86c1..97f18e869 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/SGLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/SGLocalAccountIdentification.java @@ -45,7 +45,7 @@ public class SGLocalAccountIdentification { private String bic; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; /** * **sgLocal** @@ -81,7 +81,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.SGLOCAL; + private TypeEnum type; public SGLocalAccountIdentification() { } @@ -152,10 +152,10 @@ public SGLocalAccountIdentification formFactor(String formFactor) { } /** - * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor`å value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. + * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. * @return formFactor **/ - @ApiModelProperty(value = "Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor`å value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL.") + @ApiModelProperty(value = "Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL.") @JsonProperty(JSON_PROPERTY_FORM_FACTOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -165,7 +165,7 @@ public String getFormFactor() { /** - * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor`å value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. + * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. * * @param formFactor */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/UKLocalAccountIdentification.java b/src/main/java/com/adyen/model/legalentitymanagement/UKLocalAccountIdentification.java index 7c2ec3e7f..9509645a8 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/UKLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/UKLocalAccountIdentification.java @@ -42,7 +42,7 @@ public class UKLocalAccountIdentification { private String accountNumber; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; public static final String JSON_PROPERTY_SORT_CODE = "sortCode"; private String sortCode; @@ -81,7 +81,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.UKLOCAL; + private TypeEnum type; public UKLocalAccountIdentification() { } @@ -122,10 +122,10 @@ public UKLocalAccountIdentification formFactor(String formFactor) { } /** - * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor`å value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. + * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. * @return formFactor **/ - @ApiModelProperty(value = "Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor`å value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL.") + @ApiModelProperty(value = "Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL.") @JsonProperty(JSON_PROPERTY_FORM_FACTOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -135,7 +135,7 @@ public String getFormFactor() { /** - * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor`å value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. + * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. * * @param formFactor */ diff --git a/src/main/java/com/adyen/model/legalentitymanagement/USLocalAccountIdentification.java b/src/main/java/com/adyen/model/legalentitymanagement/USLocalAccountIdentification.java index d2166d238..48d2a454f 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/USLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/USLocalAccountIdentification.java @@ -78,10 +78,10 @@ public static AccountTypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_ACCOUNT_TYPE = "accountType"; - private AccountTypeEnum accountType = AccountTypeEnum.CHECKING; + private AccountTypeEnum accountType; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; public static final String JSON_PROPERTY_ROUTING_NUMBER = "routingNumber"; private String routingNumber; @@ -120,7 +120,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.USLOCAL; + private TypeEnum type; public USLocalAccountIdentification() { } @@ -191,10 +191,10 @@ public USLocalAccountIdentification formFactor(String formFactor) { } /** - * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor`å value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. + * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. * @return formFactor **/ - @ApiModelProperty(value = "Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor`å value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL.") + @ApiModelProperty(value = "Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL.") @JsonProperty(JSON_PROPERTY_FORM_FACTOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -204,7 +204,7 @@ public String getFormFactor() { /** - * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor`å value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. + * Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. * * @param formFactor */ diff --git a/src/main/java/com/adyen/model/management/InstallAndroidAppDetails.java b/src/main/java/com/adyen/model/management/InstallAndroidAppDetails.java index ae5615135..d1c4d9fc5 100644 --- a/src/main/java/com/adyen/model/management/InstallAndroidAppDetails.java +++ b/src/main/java/com/adyen/model/management/InstallAndroidAppDetails.java @@ -73,7 +73,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.INSTALLANDROIDAPP; + private TypeEnum type; public InstallAndroidAppDetails() { } diff --git a/src/main/java/com/adyen/model/management/InstallAndroidCertificateDetails.java b/src/main/java/com/adyen/model/management/InstallAndroidCertificateDetails.java index 9801636cb..72e0a6b5f 100644 --- a/src/main/java/com/adyen/model/management/InstallAndroidCertificateDetails.java +++ b/src/main/java/com/adyen/model/management/InstallAndroidCertificateDetails.java @@ -73,7 +73,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.INSTALLANDROIDCERTIFICATE; + private TypeEnum type; public InstallAndroidCertificateDetails() { } diff --git a/src/main/java/com/adyen/model/management/PaymentMethod.java b/src/main/java/com/adyen/model/management/PaymentMethod.java index dcabae226..e224ad7af 100644 --- a/src/main/java/com/adyen/model/management/PaymentMethod.java +++ b/src/main/java/com/adyen/model/management/PaymentMethod.java @@ -367,10 +367,10 @@ public PaymentMethod businessLineId(String businessLineId) { } /** - * The unique identifier of the business line. Required if you have a [platform setup](https://docs.adyen.com/marketplaces-and-platforms/platform-structure-resources/platform-setup/). + * The unique identifier of the business line. Required if you are a [platform model](https://docs.adyen.com/platforms). * @return businessLineId **/ - @ApiModelProperty(value = "The unique identifier of the business line. Required if you have a [platform setup](https://docs.adyen.com/marketplaces-and-platforms/platform-structure-resources/platform-setup/).") + @ApiModelProperty(value = "The unique identifier of the business line. Required if you are a [platform model](https://docs.adyen.com/platforms).") @JsonProperty(JSON_PROPERTY_BUSINESS_LINE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -380,7 +380,7 @@ public String getBusinessLineId() { /** - * The unique identifier of the business line. Required if you have a [platform setup](https://docs.adyen.com/marketplaces-and-platforms/platform-structure-resources/platform-setup/). + * The unique identifier of the business line. Required if you are a [platform model](https://docs.adyen.com/platforms). * * @param businessLineId */ diff --git a/src/main/java/com/adyen/model/management/PaymentMethodSetupInfo.java b/src/main/java/com/adyen/model/management/PaymentMethodSetupInfo.java index d0656cd31..5144f6801 100644 --- a/src/main/java/com/adyen/model/management/PaymentMethodSetupInfo.java +++ b/src/main/java/com/adyen/model/management/PaymentMethodSetupInfo.java @@ -450,10 +450,10 @@ public PaymentMethodSetupInfo businessLineId(String businessLineId) { } /** - * The unique identifier of the business line. Required if you have a [platform setup](https://docs.adyen.com/marketplaces-and-platforms/platform-structure-resources/platform-setup/). + * The unique identifier of the business line. Required if you are a [platform model](https://docs.adyen.com/platforms). * @return businessLineId **/ - @ApiModelProperty(value = "The unique identifier of the business line. Required if you have a [platform setup](https://docs.adyen.com/marketplaces-and-platforms/platform-structure-resources/platform-setup/).") + @ApiModelProperty(value = "The unique identifier of the business line. Required if you are a [platform model](https://docs.adyen.com/platforms).") @JsonProperty(JSON_PROPERTY_BUSINESS_LINE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -463,7 +463,7 @@ public String getBusinessLineId() { /** - * The unique identifier of the business line. Required if you have a [platform setup](https://docs.adyen.com/marketplaces-and-platforms/platform-structure-resources/platform-setup/). + * The unique identifier of the business line. Required if you are a [platform model](https://docs.adyen.com/platforms). * * @param businessLineId */ diff --git a/src/main/java/com/adyen/model/management/ReleaseUpdateDetails.java b/src/main/java/com/adyen/model/management/ReleaseUpdateDetails.java index 0eea5f5ad..61f71d706 100644 --- a/src/main/java/com/adyen/model/management/ReleaseUpdateDetails.java +++ b/src/main/java/com/adyen/model/management/ReleaseUpdateDetails.java @@ -70,7 +70,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.RELEASEUPDATE; + private TypeEnum type; public static final String JSON_PROPERTY_UPDATE_AT_FIRST_MAINTENANCE_CALL = "updateAtFirstMaintenanceCall"; private Boolean updateAtFirstMaintenanceCall; diff --git a/src/main/java/com/adyen/model/management/StoreSplitConfiguration.java b/src/main/java/com/adyen/model/management/StoreSplitConfiguration.java index 22062dc61..851ab1ab1 100644 --- a/src/main/java/com/adyen/model/management/StoreSplitConfiguration.java +++ b/src/main/java/com/adyen/model/management/StoreSplitConfiguration.java @@ -81,10 +81,10 @@ public StoreSplitConfiguration splitConfigurationId(String splitConfigurationId) } /** - * The unique identifier of the [split configuration profile](https://docs.adyen.com/marketplaces-and-platforms/automatic-split-configuration/create-split-configuration/). + * The unique identifier of the [split configuration profile](https://docs.adyen.com/platforms/automatic-split-configuration/create-split-configuration/). * @return splitConfigurationId **/ - @ApiModelProperty(value = "The unique identifier of the [split configuration profile](https://docs.adyen.com/marketplaces-and-platforms/automatic-split-configuration/create-split-configuration/).") + @ApiModelProperty(value = "The unique identifier of the [split configuration profile](https://docs.adyen.com/platforms/automatic-split-configuration/create-split-configuration/).") @JsonProperty(JSON_PROPERTY_SPLIT_CONFIGURATION_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -94,7 +94,7 @@ public String getSplitConfigurationId() { /** - * The unique identifier of the [split configuration profile](https://docs.adyen.com/marketplaces-and-platforms/automatic-split-configuration/create-split-configuration/). + * The unique identifier of the [split configuration profile](https://docs.adyen.com/platforms/automatic-split-configuration/create-split-configuration/). * * @param splitConfigurationId */ diff --git a/src/main/java/com/adyen/model/management/Terminal.java b/src/main/java/com/adyen/model/management/Terminal.java index 61fd3d35a..afc8ee26f 100644 --- a/src/main/java/com/adyen/model/management/Terminal.java +++ b/src/main/java/com/adyen/model/management/Terminal.java @@ -41,6 +41,7 @@ Terminal.JSON_PROPERTY_LAST_ACTIVITY_AT, Terminal.JSON_PROPERTY_LAST_TRANSACTION_AT, Terminal.JSON_PROPERTY_MODEL, + Terminal.JSON_PROPERTY_RESTART_LOCAL_TIME, Terminal.JSON_PROPERTY_SERIAL_NUMBER }) @@ -66,6 +67,9 @@ public class Terminal { public static final String JSON_PROPERTY_MODEL = "model"; private String model; + public static final String JSON_PROPERTY_RESTART_LOCAL_TIME = "restartLocalTime"; + private String restartLocalTime; + public static final String JSON_PROPERTY_SERIAL_NUMBER = "serialNumber"; private String serialNumber; @@ -282,6 +286,36 @@ public void setModel(String model) { } + public Terminal restartLocalTime(String restartLocalTime) { + this.restartLocalTime = restartLocalTime; + return this; + } + + /** + * The exact time of the terminal reboot, in the timezone of the terminal in **HH:mm** format. + * @return restartLocalTime + **/ + @ApiModelProperty(value = "The exact time of the terminal reboot, in the timezone of the terminal in **HH:mm** format.") + @JsonProperty(JSON_PROPERTY_RESTART_LOCAL_TIME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getRestartLocalTime() { + return restartLocalTime; + } + + + /** + * The exact time of the terminal reboot, in the timezone of the terminal in **HH:mm** format. + * + * @param restartLocalTime + */ + @JsonProperty(JSON_PROPERTY_RESTART_LOCAL_TIME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setRestartLocalTime(String restartLocalTime) { + this.restartLocalTime = restartLocalTime; + } + + public Terminal serialNumber(String serialNumber) { this.serialNumber = serialNumber; return this; @@ -331,12 +365,13 @@ public boolean equals(Object o) { Objects.equals(this.lastActivityAt, terminal.lastActivityAt) && Objects.equals(this.lastTransactionAt, terminal.lastTransactionAt) && Objects.equals(this.model, terminal.model) && + Objects.equals(this.restartLocalTime, terminal.restartLocalTime) && Objects.equals(this.serialNumber, terminal.serialNumber); } @Override public int hashCode() { - return Objects.hash(assignment, connectivity, firmwareVersion, id, lastActivityAt, lastTransactionAt, model, serialNumber); + return Objects.hash(assignment, connectivity, firmwareVersion, id, lastActivityAt, lastTransactionAt, model, restartLocalTime, serialNumber); } @Override @@ -350,6 +385,7 @@ public String toString() { sb.append(" lastActivityAt: ").append(toIndentedString(lastActivityAt)).append("\n"); sb.append(" lastTransactionAt: ").append(toIndentedString(lastTransactionAt)).append("\n"); sb.append(" model: ").append(toIndentedString(model)).append("\n"); + sb.append(" restartLocalTime: ").append(toIndentedString(restartLocalTime)).append("\n"); sb.append(" serialNumber: ").append(toIndentedString(serialNumber)).append("\n"); sb.append("}"); return sb.toString(); diff --git a/src/main/java/com/adyen/model/management/TransactionDescriptionInfo.java b/src/main/java/com/adyen/model/management/TransactionDescriptionInfo.java index bcb6f4fff..1d1391202 100644 --- a/src/main/java/com/adyen/model/management/TransactionDescriptionInfo.java +++ b/src/main/java/com/adyen/model/management/TransactionDescriptionInfo.java @@ -77,7 +77,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.DYNAMIC; + private TypeEnum type; public TransactionDescriptionInfo() { } diff --git a/src/main/java/com/adyen/model/management/UninstallAndroidAppDetails.java b/src/main/java/com/adyen/model/management/UninstallAndroidAppDetails.java index bb1198653..e1089b90b 100644 --- a/src/main/java/com/adyen/model/management/UninstallAndroidAppDetails.java +++ b/src/main/java/com/adyen/model/management/UninstallAndroidAppDetails.java @@ -73,7 +73,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.UNINSTALLANDROIDAPP; + private TypeEnum type; public UninstallAndroidAppDetails() { } diff --git a/src/main/java/com/adyen/model/management/UninstallAndroidCertificateDetails.java b/src/main/java/com/adyen/model/management/UninstallAndroidCertificateDetails.java index 71c6eb156..271a4536d 100644 --- a/src/main/java/com/adyen/model/management/UninstallAndroidCertificateDetails.java +++ b/src/main/java/com/adyen/model/management/UninstallAndroidCertificateDetails.java @@ -73,7 +73,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.UNINSTALLANDROIDCERTIFICATE; + private TypeEnum type; public UninstallAndroidCertificateDetails() { } diff --git a/src/main/java/com/adyen/model/payment/BrowserInfo.java b/src/main/java/com/adyen/model/payment/BrowserInfo.java index 25bcf5502..04d8c91d3 100644 --- a/src/main/java/com/adyen/model/payment/BrowserInfo.java +++ b/src/main/java/com/adyen/model/payment/BrowserInfo.java @@ -53,7 +53,7 @@ public class BrowserInfo { private Boolean javaEnabled; public static final String JSON_PROPERTY_JAVA_SCRIPT_ENABLED = "javaScriptEnabled"; - private Boolean javaScriptEnabled = true; + private Boolean javaScriptEnabled; public static final String JSON_PROPERTY_LANGUAGE = "language"; private String language; diff --git a/src/main/java/com/adyen/model/payment/DeviceRenderOptions.java b/src/main/java/com/adyen/model/payment/DeviceRenderOptions.java index 2c1b804c1..fb0ce2017 100644 --- a/src/main/java/com/adyen/model/payment/DeviceRenderOptions.java +++ b/src/main/java/com/adyen/model/payment/DeviceRenderOptions.java @@ -76,7 +76,7 @@ public static SdkInterfaceEnum fromValue(String value) { } public static final String JSON_PROPERTY_SDK_INTERFACE = "sdkInterface"; - private SdkInterfaceEnum sdkInterface = SdkInterfaceEnum.BOTH; + private SdkInterfaceEnum sdkInterface; /** * Gets or Sets sdkUiType diff --git a/src/main/java/com/adyen/model/payment/PaymentRequest.java b/src/main/java/com/adyen/model/payment/PaymentRequest.java index eaf935245..7ebc04460 100644 --- a/src/main/java/com/adyen/model/payment/PaymentRequest.java +++ b/src/main/java/com/adyen/model/payment/PaymentRequest.java @@ -409,7 +409,7 @@ public static ShopperInteractionEnum fromValue(String value) { private ThreeDS2RequestData threeDS2RequestData; public static final String JSON_PROPERTY_THREE_D_S_AUTHENTICATION_ONLY = "threeDSAuthenticationOnly"; - private Boolean threeDSAuthenticationOnly = false; + private Boolean threeDSAuthenticationOnly; public static final String JSON_PROPERTY_TOTALS_GROUP = "totalsGroup"; private String totalsGroup; diff --git a/src/main/java/com/adyen/model/payment/PaymentRequest3d.java b/src/main/java/com/adyen/model/payment/PaymentRequest3d.java index f6d47a110..0b1967233 100644 --- a/src/main/java/com/adyen/model/payment/PaymentRequest3d.java +++ b/src/main/java/com/adyen/model/payment/PaymentRequest3d.java @@ -300,7 +300,7 @@ public static ShopperInteractionEnum fromValue(String value) { private ThreeDS2RequestData threeDS2RequestData; public static final String JSON_PROPERTY_THREE_D_S_AUTHENTICATION_ONLY = "threeDSAuthenticationOnly"; - private Boolean threeDSAuthenticationOnly = false; + private Boolean threeDSAuthenticationOnly; public static final String JSON_PROPERTY_TOTALS_GROUP = "totalsGroup"; private String totalsGroup; diff --git a/src/main/java/com/adyen/model/payment/PaymentRequest3ds2.java b/src/main/java/com/adyen/model/payment/PaymentRequest3ds2.java index b9602859a..d3e3fbe6c 100644 --- a/src/main/java/com/adyen/model/payment/PaymentRequest3ds2.java +++ b/src/main/java/com/adyen/model/payment/PaymentRequest3ds2.java @@ -301,7 +301,7 @@ public static ShopperInteractionEnum fromValue(String value) { private String threeDS2Token; public static final String JSON_PROPERTY_THREE_D_S_AUTHENTICATION_ONLY = "threeDSAuthenticationOnly"; - private Boolean threeDSAuthenticationOnly = false; + private Boolean threeDSAuthenticationOnly; public static final String JSON_PROPERTY_TOTALS_GROUP = "totalsGroup"; private String totalsGroup; diff --git a/src/main/java/com/adyen/model/payment/ThreeDS2RequestData.java b/src/main/java/com/adyen/model/payment/ThreeDS2RequestData.java index edfe56868..c8fdf327f 100644 --- a/src/main/java/com/adyen/model/payment/ThreeDS2RequestData.java +++ b/src/main/java/com/adyen/model/payment/ThreeDS2RequestData.java @@ -169,7 +169,7 @@ public static AddrMatchEnum fromValue(String value) { public static final String JSON_PROPERTY_AUTHENTICATION_ONLY = "authenticationOnly"; @Deprecated - private Boolean authenticationOnly = false; + private Boolean authenticationOnly; /** * Possibility to specify a preference for receiving a challenge from the issuer. Allowed values: * `noPreference` * `requestNoChallenge` * `requestChallenge` * `requestChallengeAsMandate` @@ -303,7 +303,7 @@ public static PlatformEnum fromValue(String value) { private SDKEphemPubKey sdkEphemPubKey; public static final String JSON_PROPERTY_SDK_MAX_TIMEOUT = "sdkMaxTimeout"; - private Integer sdkMaxTimeout = 60; + private Integer sdkMaxTimeout; public static final String JSON_PROPERTY_SDK_REFERENCE_NUMBER = "sdkReferenceNumber"; private String sdkReferenceNumber; diff --git a/src/main/java/com/adyen/model/transfers/AULocalAccountIdentification.java b/src/main/java/com/adyen/model/transfers/AULocalAccountIdentification.java index 58af1151d..e17089262 100644 --- a/src/main/java/com/adyen/model/transfers/AULocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transfers/AULocalAccountIdentification.java @@ -45,7 +45,7 @@ public class AULocalAccountIdentification { private String bsbCode; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; /** * **auLocal** @@ -81,7 +81,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.AULOCAL; + private TypeEnum type; public AULocalAccountIdentification() { } diff --git a/src/main/java/com/adyen/model/transfers/BRLocalAccountIdentification.java b/src/main/java/com/adyen/model/transfers/BRLocalAccountIdentification.java index a05ca169a..698166461 100644 --- a/src/main/java/com/adyen/model/transfers/BRLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transfers/BRLocalAccountIdentification.java @@ -49,7 +49,7 @@ public class BRLocalAccountIdentification { private String branchNumber; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; /** * **brLocal** @@ -85,7 +85,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.BRLOCAL; + private TypeEnum type; public BRLocalAccountIdentification() { } diff --git a/src/main/java/com/adyen/model/transfers/BankCategoryData.java b/src/main/java/com/adyen/model/transfers/BankCategoryData.java index 382d1a62a..7f3b0a5ed 100644 --- a/src/main/java/com/adyen/model/transfers/BankCategoryData.java +++ b/src/main/java/com/adyen/model/transfers/BankCategoryData.java @@ -116,7 +116,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.BANK; + private TypeEnum type; public BankCategoryData() { } diff --git a/src/main/java/com/adyen/model/transfers/CALocalAccountIdentification.java b/src/main/java/com/adyen/model/transfers/CALocalAccountIdentification.java index 4965bae43..35421017e 100644 --- a/src/main/java/com/adyen/model/transfers/CALocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transfers/CALocalAccountIdentification.java @@ -79,10 +79,10 @@ public static AccountTypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_ACCOUNT_TYPE = "accountType"; - private AccountTypeEnum accountType = AccountTypeEnum.CHECKING; + private AccountTypeEnum accountType; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; public static final String JSON_PROPERTY_INSTITUTION_NUMBER = "institutionNumber"; private String institutionNumber; @@ -124,7 +124,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.CALOCAL; + private TypeEnum type; public CALocalAccountIdentification() { } diff --git a/src/main/java/com/adyen/model/transfers/CZLocalAccountIdentification.java b/src/main/java/com/adyen/model/transfers/CZLocalAccountIdentification.java index aefb3baf9..9ff71c0be 100644 --- a/src/main/java/com/adyen/model/transfers/CZLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transfers/CZLocalAccountIdentification.java @@ -45,7 +45,7 @@ public class CZLocalAccountIdentification { private String bankCode; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; /** * **czLocal** @@ -81,7 +81,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.CZLOCAL; + private TypeEnum type; public CZLocalAccountIdentification() { } diff --git a/src/main/java/com/adyen/model/transfers/DKLocalAccountIdentification.java b/src/main/java/com/adyen/model/transfers/DKLocalAccountIdentification.java index 8bf2176f7..a4b4c2283 100644 --- a/src/main/java/com/adyen/model/transfers/DKLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transfers/DKLocalAccountIdentification.java @@ -45,7 +45,7 @@ public class DKLocalAccountIdentification { private String bankCode; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; /** * **dkLocal** @@ -81,7 +81,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.DKLOCAL; + private TypeEnum type; public DKLocalAccountIdentification() { } diff --git a/src/main/java/com/adyen/model/transfers/HKLocalAccountIdentification.java b/src/main/java/com/adyen/model/transfers/HKLocalAccountIdentification.java index 848e5fd6f..89b14d9c9 100644 --- a/src/main/java/com/adyen/model/transfers/HKLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transfers/HKLocalAccountIdentification.java @@ -45,7 +45,7 @@ public class HKLocalAccountIdentification { private String clearingCode; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; /** * **hkLocal** @@ -81,7 +81,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.HKLOCAL; + private TypeEnum type; public HKLocalAccountIdentification() { } diff --git a/src/main/java/com/adyen/model/transfers/HULocalAccountIdentification.java b/src/main/java/com/adyen/model/transfers/HULocalAccountIdentification.java index 5ffd6dbfe..ac74ccb9a 100644 --- a/src/main/java/com/adyen/model/transfers/HULocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transfers/HULocalAccountIdentification.java @@ -41,7 +41,7 @@ public class HULocalAccountIdentification { private String accountNumber; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; /** * **huLocal** @@ -77,7 +77,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.HULOCAL; + private TypeEnum type; public HULocalAccountIdentification() { } diff --git a/src/main/java/com/adyen/model/transfers/IbanAccountIdentification.java b/src/main/java/com/adyen/model/transfers/IbanAccountIdentification.java index 6ad47acda..a7f9ba327 100644 --- a/src/main/java/com/adyen/model/transfers/IbanAccountIdentification.java +++ b/src/main/java/com/adyen/model/transfers/IbanAccountIdentification.java @@ -38,7 +38,7 @@ public class IbanAccountIdentification { public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; public static final String JSON_PROPERTY_IBAN = "iban"; private String iban; @@ -77,7 +77,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.IBAN; + private TypeEnum type; public IbanAccountIdentification() { } diff --git a/src/main/java/com/adyen/model/transfers/InternalCategoryData.java b/src/main/java/com/adyen/model/transfers/InternalCategoryData.java index 4efa3d6d7..528799226 100644 --- a/src/main/java/com/adyen/model/transfers/InternalCategoryData.java +++ b/src/main/java/com/adyen/model/transfers/InternalCategoryData.java @@ -77,7 +77,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.INTERNAL; + private TypeEnum type; public InternalCategoryData() { } diff --git a/src/main/java/com/adyen/model/transfers/IssuedCard.java b/src/main/java/com/adyen/model/transfers/IssuedCard.java index 82f7e884d..11806846e 100644 --- a/src/main/java/com/adyen/model/transfers/IssuedCard.java +++ b/src/main/java/com/adyen/model/transfers/IssuedCard.java @@ -190,7 +190,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.ISSUEDCARD; + private TypeEnum type; public static final String JSON_PROPERTY_VALIDATION_FACTS = "validationFacts"; private List validationFacts = null; diff --git a/src/main/java/com/adyen/model/transfers/NOLocalAccountIdentification.java b/src/main/java/com/adyen/model/transfers/NOLocalAccountIdentification.java index 56b310f3b..46d4b6918 100644 --- a/src/main/java/com/adyen/model/transfers/NOLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transfers/NOLocalAccountIdentification.java @@ -41,7 +41,7 @@ public class NOLocalAccountIdentification { private String accountNumber; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; /** * **noLocal** @@ -77,7 +77,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.NOLOCAL; + private TypeEnum type; public NOLocalAccountIdentification() { } diff --git a/src/main/java/com/adyen/model/transfers/NZLocalAccountIdentification.java b/src/main/java/com/adyen/model/transfers/NZLocalAccountIdentification.java index 398e11cc3..b42d5daab 100644 --- a/src/main/java/com/adyen/model/transfers/NZLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transfers/NZLocalAccountIdentification.java @@ -41,7 +41,7 @@ public class NZLocalAccountIdentification { private String accountNumber; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; /** * **nzLocal** @@ -77,7 +77,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.NZLOCAL; + private TypeEnum type; public NZLocalAccountIdentification() { } diff --git a/src/main/java/com/adyen/model/transfers/NumberAndBicAccountIdentification.java b/src/main/java/com/adyen/model/transfers/NumberAndBicAccountIdentification.java index 3cd397557..2c10c20b0 100644 --- a/src/main/java/com/adyen/model/transfers/NumberAndBicAccountIdentification.java +++ b/src/main/java/com/adyen/model/transfers/NumberAndBicAccountIdentification.java @@ -50,7 +50,7 @@ public class NumberAndBicAccountIdentification { private String bic; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; /** * **numberAndBic** @@ -86,7 +86,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.NUMBERANDBIC; + private TypeEnum type; public NumberAndBicAccountIdentification() { } diff --git a/src/main/java/com/adyen/model/transfers/PLLocalAccountIdentification.java b/src/main/java/com/adyen/model/transfers/PLLocalAccountIdentification.java index 8d2804739..00993b288 100644 --- a/src/main/java/com/adyen/model/transfers/PLLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transfers/PLLocalAccountIdentification.java @@ -41,7 +41,7 @@ public class PLLocalAccountIdentification { private String accountNumber; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; /** * **plLocal** @@ -77,7 +77,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.PLLOCAL; + private TypeEnum type; public PLLocalAccountIdentification() { } diff --git a/src/main/java/com/adyen/model/transfers/PartyIdentification.java b/src/main/java/com/adyen/model/transfers/PartyIdentification.java index 71651aa83..7bf0a76e3 100644 --- a/src/main/java/com/adyen/model/transfers/PartyIdentification.java +++ b/src/main/java/com/adyen/model/transfers/PartyIdentification.java @@ -99,7 +99,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.UNKNOWN; + private TypeEnum type; public PartyIdentification() { } diff --git a/src/main/java/com/adyen/model/transfers/PlatformPayment.java b/src/main/java/com/adyen/model/transfers/PlatformPayment.java index 9e78a6bb9..6c52499bd 100644 --- a/src/main/java/com/adyen/model/transfers/PlatformPayment.java +++ b/src/main/java/com/adyen/model/transfers/PlatformPayment.java @@ -146,7 +146,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.PLATFORMPAYMENT; + private TypeEnum type; public PlatformPayment() { } diff --git a/src/main/java/com/adyen/model/transfers/SELocalAccountIdentification.java b/src/main/java/com/adyen/model/transfers/SELocalAccountIdentification.java index b3e5be9df..43623eeec 100644 --- a/src/main/java/com/adyen/model/transfers/SELocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transfers/SELocalAccountIdentification.java @@ -45,7 +45,7 @@ public class SELocalAccountIdentification { private String clearingNumber; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; /** * **seLocal** @@ -81,7 +81,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.SELOCAL; + private TypeEnum type; public SELocalAccountIdentification() { } diff --git a/src/main/java/com/adyen/model/transfers/SGLocalAccountIdentification.java b/src/main/java/com/adyen/model/transfers/SGLocalAccountIdentification.java index 5cbb193a3..5ff3dd23e 100644 --- a/src/main/java/com/adyen/model/transfers/SGLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transfers/SGLocalAccountIdentification.java @@ -45,7 +45,7 @@ public class SGLocalAccountIdentification { private String bic; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; /** * **sgLocal** @@ -81,7 +81,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.SGLOCAL; + private TypeEnum type; public SGLocalAccountIdentification() { } diff --git a/src/main/java/com/adyen/model/transfers/UKLocalAccountIdentification.java b/src/main/java/com/adyen/model/transfers/UKLocalAccountIdentification.java index 4570d87f8..efe2ddcaf 100644 --- a/src/main/java/com/adyen/model/transfers/UKLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transfers/UKLocalAccountIdentification.java @@ -42,7 +42,7 @@ public class UKLocalAccountIdentification { private String accountNumber; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; public static final String JSON_PROPERTY_SORT_CODE = "sortCode"; private String sortCode; @@ -81,7 +81,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.UKLOCAL; + private TypeEnum type; public UKLocalAccountIdentification() { } diff --git a/src/main/java/com/adyen/model/transfers/USLocalAccountIdentification.java b/src/main/java/com/adyen/model/transfers/USLocalAccountIdentification.java index 7dd09ca9c..4be5ec6e5 100644 --- a/src/main/java/com/adyen/model/transfers/USLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transfers/USLocalAccountIdentification.java @@ -78,10 +78,10 @@ public static AccountTypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_ACCOUNT_TYPE = "accountType"; - private AccountTypeEnum accountType = AccountTypeEnum.CHECKING; + private AccountTypeEnum accountType; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; public static final String JSON_PROPERTY_ROUTING_NUMBER = "routingNumber"; private String routingNumber; @@ -120,7 +120,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.USLOCAL; + private TypeEnum type; public USLocalAccountIdentification() { } diff --git a/src/main/java/com/adyen/model/transfers/UltimatePartyIdentification.java b/src/main/java/com/adyen/model/transfers/UltimatePartyIdentification.java index 3aff4deca..c53f48479 100644 --- a/src/main/java/com/adyen/model/transfers/UltimatePartyIdentification.java +++ b/src/main/java/com/adyen/model/transfers/UltimatePartyIdentification.java @@ -99,7 +99,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.UNKNOWN; + private TypeEnum type; public UltimatePartyIdentification() { } diff --git a/src/main/java/com/adyen/model/transferwebhooks/AULocalAccountIdentification.java b/src/main/java/com/adyen/model/transferwebhooks/AULocalAccountIdentification.java index ecf832d1d..c69a83d6e 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/AULocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transferwebhooks/AULocalAccountIdentification.java @@ -45,7 +45,7 @@ public class AULocalAccountIdentification { private String bsbCode; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; /** * **auLocal** @@ -81,7 +81,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.AULOCAL; + private TypeEnum type; public AULocalAccountIdentification() { } diff --git a/src/main/java/com/adyen/model/transferwebhooks/BRLocalAccountIdentification.java b/src/main/java/com/adyen/model/transferwebhooks/BRLocalAccountIdentification.java index eebc09663..b696332bf 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/BRLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transferwebhooks/BRLocalAccountIdentification.java @@ -49,7 +49,7 @@ public class BRLocalAccountIdentification { private String branchNumber; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; /** * **brLocal** @@ -85,7 +85,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.BRLOCAL; + private TypeEnum type; public BRLocalAccountIdentification() { } diff --git a/src/main/java/com/adyen/model/transferwebhooks/BankCategoryData.java b/src/main/java/com/adyen/model/transferwebhooks/BankCategoryData.java index 2a6653a4b..5d9d240e4 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/BankCategoryData.java +++ b/src/main/java/com/adyen/model/transferwebhooks/BankCategoryData.java @@ -116,7 +116,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.BANK; + private TypeEnum type; public BankCategoryData() { } diff --git a/src/main/java/com/adyen/model/transferwebhooks/CALocalAccountIdentification.java b/src/main/java/com/adyen/model/transferwebhooks/CALocalAccountIdentification.java index c6ca8238f..779f719cf 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/CALocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transferwebhooks/CALocalAccountIdentification.java @@ -79,10 +79,10 @@ public static AccountTypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_ACCOUNT_TYPE = "accountType"; - private AccountTypeEnum accountType = AccountTypeEnum.CHECKING; + private AccountTypeEnum accountType; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; public static final String JSON_PROPERTY_INSTITUTION_NUMBER = "institutionNumber"; private String institutionNumber; @@ -124,7 +124,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.CALOCAL; + private TypeEnum type; public CALocalAccountIdentification() { } diff --git a/src/main/java/com/adyen/model/transferwebhooks/CZLocalAccountIdentification.java b/src/main/java/com/adyen/model/transferwebhooks/CZLocalAccountIdentification.java index b45f23496..9c94f3f75 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/CZLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transferwebhooks/CZLocalAccountIdentification.java @@ -45,7 +45,7 @@ public class CZLocalAccountIdentification { private String bankCode; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; /** * **czLocal** @@ -81,7 +81,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.CZLOCAL; + private TypeEnum type; public CZLocalAccountIdentification() { } diff --git a/src/main/java/com/adyen/model/transferwebhooks/DKLocalAccountIdentification.java b/src/main/java/com/adyen/model/transferwebhooks/DKLocalAccountIdentification.java index 4b4c1f899..c21ba07d7 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/DKLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transferwebhooks/DKLocalAccountIdentification.java @@ -45,7 +45,7 @@ public class DKLocalAccountIdentification { private String bankCode; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; /** * **dkLocal** @@ -81,7 +81,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.DKLOCAL; + private TypeEnum type; public DKLocalAccountIdentification() { } diff --git a/src/main/java/com/adyen/model/transferwebhooks/HKLocalAccountIdentification.java b/src/main/java/com/adyen/model/transferwebhooks/HKLocalAccountIdentification.java index 15b2cb175..3ede86a0c 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/HKLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transferwebhooks/HKLocalAccountIdentification.java @@ -45,7 +45,7 @@ public class HKLocalAccountIdentification { private String clearingCode; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; /** * **hkLocal** @@ -81,7 +81,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.HKLOCAL; + private TypeEnum type; public HKLocalAccountIdentification() { } diff --git a/src/main/java/com/adyen/model/transferwebhooks/HULocalAccountIdentification.java b/src/main/java/com/adyen/model/transferwebhooks/HULocalAccountIdentification.java index 4c2c5d135..c6a7533e2 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/HULocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transferwebhooks/HULocalAccountIdentification.java @@ -41,7 +41,7 @@ public class HULocalAccountIdentification { private String accountNumber; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; /** * **huLocal** @@ -77,7 +77,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.HULOCAL; + private TypeEnum type; public HULocalAccountIdentification() { } diff --git a/src/main/java/com/adyen/model/transferwebhooks/IbanAccountIdentification.java b/src/main/java/com/adyen/model/transferwebhooks/IbanAccountIdentification.java index 0317cff79..2c7c9430c 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/IbanAccountIdentification.java +++ b/src/main/java/com/adyen/model/transferwebhooks/IbanAccountIdentification.java @@ -38,7 +38,7 @@ public class IbanAccountIdentification { public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; public static final String JSON_PROPERTY_IBAN = "iban"; private String iban; @@ -77,7 +77,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.IBAN; + private TypeEnum type; public IbanAccountIdentification() { } diff --git a/src/main/java/com/adyen/model/transferwebhooks/InternalCategoryData.java b/src/main/java/com/adyen/model/transferwebhooks/InternalCategoryData.java index 802ced44f..8f030ae96 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/InternalCategoryData.java +++ b/src/main/java/com/adyen/model/transferwebhooks/InternalCategoryData.java @@ -77,7 +77,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.INTERNAL; + private TypeEnum type; public InternalCategoryData() { } diff --git a/src/main/java/com/adyen/model/transferwebhooks/IssuedCard.java b/src/main/java/com/adyen/model/transferwebhooks/IssuedCard.java index 7cdb6ff4b..39bea05ea 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/IssuedCard.java +++ b/src/main/java/com/adyen/model/transferwebhooks/IssuedCard.java @@ -190,7 +190,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.ISSUEDCARD; + private TypeEnum type; public static final String JSON_PROPERTY_VALIDATION_FACTS = "validationFacts"; private List validationFacts = null; diff --git a/src/main/java/com/adyen/model/transferwebhooks/NOLocalAccountIdentification.java b/src/main/java/com/adyen/model/transferwebhooks/NOLocalAccountIdentification.java index 0064e9eb5..76f9726c8 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/NOLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transferwebhooks/NOLocalAccountIdentification.java @@ -41,7 +41,7 @@ public class NOLocalAccountIdentification { private String accountNumber; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; /** * **noLocal** @@ -77,7 +77,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.NOLOCAL; + private TypeEnum type; public NOLocalAccountIdentification() { } diff --git a/src/main/java/com/adyen/model/transferwebhooks/NZLocalAccountIdentification.java b/src/main/java/com/adyen/model/transferwebhooks/NZLocalAccountIdentification.java index 8de67f8a6..18b610b8d 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/NZLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transferwebhooks/NZLocalAccountIdentification.java @@ -41,7 +41,7 @@ public class NZLocalAccountIdentification { private String accountNumber; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; /** * **nzLocal** @@ -77,7 +77,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.NZLOCAL; + private TypeEnum type; public NZLocalAccountIdentification() { } diff --git a/src/main/java/com/adyen/model/transferwebhooks/NumberAndBicAccountIdentification.java b/src/main/java/com/adyen/model/transferwebhooks/NumberAndBicAccountIdentification.java index 54cecea62..010fee537 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/NumberAndBicAccountIdentification.java +++ b/src/main/java/com/adyen/model/transferwebhooks/NumberAndBicAccountIdentification.java @@ -50,7 +50,7 @@ public class NumberAndBicAccountIdentification { private String bic; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; /** * **numberAndBic** @@ -86,7 +86,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.NUMBERANDBIC; + private TypeEnum type; public NumberAndBicAccountIdentification() { } diff --git a/src/main/java/com/adyen/model/transferwebhooks/PLLocalAccountIdentification.java b/src/main/java/com/adyen/model/transferwebhooks/PLLocalAccountIdentification.java index 6a12e4285..752d07441 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/PLLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transferwebhooks/PLLocalAccountIdentification.java @@ -41,7 +41,7 @@ public class PLLocalAccountIdentification { private String accountNumber; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; /** * **plLocal** @@ -77,7 +77,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.PLLOCAL; + private TypeEnum type; public PLLocalAccountIdentification() { } diff --git a/src/main/java/com/adyen/model/transferwebhooks/PartyIdentification.java b/src/main/java/com/adyen/model/transferwebhooks/PartyIdentification.java index c55d3624e..a93503ec9 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/PartyIdentification.java +++ b/src/main/java/com/adyen/model/transferwebhooks/PartyIdentification.java @@ -99,7 +99,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.UNKNOWN; + private TypeEnum type; public PartyIdentification() { } diff --git a/src/main/java/com/adyen/model/transferwebhooks/PlatformPayment.java b/src/main/java/com/adyen/model/transferwebhooks/PlatformPayment.java index 159295119..80f25cc0b 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/PlatformPayment.java +++ b/src/main/java/com/adyen/model/transferwebhooks/PlatformPayment.java @@ -146,7 +146,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.PLATFORMPAYMENT; + private TypeEnum type; public PlatformPayment() { } diff --git a/src/main/java/com/adyen/model/transferwebhooks/SELocalAccountIdentification.java b/src/main/java/com/adyen/model/transferwebhooks/SELocalAccountIdentification.java index d00eef912..3c9d16564 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/SELocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transferwebhooks/SELocalAccountIdentification.java @@ -45,7 +45,7 @@ public class SELocalAccountIdentification { private String clearingNumber; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; /** * **seLocal** @@ -81,7 +81,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.SELOCAL; + private TypeEnum type; public SELocalAccountIdentification() { } diff --git a/src/main/java/com/adyen/model/transferwebhooks/SGLocalAccountIdentification.java b/src/main/java/com/adyen/model/transferwebhooks/SGLocalAccountIdentification.java index 6a6125587..cb3c3729f 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/SGLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transferwebhooks/SGLocalAccountIdentification.java @@ -45,7 +45,7 @@ public class SGLocalAccountIdentification { private String bic; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; /** * **sgLocal** @@ -81,7 +81,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.SGLOCAL; + private TypeEnum type; public SGLocalAccountIdentification() { } diff --git a/src/main/java/com/adyen/model/transferwebhooks/UKLocalAccountIdentification.java b/src/main/java/com/adyen/model/transferwebhooks/UKLocalAccountIdentification.java index 38de31cfd..aa9d2cbc1 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/UKLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transferwebhooks/UKLocalAccountIdentification.java @@ -42,7 +42,7 @@ public class UKLocalAccountIdentification { private String accountNumber; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; public static final String JSON_PROPERTY_SORT_CODE = "sortCode"; private String sortCode; @@ -81,7 +81,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.UKLOCAL; + private TypeEnum type; public UKLocalAccountIdentification() { } diff --git a/src/main/java/com/adyen/model/transferwebhooks/USLocalAccountIdentification.java b/src/main/java/com/adyen/model/transferwebhooks/USLocalAccountIdentification.java index eee7902a6..4e84a1a3e 100644 --- a/src/main/java/com/adyen/model/transferwebhooks/USLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/transferwebhooks/USLocalAccountIdentification.java @@ -78,10 +78,10 @@ public static AccountTypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_ACCOUNT_TYPE = "accountType"; - private AccountTypeEnum accountType = AccountTypeEnum.CHECKING; + private AccountTypeEnum accountType; public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor = "physical"; + private String formFactor; public static final String JSON_PROPERTY_ROUTING_NUMBER = "routingNumber"; private String routingNumber; @@ -120,7 +120,7 @@ public static TypeEnum fromValue(String value) { } public static final String JSON_PROPERTY_TYPE = "type"; - private TypeEnum type = TypeEnum.USLOCAL; + private TypeEnum type; public USLocalAccountIdentification() { } diff --git a/src/main/java/com/adyen/service/checkout/RecurringApi.java b/src/main/java/com/adyen/service/checkout/RecurringApi.java index 9b4920b03..100855001 100644 --- a/src/main/java/com/adyen/service/checkout/RecurringApi.java +++ b/src/main/java/com/adyen/service/checkout/RecurringApi.java @@ -15,6 +15,8 @@ import com.adyen.Service; import com.adyen.constants.ApiConstants; import com.adyen.model.checkout.ListStoredPaymentMethodsResponse; +import com.adyen.model.checkout.StoredPaymentMethodRequest; +import com.adyen.model.checkout.StoredPaymentMethodResource; import com.adyen.model.RequestOptions; import com.adyen.service.exception.ApiException; import com.adyen.service.resource.Resource; @@ -125,4 +127,31 @@ public ListStoredPaymentMethodsResponse getTokensForStoredPaymentDetails(String String jsonResult = resource.request(requestBody, requestOptions, ApiConstants.HttpMethod.GET, null, queryParams); return ListStoredPaymentMethodsResponse.fromJson(jsonResult); } + + /** + * Create a token to store payment details + * + * @param storedPaymentMethodRequest {@link StoredPaymentMethodRequest } (required) + * @return {@link StoredPaymentMethodResource } + * @throws ApiException if fails to make API call + */ + public StoredPaymentMethodResource storedPaymentMethods(StoredPaymentMethodRequest storedPaymentMethodRequest) throws ApiException, IOException { + return storedPaymentMethods(storedPaymentMethodRequest, null); + } + + /** + * Create a token to store payment details + * + * @param storedPaymentMethodRequest {@link StoredPaymentMethodRequest } (required) + * @param requestOptions {@link RequestOptions } Object to store additional data such as idempotency-keys (optional) + * @return {@link StoredPaymentMethodResource } + * @throws ApiException if fails to make API call + */ + public StoredPaymentMethodResource storedPaymentMethods(StoredPaymentMethodRequest storedPaymentMethodRequest, RequestOptions requestOptions) throws ApiException, IOException { + + String requestBody = storedPaymentMethodRequest.toJson(); + Resource resource = new Resource(this, this.baseURL + "/storedPaymentMethods", null); + String jsonResult = resource.request(requestBody, requestOptions, ApiConstants.HttpMethod.POST, null); + return StoredPaymentMethodResource.fromJson(jsonResult); + } }