From a9a5364db38db2d8690c3e8fd4716fef7b6fc26e Mon Sep 17 00:00:00 2001 From: Adyen Automation Date: Wed, 3 Apr 2024 09:29:37 +0000 Subject: [PATCH] false[adyen-sdk-automation] automated change --- .../adyen/model/checkout/DeliveryMethod.java | 311 ++++++++++++++++++ .../adyen/model/checkout/FundRecipient.java | 24 +- .../model/checkout/PaymentMethodsRequest.java | 79 ++++- .../checkout/PaypalUpdateOrderRequest.java | 289 ++++++++++++++++ .../checkout/PaypalUpdateOrderResponse.java | 204 ++++++++++++ .../model/checkout/ThreeDS2RequestData.java | 75 +---- .../model/checkout/ThreeDS2RequestFields.java | 75 +---- .../AULocalAccountIdentification.java | 38 +-- .../CALocalAccountIdentification.java | 38 +-- .../CZLocalAccountIdentification.java | 38 +-- .../DKLocalAccountIdentification.java | 38 +-- .../HKLocalAccountIdentification.java | 38 +-- .../HULocalAccountIdentification.java | 38 +-- .../IbanAccountIdentification.java | 40 +-- .../NOLocalAccountIdentification.java | 38 +-- .../NZLocalAccountIdentification.java | 38 +-- .../NumberAndBicAccountIdentification.java | 38 +-- .../PLLocalAccountIdentification.java | 38 +-- .../SELocalAccountIdentification.java | 38 +-- .../SGLocalAccountIdentification.java | 38 +-- .../UKLocalAccountIdentification.java | 38 +-- .../USLocalAccountIdentification.java | 38 +-- .../VerificationDeadline.java | 6 +- .../com/adyen/model/management/Store.java | 6 +- .../management/StoreCreationRequest.java | 6 +- .../StoreCreationWithMerchantCodeRequest.java | 6 +- .../model/management/UpdateStoreRequest.java | 6 +- .../UploadAndroidCertificateResponse.java | 133 ++++++++ .../payment/AdjustAuthorisationRequest.java | 6 +- .../adyen/model/payment/CancelRequest.java | 6 +- .../adyen/model/payment/CaptureRequest.java | 6 +- .../adyen/model/payment/PaymentRequest.java | 12 +- .../adyen/model/payment/PaymentRequest3d.java | 12 +- .../model/payment/PaymentRequest3ds2.java | 12 +- .../adyen/model/payment/RefundRequest.java | 6 +- .../java/com/adyen/model/payment/Split.java | 20 +- .../model/payment/TechnicalCancelRequest.java | 6 +- .../model/payment/ThreeDS2RequestData.java | 75 +---- .../payment/VoidPendingRefundRequest.java | 6 +- .../adyen/service/checkout/UtilityApi.java | 29 ++ .../AndroidFilesCompanyLevelApi.java | 34 ++ 41 files changed, 1168 insertions(+), 854 deletions(-) create mode 100644 src/main/java/com/adyen/model/checkout/DeliveryMethod.java create mode 100644 src/main/java/com/adyen/model/checkout/PaypalUpdateOrderRequest.java create mode 100644 src/main/java/com/adyen/model/checkout/PaypalUpdateOrderResponse.java create mode 100644 src/main/java/com/adyen/model/management/UploadAndroidCertificateResponse.java diff --git a/src/main/java/com/adyen/model/checkout/DeliveryMethod.java b/src/main/java/com/adyen/model/checkout/DeliveryMethod.java new file mode 100644 index 000000000..f72cae474 --- /dev/null +++ b/src/main/java/com/adyen/model/checkout/DeliveryMethod.java @@ -0,0 +1,311 @@ +/* + * 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.Amount; +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; + + +/** + * DeliveryMethod + */ +@JsonPropertyOrder({ + DeliveryMethod.JSON_PROPERTY_AMOUNT, + DeliveryMethod.JSON_PROPERTY_DESCRIPTION, + DeliveryMethod.JSON_PROPERTY_REFERENCE, + DeliveryMethod.JSON_PROPERTY_SELECTED, + DeliveryMethod.JSON_PROPERTY_TYPE +}) + +public class DeliveryMethod { + public static final String JSON_PROPERTY_AMOUNT = "amount"; + private Amount amount; + + public static final String JSON_PROPERTY_DESCRIPTION = "description"; + private String description; + + public static final String JSON_PROPERTY_REFERENCE = "reference"; + private String reference; + + public static final String JSON_PROPERTY_SELECTED = "selected"; + private Boolean selected; + + /** + * The type of the delivery method. + */ + public enum TypeEnum { + SHIPPING("Shipping"); + + private String value; + + TypeEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static TypeEnum fromValue(String value) { + for (TypeEnum b : TypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + + public static final String JSON_PROPERTY_TYPE = "type"; + private TypeEnum type; + + public DeliveryMethod() { + } + + public DeliveryMethod amount(Amount amount) { + this.amount = amount; + return this; + } + + /** + * Get amount + * @return amount + **/ + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_AMOUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Amount getAmount() { + return amount; + } + + + /** + * amount + * + * @param amount + */ + @JsonProperty(JSON_PROPERTY_AMOUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setAmount(Amount amount) { + this.amount = amount; + } + + + public DeliveryMethod description(String description) { + this.description = description; + return this; + } + + /** + * The name of the delivery method as shown to the shopper. + * @return description + **/ + @ApiModelProperty(value = "The name of the delivery method as shown to the shopper.") + @JsonProperty(JSON_PROPERTY_DESCRIPTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getDescription() { + return description; + } + + + /** + * The name of the delivery method as shown to the shopper. + * + * @param description + */ + @JsonProperty(JSON_PROPERTY_DESCRIPTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDescription(String description) { + this.description = description; + } + + + public DeliveryMethod reference(String reference) { + this.reference = reference; + return this; + } + + /** + * The reference of the delivery method. + * @return reference + **/ + @ApiModelProperty(value = "The reference of the delivery method.") + @JsonProperty(JSON_PROPERTY_REFERENCE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getReference() { + return reference; + } + + + /** + * The reference of the delivery method. + * + * @param reference + */ + @JsonProperty(JSON_PROPERTY_REFERENCE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setReference(String reference) { + this.reference = reference; + } + + + public DeliveryMethod selected(Boolean selected) { + this.selected = selected; + return this; + } + + /** + * If you display the PayPal lightbox with delivery methods, set to **true** for the delivery method that is selected. Only one delivery method can be selected at a time. + * @return selected + **/ + @ApiModelProperty(value = "If you display the PayPal lightbox with delivery methods, set to **true** for the delivery method that is selected. Only one delivery method can be selected at a time.") + @JsonProperty(JSON_PROPERTY_SELECTED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getSelected() { + return selected; + } + + + /** + * If you display the PayPal lightbox with delivery methods, set to **true** for the delivery method that is selected. Only one delivery method can be selected at a time. + * + * @param selected + */ + @JsonProperty(JSON_PROPERTY_SELECTED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSelected(Boolean selected) { + this.selected = selected; + } + + + public DeliveryMethod type(TypeEnum type) { + this.type = type; + return this; + } + + /** + * The type of the delivery method. + * @return type + **/ + @ApiModelProperty(value = "The type of the delivery method.") + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public TypeEnum getType() { + return type; + } + + + /** + * The type of the delivery method. + * + * @param type + */ + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setType(TypeEnum type) { + this.type = type; + } + + + /** + * Return true if this DeliveryMethod object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DeliveryMethod deliveryMethod = (DeliveryMethod) o; + return Objects.equals(this.amount, deliveryMethod.amount) && + Objects.equals(this.description, deliveryMethod.description) && + Objects.equals(this.reference, deliveryMethod.reference) && + Objects.equals(this.selected, deliveryMethod.selected) && + Objects.equals(this.type, deliveryMethod.type); + } + + @Override + public int hashCode() { + return Objects.hash(amount, description, reference, selected, type); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DeliveryMethod {\n"); + sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); + sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append(" reference: ").append(toIndentedString(reference)).append("\n"); + sb.append(" selected: ").append(toIndentedString(selected)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).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 DeliveryMethod given an JSON string + * + * @param jsonString JSON string + * @return An instance of DeliveryMethod + * @throws JsonProcessingException if the JSON string is invalid with respect to DeliveryMethod + */ + public static DeliveryMethod fromJson(String jsonString) throws JsonProcessingException { + return JSON.getMapper().readValue(jsonString, DeliveryMethod.class); + } +/** + * Convert an instance of DeliveryMethod 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/FundRecipient.java b/src/main/java/com/adyen/model/checkout/FundRecipient.java index fed627b19..0033c0b25 100644 --- a/src/main/java/com/adyen/model/checkout/FundRecipient.java +++ b/src/main/java/com/adyen/model/checkout/FundRecipient.java @@ -147,10 +147,10 @@ public FundRecipient shopperEmail(String shopperEmail) { } /** - * the email address of the person + * The email address of the shopper. * @return shopperEmail **/ - @ApiModelProperty(value = "the email address of the person") + @ApiModelProperty(value = "The email address of the shopper.") @JsonProperty(JSON_PROPERTY_SHOPPER_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -160,7 +160,7 @@ public String getShopperEmail() { /** - * the email address of the person + * The email address of the shopper. * * @param shopperEmail */ @@ -297,10 +297,10 @@ public FundRecipient telephoneNumber(String telephoneNumber) { } /** - * the telephone number of the person + * The telephone number of the shopper. * @return telephoneNumber **/ - @ApiModelProperty(value = "the telephone number of the person") + @ApiModelProperty(value = "The telephone number of the shopper.") @JsonProperty(JSON_PROPERTY_TELEPHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -310,7 +310,7 @@ public String getTelephoneNumber() { /** - * the telephone number of the person + * The telephone number of the shopper. * * @param telephoneNumber */ @@ -327,10 +327,10 @@ public FundRecipient walletIdentifier(String walletIdentifier) { } /** - * indicates where the money is going + * Indicates where the money is going. * @return walletIdentifier **/ - @ApiModelProperty(value = "indicates where the money is going") + @ApiModelProperty(value = "Indicates where the money is going.") @JsonProperty(JSON_PROPERTY_WALLET_IDENTIFIER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -340,7 +340,7 @@ public String getWalletIdentifier() { /** - * indicates where the money is going + * Indicates where the money is going. * * @param walletIdentifier */ @@ -357,10 +357,10 @@ public FundRecipient walletOwnerTaxId(String walletOwnerTaxId) { } /** - * indicates the tax identifier of the fund recepient + * Indicates the tax identifier of the fund recepient * @return walletOwnerTaxId **/ - @ApiModelProperty(value = "indicates the tax identifier of the fund recepient") + @ApiModelProperty(value = "Indicates the tax identifier of the fund recepient") @JsonProperty(JSON_PROPERTY_WALLET_OWNER_TAX_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -370,7 +370,7 @@ public String getWalletOwnerTaxId() { /** - * indicates the tax identifier of the fund recepient + * Indicates the tax identifier of the fund recepient * * @param walletOwnerTaxId */ diff --git a/src/main/java/com/adyen/model/checkout/PaymentMethodsRequest.java b/src/main/java/com/adyen/model/checkout/PaymentMethodsRequest.java index b6812cec0..2099e93a2 100644 --- a/src/main/java/com/adyen/model/checkout/PaymentMethodsRequest.java +++ b/src/main/java/com/adyen/model/checkout/PaymentMethodsRequest.java @@ -48,7 +48,8 @@ PaymentMethodsRequest.JSON_PROPERTY_SHOPPER_LOCALE, PaymentMethodsRequest.JSON_PROPERTY_SHOPPER_REFERENCE, PaymentMethodsRequest.JSON_PROPERTY_SPLIT_CARD_FUNDING_SOURCES, - PaymentMethodsRequest.JSON_PROPERTY_STORE + PaymentMethodsRequest.JSON_PROPERTY_STORE, + PaymentMethodsRequest.JSON_PROPERTY_STORE_FILTRATION_MODE }) public class PaymentMethodsRequest { @@ -125,6 +126,46 @@ public static ChannelEnum fromValue(String value) { public static final String JSON_PROPERTY_STORE = "store"; private String store; + /** + * Specifies how payment methods should be filtered based on the 'store' parameter: - 'exclusive': Only payment methods belonging to the specified 'store' are returned. - 'inclusive': Payment methods from the 'store' and those not associated with any other store are returned. - 'skipFilter': All payment methods are returned, regardless of store association. + */ + public enum StoreFiltrationModeEnum { + EXCLUSIVE("exclusive"), + + INCLUSIVE("inclusive"), + + SKIPFILTER("skipFilter"); + + private String value; + + StoreFiltrationModeEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static StoreFiltrationModeEnum fromValue(String value) { + for (StoreFiltrationModeEnum b : StoreFiltrationModeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + + public static final String JSON_PROPERTY_STORE_FILTRATION_MODE = "storeFiltrationMode"; + private StoreFiltrationModeEnum storeFiltrationMode; + public PaymentMethodsRequest() { } @@ -512,6 +553,36 @@ public void setStore(String store) { } + public PaymentMethodsRequest storeFiltrationMode(StoreFiltrationModeEnum storeFiltrationMode) { + this.storeFiltrationMode = storeFiltrationMode; + return this; + } + + /** + * Specifies how payment methods should be filtered based on the 'store' parameter: - 'exclusive': Only payment methods belonging to the specified 'store' are returned. - 'inclusive': Payment methods from the 'store' and those not associated with any other store are returned. - 'skipFilter': All payment methods are returned, regardless of store association. + * @return storeFiltrationMode + **/ + @ApiModelProperty(value = "Specifies how payment methods should be filtered based on the 'store' parameter: - 'exclusive': Only payment methods belonging to the specified 'store' are returned. - 'inclusive': Payment methods from the 'store' and those not associated with any other store are returned. - 'skipFilter': All payment methods are returned, regardless of store association.") + @JsonProperty(JSON_PROPERTY_STORE_FILTRATION_MODE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public StoreFiltrationModeEnum getStoreFiltrationMode() { + return storeFiltrationMode; + } + + + /** + * Specifies how payment methods should be filtered based on the 'store' parameter: - 'exclusive': Only payment methods belonging to the specified 'store' are returned. - 'inclusive': Payment methods from the 'store' and those not associated with any other store are returned. - 'skipFilter': All payment methods are returned, regardless of store association. + * + * @param storeFiltrationMode + */ + @JsonProperty(JSON_PROPERTY_STORE_FILTRATION_MODE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setStoreFiltrationMode(StoreFiltrationModeEnum storeFiltrationMode) { + this.storeFiltrationMode = storeFiltrationMode; + } + + /** * Return true if this PaymentMethodsRequest object is equal to o. */ @@ -535,12 +606,13 @@ public boolean equals(Object o) { Objects.equals(this.shopperLocale, paymentMethodsRequest.shopperLocale) && Objects.equals(this.shopperReference, paymentMethodsRequest.shopperReference) && Objects.equals(this.splitCardFundingSources, paymentMethodsRequest.splitCardFundingSources) && - Objects.equals(this.store, paymentMethodsRequest.store); + Objects.equals(this.store, paymentMethodsRequest.store) && + Objects.equals(this.storeFiltrationMode, paymentMethodsRequest.storeFiltrationMode); } @Override public int hashCode() { - return Objects.hash(additionalData, allowedPaymentMethods, amount, blockedPaymentMethods, channel, countryCode, merchantAccount, order, shopperLocale, shopperReference, splitCardFundingSources, store); + return Objects.hash(additionalData, allowedPaymentMethods, amount, blockedPaymentMethods, channel, countryCode, merchantAccount, order, shopperLocale, shopperReference, splitCardFundingSources, store, storeFiltrationMode); } @Override @@ -559,6 +631,7 @@ public String toString() { sb.append(" shopperReference: ").append(toIndentedString(shopperReference)).append("\n"); sb.append(" splitCardFundingSources: ").append(toIndentedString(splitCardFundingSources)).append("\n"); sb.append(" store: ").append(toIndentedString(store)).append("\n"); + sb.append(" storeFiltrationMode: ").append(toIndentedString(storeFiltrationMode)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/com/adyen/model/checkout/PaypalUpdateOrderRequest.java b/src/main/java/com/adyen/model/checkout/PaypalUpdateOrderRequest.java new file mode 100644 index 000000000..5fc63026e --- /dev/null +++ b/src/main/java/com/adyen/model/checkout/PaypalUpdateOrderRequest.java @@ -0,0 +1,289 @@ +/* + * 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.Amount; +import com.adyen.model.checkout.DeliveryMethod; +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 java.util.ArrayList; +import java.util.List; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.core.JsonProcessingException; + + +/** + * PaypalUpdateOrderRequest + */ +@JsonPropertyOrder({ + PaypalUpdateOrderRequest.JSON_PROPERTY_AMOUNT, + PaypalUpdateOrderRequest.JSON_PROPERTY_DELIVERY_METHODS, + PaypalUpdateOrderRequest.JSON_PROPERTY_PAYMENT_DATA, + PaypalUpdateOrderRequest.JSON_PROPERTY_PSP_REFERENCE, + PaypalUpdateOrderRequest.JSON_PROPERTY_SESSION_ID +}) + +public class PaypalUpdateOrderRequest { + public static final String JSON_PROPERTY_AMOUNT = "amount"; + private Amount amount; + + public static final String JSON_PROPERTY_DELIVERY_METHODS = "deliveryMethods"; + private List deliveryMethods = null; + + public static final String JSON_PROPERTY_PAYMENT_DATA = "paymentData"; + private String paymentData; + + public static final String JSON_PROPERTY_PSP_REFERENCE = "pspReference"; + private String pspReference; + + public static final String JSON_PROPERTY_SESSION_ID = "sessionId"; + private String sessionId; + + public PaypalUpdateOrderRequest() { + } + + public PaypalUpdateOrderRequest amount(Amount amount) { + this.amount = amount; + return this; + } + + /** + * Get amount + * @return amount + **/ + @ApiModelProperty(value = "") + @JsonProperty(JSON_PROPERTY_AMOUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Amount getAmount() { + return amount; + } + + + /** + * amount + * + * @param amount + */ + @JsonProperty(JSON_PROPERTY_AMOUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setAmount(Amount amount) { + this.amount = amount; + } + + + public PaypalUpdateOrderRequest deliveryMethods(List deliveryMethods) { + this.deliveryMethods = deliveryMethods; + return this; + } + + public PaypalUpdateOrderRequest addDeliveryMethodsItem(DeliveryMethod deliveryMethodsItem) { + if (this.deliveryMethods == null) { + this.deliveryMethods = new ArrayList<>(); + } + this.deliveryMethods.add(deliveryMethodsItem); + return this; + } + + /** + * The list of new delivery methods and the cost of each. + * @return deliveryMethods + **/ + @ApiModelProperty(value = "The list of new delivery methods and the cost of each.") + @JsonProperty(JSON_PROPERTY_DELIVERY_METHODS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public List getDeliveryMethods() { + return deliveryMethods; + } + + + /** + * The list of new delivery methods and the cost of each. + * + * @param deliveryMethods + */ + @JsonProperty(JSON_PROPERTY_DELIVERY_METHODS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDeliveryMethods(List deliveryMethods) { + this.deliveryMethods = deliveryMethods; + } + + + public PaypalUpdateOrderRequest paymentData(String paymentData) { + this.paymentData = paymentData; + return this; + } + + /** + * The `paymentData` from the client side. This value changes every time you make a `/paypal/updateOrder` request. + * @return paymentData + **/ + @ApiModelProperty(value = "The `paymentData` from the client side. This value changes every time you make a `/paypal/updateOrder` request.") + @JsonProperty(JSON_PROPERTY_PAYMENT_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getPaymentData() { + return paymentData; + } + + + /** + * The `paymentData` from the client side. This value changes every time you make a `/paypal/updateOrder` request. + * + * @param paymentData + */ + @JsonProperty(JSON_PROPERTY_PAYMENT_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPaymentData(String paymentData) { + this.paymentData = paymentData; + } + + + public PaypalUpdateOrderRequest pspReference(String pspReference) { + this.pspReference = pspReference; + return this; + } + + /** + * The original `pspReference` from the `/payments` response. + * @return pspReference + **/ + @ApiModelProperty(value = "The original `pspReference` from the `/payments` response.") + @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getPspReference() { + return pspReference; + } + + + /** + * The original `pspReference` from the `/payments` response. + * + * @param pspReference + */ + @JsonProperty(JSON_PROPERTY_PSP_REFERENCE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPspReference(String pspReference) { + this.pspReference = pspReference; + } + + + public PaypalUpdateOrderRequest sessionId(String sessionId) { + this.sessionId = sessionId; + return this; + } + + /** + * The original `sessionId` from the `/sessions` response. + * @return sessionId + **/ + @ApiModelProperty(value = "The original `sessionId` from the `/sessions` response.") + @JsonProperty(JSON_PROPERTY_SESSION_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getSessionId() { + return sessionId; + } + + + /** + * The original `sessionId` from the `/sessions` response. + * + * @param sessionId + */ + @JsonProperty(JSON_PROPERTY_SESSION_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSessionId(String sessionId) { + this.sessionId = sessionId; + } + + + /** + * Return true if this PaypalUpdateOrderRequest object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PaypalUpdateOrderRequest paypalUpdateOrderRequest = (PaypalUpdateOrderRequest) o; + return Objects.equals(this.amount, paypalUpdateOrderRequest.amount) && + Objects.equals(this.deliveryMethods, paypalUpdateOrderRequest.deliveryMethods) && + Objects.equals(this.paymentData, paypalUpdateOrderRequest.paymentData) && + Objects.equals(this.pspReference, paypalUpdateOrderRequest.pspReference) && + Objects.equals(this.sessionId, paypalUpdateOrderRequest.sessionId); + } + + @Override + public int hashCode() { + return Objects.hash(amount, deliveryMethods, paymentData, pspReference, sessionId); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PaypalUpdateOrderRequest {\n"); + sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); + sb.append(" deliveryMethods: ").append(toIndentedString(deliveryMethods)).append("\n"); + sb.append(" paymentData: ").append(toIndentedString(paymentData)).append("\n"); + sb.append(" pspReference: ").append(toIndentedString(pspReference)).append("\n"); + sb.append(" sessionId: ").append(toIndentedString(sessionId)).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 PaypalUpdateOrderRequest given an JSON string + * + * @param jsonString JSON string + * @return An instance of PaypalUpdateOrderRequest + * @throws JsonProcessingException if the JSON string is invalid with respect to PaypalUpdateOrderRequest + */ + public static PaypalUpdateOrderRequest fromJson(String jsonString) throws JsonProcessingException { + return JSON.getMapper().readValue(jsonString, PaypalUpdateOrderRequest.class); + } +/** + * Convert an instance of PaypalUpdateOrderRequest 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/PaypalUpdateOrderResponse.java b/src/main/java/com/adyen/model/checkout/PaypalUpdateOrderResponse.java new file mode 100644 index 000000000..81d92da60 --- /dev/null +++ b/src/main/java/com/adyen/model/checkout/PaypalUpdateOrderResponse.java @@ -0,0 +1,204 @@ +/* + * 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; + + +/** + * PaypalUpdateOrderResponse + */ +@JsonPropertyOrder({ + PaypalUpdateOrderResponse.JSON_PROPERTY_PAYMENT_DATA, + PaypalUpdateOrderResponse.JSON_PROPERTY_STATUS +}) + +public class PaypalUpdateOrderResponse { + public static final String JSON_PROPERTY_PAYMENT_DATA = "paymentData"; + private String paymentData; + + /** + * The status of the request. This indicates whether the order was successfully updated with PayPal. + */ + public enum StatusEnum { + ERROR("error"), + + SUCCESS("success"); + + private String value; + + StatusEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static StatusEnum fromValue(String value) { + for (StatusEnum b : StatusEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + + public static final String JSON_PROPERTY_STATUS = "status"; + private StatusEnum status; + + public PaypalUpdateOrderResponse() { + } + + public PaypalUpdateOrderResponse paymentData(String paymentData) { + this.paymentData = paymentData; + return this; + } + + /** + * The updated paymentData. + * @return paymentData + **/ + @ApiModelProperty(required = true, value = "The updated paymentData.") + @JsonProperty(JSON_PROPERTY_PAYMENT_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getPaymentData() { + return paymentData; + } + + + /** + * The updated paymentData. + * + * @param paymentData + */ + @JsonProperty(JSON_PROPERTY_PAYMENT_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPaymentData(String paymentData) { + this.paymentData = paymentData; + } + + + public PaypalUpdateOrderResponse status(StatusEnum status) { + this.status = status; + return this; + } + + /** + * The status of the request. This indicates whether the order was successfully updated with PayPal. + * @return status + **/ + @ApiModelProperty(required = true, value = "The status of the request. This indicates whether the order was successfully updated with PayPal.") + @JsonProperty(JSON_PROPERTY_STATUS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public StatusEnum getStatus() { + return status; + } + + + /** + * The status of the request. This indicates whether the order was successfully updated with PayPal. + * + * @param status + */ + @JsonProperty(JSON_PROPERTY_STATUS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setStatus(StatusEnum status) { + this.status = status; + } + + + /** + * Return true if this PaypalUpdateOrderResponse object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PaypalUpdateOrderResponse paypalUpdateOrderResponse = (PaypalUpdateOrderResponse) o; + return Objects.equals(this.paymentData, paypalUpdateOrderResponse.paymentData) && + Objects.equals(this.status, paypalUpdateOrderResponse.status); + } + + @Override + public int hashCode() { + return Objects.hash(paymentData, status); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PaypalUpdateOrderResponse {\n"); + sb.append(" paymentData: ").append(toIndentedString(paymentData)).append("\n"); + sb.append(" status: ").append(toIndentedString(status)).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 PaypalUpdateOrderResponse given an JSON string + * + * @param jsonString JSON string + * @return An instance of PaypalUpdateOrderResponse + * @throws JsonProcessingException if the JSON string is invalid with respect to PaypalUpdateOrderResponse + */ + public static PaypalUpdateOrderResponse fromJson(String jsonString) throws JsonProcessingException { + return JSON.getMapper().readValue(jsonString, PaypalUpdateOrderResponse.class); + } +/** + * Convert an instance of PaypalUpdateOrderResponse 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 d765bef09..2b16ab2c2 100644 --- a/src/main/java/com/adyen/model/checkout/ThreeDS2RequestData.java +++ b/src/main/java/com/adyen/model/checkout/ThreeDS2RequestData.java @@ -54,7 +54,6 @@ ThreeDS2RequestData.JSON_PROPERTY_NOTIFICATION_U_R_L, ThreeDS2RequestData.JSON_PROPERTY_PAY_TOKEN_IND, ThreeDS2RequestData.JSON_PROPERTY_PAYMENT_AUTHENTICATION_USE_CASE, - ThreeDS2RequestData.JSON_PROPERTY_PLATFORM, ThreeDS2RequestData.JSON_PROPERTY_PURCHASE_INSTAL_DATA, ThreeDS2RequestData.JSON_PROPERTY_RECURRING_EXPIRY, ThreeDS2RequestData.JSON_PROPERTY_RECURRING_FREQUENCY, @@ -244,46 +243,6 @@ public static ChallengeIndicatorEnum fromValue(String value) { public static final String JSON_PROPERTY_PAYMENT_AUTHENTICATION_USE_CASE = "paymentAuthenticationUseCase"; private String paymentAuthenticationUseCase; - /** - * The platform of the shopper. Allowed values: * `iOS` * `android` * `browser` - */ - public enum PlatformEnum { - IOS("iOS"), - - ANDROID("android"), - - BROWSER("browser"); - - private String value; - - PlatformEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static PlatformEnum fromValue(String value) { - for (PlatformEnum b : PlatformEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - - public static final String JSON_PROPERTY_PLATFORM = "platform"; - private PlatformEnum platform; - public static final String JSON_PROPERTY_PURCHASE_INSTAL_DATA = "purchaseInstalData"; private String purchaseInstalData; @@ -996,36 +955,6 @@ public void setPaymentAuthenticationUseCase(String paymentAuthenticationUseCase) } - public ThreeDS2RequestData platform(PlatformEnum platform) { - this.platform = platform; - return this; - } - - /** - * The platform of the shopper. Allowed values: * `iOS` * `android` * `browser` - * @return platform - **/ - @ApiModelProperty(value = "The platform of the shopper. Allowed values: * `iOS` * `android` * `browser`") - @JsonProperty(JSON_PROPERTY_PLATFORM) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public PlatformEnum getPlatform() { - return platform; - } - - - /** - * The platform of the shopper. Allowed values: * `iOS` * `android` * `browser` - * - * @param platform - */ - @JsonProperty(JSON_PROPERTY_PLATFORM) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPlatform(PlatformEnum platform) { - this.platform = platform; - } - - public ThreeDS2RequestData purchaseInstalData(String purchaseInstalData) { this.purchaseInstalData = purchaseInstalData; return this; @@ -1715,7 +1644,6 @@ public boolean equals(Object o) { Objects.equals(this.notificationURL, threeDS2RequestData.notificationURL) && Objects.equals(this.payTokenInd, threeDS2RequestData.payTokenInd) && Objects.equals(this.paymentAuthenticationUseCase, threeDS2RequestData.paymentAuthenticationUseCase) && - Objects.equals(this.platform, threeDS2RequestData.platform) && Objects.equals(this.purchaseInstalData, threeDS2RequestData.purchaseInstalData) && Objects.equals(this.recurringExpiry, threeDS2RequestData.recurringExpiry) && Objects.equals(this.recurringFrequency, threeDS2RequestData.recurringFrequency) && @@ -1742,7 +1670,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(acctInfo, acctType, acquirerBIN, acquirerMerchantID, addrMatch, authenticationOnly, challengeIndicator, deviceChannel, deviceRenderOptions, homePhone, mcc, merchantName, messageVersion, mobilePhone, notificationURL, payTokenInd, paymentAuthenticationUseCase, platform, purchaseInstalData, recurringExpiry, recurringFrequency, sdkAppID, sdkEncData, sdkEphemPubKey, sdkMaxTimeout, sdkReferenceNumber, sdkTransID, sdkVersion, threeDSCompInd, threeDSRequestorAuthenticationInd, threeDSRequestorAuthenticationInfo, threeDSRequestorChallengeInd, threeDSRequestorID, threeDSRequestorName, threeDSRequestorPriorAuthenticationInfo, threeDSRequestorURL, transType, transactionType, whiteListStatus, workPhone); + return Objects.hash(acctInfo, acctType, acquirerBIN, acquirerMerchantID, addrMatch, authenticationOnly, challengeIndicator, deviceChannel, deviceRenderOptions, homePhone, mcc, merchantName, messageVersion, mobilePhone, notificationURL, payTokenInd, paymentAuthenticationUseCase, purchaseInstalData, recurringExpiry, recurringFrequency, sdkAppID, sdkEncData, sdkEphemPubKey, sdkMaxTimeout, sdkReferenceNumber, sdkTransID, sdkVersion, threeDSCompInd, threeDSRequestorAuthenticationInd, threeDSRequestorAuthenticationInfo, threeDSRequestorChallengeInd, threeDSRequestorID, threeDSRequestorName, threeDSRequestorPriorAuthenticationInfo, threeDSRequestorURL, transType, transactionType, whiteListStatus, workPhone); } @Override @@ -1766,7 +1694,6 @@ public String toString() { sb.append(" notificationURL: ").append(toIndentedString(notificationURL)).append("\n"); sb.append(" payTokenInd: ").append(toIndentedString(payTokenInd)).append("\n"); sb.append(" paymentAuthenticationUseCase: ").append(toIndentedString(paymentAuthenticationUseCase)).append("\n"); - sb.append(" platform: ").append(toIndentedString(platform)).append("\n"); sb.append(" purchaseInstalData: ").append(toIndentedString(purchaseInstalData)).append("\n"); sb.append(" recurringExpiry: ").append(toIndentedString(recurringExpiry)).append("\n"); sb.append(" recurringFrequency: ").append(toIndentedString(recurringFrequency)).append("\n"); diff --git a/src/main/java/com/adyen/model/checkout/ThreeDS2RequestFields.java b/src/main/java/com/adyen/model/checkout/ThreeDS2RequestFields.java index f2c814835..3c7b3b4e2 100644 --- a/src/main/java/com/adyen/model/checkout/ThreeDS2RequestFields.java +++ b/src/main/java/com/adyen/model/checkout/ThreeDS2RequestFields.java @@ -53,7 +53,6 @@ ThreeDS2RequestFields.JSON_PROPERTY_NOTIFICATION_U_R_L, ThreeDS2RequestFields.JSON_PROPERTY_PAY_TOKEN_IND, ThreeDS2RequestFields.JSON_PROPERTY_PAYMENT_AUTHENTICATION_USE_CASE, - ThreeDS2RequestFields.JSON_PROPERTY_PLATFORM, ThreeDS2RequestFields.JSON_PROPERTY_PURCHASE_INSTAL_DATA, ThreeDS2RequestFields.JSON_PROPERTY_RECURRING_EXPIRY, ThreeDS2RequestFields.JSON_PROPERTY_RECURRING_FREQUENCY, @@ -238,46 +237,6 @@ public static ChallengeIndicatorEnum fromValue(String value) { public static final String JSON_PROPERTY_PAYMENT_AUTHENTICATION_USE_CASE = "paymentAuthenticationUseCase"; private String paymentAuthenticationUseCase; - /** - * The platform of the shopper. Allowed values: * `iOS` * `android` * `browser` - */ - public enum PlatformEnum { - IOS("iOS"), - - ANDROID("android"), - - BROWSER("browser"); - - private String value; - - PlatformEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static PlatformEnum fromValue(String value) { - for (PlatformEnum b : PlatformEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - - public static final String JSON_PROPERTY_PLATFORM = "platform"; - private PlatformEnum platform; - public static final String JSON_PROPERTY_PURCHASE_INSTAL_DATA = "purchaseInstalData"; private String purchaseInstalData; @@ -954,36 +913,6 @@ public void setPaymentAuthenticationUseCase(String paymentAuthenticationUseCase) } - public ThreeDS2RequestFields platform(PlatformEnum platform) { - this.platform = platform; - return this; - } - - /** - * The platform of the shopper. Allowed values: * `iOS` * `android` * `browser` - * @return platform - **/ - @ApiModelProperty(value = "The platform of the shopper. Allowed values: * `iOS` * `android` * `browser`") - @JsonProperty(JSON_PROPERTY_PLATFORM) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public PlatformEnum getPlatform() { - return platform; - } - - - /** - * The platform of the shopper. Allowed values: * `iOS` * `android` * `browser` - * - * @param platform - */ - @JsonProperty(JSON_PROPERTY_PLATFORM) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPlatform(PlatformEnum platform) { - this.platform = platform; - } - - public ThreeDS2RequestFields purchaseInstalData(String purchaseInstalData) { this.purchaseInstalData = purchaseInstalData; return this; @@ -1612,7 +1541,6 @@ public boolean equals(Object o) { Objects.equals(this.notificationURL, threeDS2RequestFields.notificationURL) && Objects.equals(this.payTokenInd, threeDS2RequestFields.payTokenInd) && Objects.equals(this.paymentAuthenticationUseCase, threeDS2RequestFields.paymentAuthenticationUseCase) && - Objects.equals(this.platform, threeDS2RequestFields.platform) && Objects.equals(this.purchaseInstalData, threeDS2RequestFields.purchaseInstalData) && Objects.equals(this.recurringExpiry, threeDS2RequestFields.recurringExpiry) && Objects.equals(this.recurringFrequency, threeDS2RequestFields.recurringFrequency) && @@ -1637,7 +1565,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(acctInfo, acctType, acquirerBIN, acquirerMerchantID, addrMatch, authenticationOnly, challengeIndicator, deviceRenderOptions, homePhone, mcc, merchantName, messageVersion, mobilePhone, notificationURL, payTokenInd, paymentAuthenticationUseCase, platform, purchaseInstalData, recurringExpiry, recurringFrequency, sdkAppID, sdkEphemPubKey, sdkMaxTimeout, sdkReferenceNumber, sdkTransID, threeDSCompInd, threeDSRequestorAuthenticationInd, threeDSRequestorAuthenticationInfo, threeDSRequestorChallengeInd, threeDSRequestorID, threeDSRequestorName, threeDSRequestorPriorAuthenticationInfo, threeDSRequestorURL, transType, transactionType, whiteListStatus, workPhone); + return Objects.hash(acctInfo, acctType, acquirerBIN, acquirerMerchantID, addrMatch, authenticationOnly, challengeIndicator, deviceRenderOptions, homePhone, mcc, merchantName, messageVersion, mobilePhone, notificationURL, payTokenInd, paymentAuthenticationUseCase, purchaseInstalData, recurringExpiry, recurringFrequency, sdkAppID, sdkEphemPubKey, sdkMaxTimeout, sdkReferenceNumber, sdkTransID, threeDSCompInd, threeDSRequestorAuthenticationInd, threeDSRequestorAuthenticationInfo, threeDSRequestorChallengeInd, threeDSRequestorID, threeDSRequestorName, threeDSRequestorPriorAuthenticationInfo, threeDSRequestorURL, transType, transactionType, whiteListStatus, workPhone); } @Override @@ -1660,7 +1588,6 @@ public String toString() { sb.append(" notificationURL: ").append(toIndentedString(notificationURL)).append("\n"); sb.append(" payTokenInd: ").append(toIndentedString(payTokenInd)).append("\n"); sb.append(" paymentAuthenticationUseCase: ").append(toIndentedString(paymentAuthenticationUseCase)).append("\n"); - sb.append(" platform: ").append(toIndentedString(platform)).append("\n"); sb.append(" purchaseInstalData: ").append(toIndentedString(purchaseInstalData)).append("\n"); sb.append(" recurringExpiry: ").append(toIndentedString(recurringExpiry)).append("\n"); sb.append(" recurringFrequency: ").append(toIndentedString(recurringFrequency)).append("\n"); diff --git a/src/main/java/com/adyen/model/legalentitymanagement/AULocalAccountIdentification.java b/src/main/java/com/adyen/model/legalentitymanagement/AULocalAccountIdentification.java index 56b2ba2b2..6d02fab1d 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/AULocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/AULocalAccountIdentification.java @@ -33,7 +33,6 @@ @JsonPropertyOrder({ AULocalAccountIdentification.JSON_PROPERTY_ACCOUNT_NUMBER, AULocalAccountIdentification.JSON_PROPERTY_BSB_CODE, - AULocalAccountIdentification.JSON_PROPERTY_FORM_FACTOR, AULocalAccountIdentification.JSON_PROPERTY_TYPE }) @@ -44,9 +43,6 @@ public class AULocalAccountIdentification { public static final String JSON_PROPERTY_BSB_CODE = "bsbCode"; private String bsbCode; - public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor; - /** * **auLocal** */ @@ -146,36 +142,6 @@ public void setBsbCode(String bsbCode) { } - public AULocalAccountIdentification formFactor(String formFactor) { - this.formFactor = formFactor; - return this; - } - - /** - * 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.") - @JsonProperty(JSON_PROPERTY_FORM_FACTOR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getFormFactor() { - return 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. - * - * @param formFactor - */ - @JsonProperty(JSON_PROPERTY_FORM_FACTOR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setFormFactor(String formFactor) { - this.formFactor = formFactor; - } - - public AULocalAccountIdentification type(TypeEnum type) { this.type = type; return this; @@ -220,13 +186,12 @@ public boolean equals(Object o) { AULocalAccountIdentification auLocalAccountIdentification = (AULocalAccountIdentification) o; return Objects.equals(this.accountNumber, auLocalAccountIdentification.accountNumber) && Objects.equals(this.bsbCode, auLocalAccountIdentification.bsbCode) && - Objects.equals(this.formFactor, auLocalAccountIdentification.formFactor) && Objects.equals(this.type, auLocalAccountIdentification.type); } @Override public int hashCode() { - return Objects.hash(accountNumber, bsbCode, formFactor, type); + return Objects.hash(accountNumber, bsbCode, type); } @Override @@ -235,7 +200,6 @@ public String toString() { sb.append("class AULocalAccountIdentification {\n"); sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n"); sb.append(" bsbCode: ").append(toIndentedString(bsbCode)).append("\n"); - sb.append(" formFactor: ").append(toIndentedString(formFactor)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append("}"); return sb.toString(); diff --git a/src/main/java/com/adyen/model/legalentitymanagement/CALocalAccountIdentification.java b/src/main/java/com/adyen/model/legalentitymanagement/CALocalAccountIdentification.java index 1a9b68b52..01353a412 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/CALocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/CALocalAccountIdentification.java @@ -33,7 +33,6 @@ @JsonPropertyOrder({ CALocalAccountIdentification.JSON_PROPERTY_ACCOUNT_NUMBER, CALocalAccountIdentification.JSON_PROPERTY_ACCOUNT_TYPE, - CALocalAccountIdentification.JSON_PROPERTY_FORM_FACTOR, CALocalAccountIdentification.JSON_PROPERTY_INSTITUTION_NUMBER, CALocalAccountIdentification.JSON_PROPERTY_TRANSIT_NUMBER, CALocalAccountIdentification.JSON_PROPERTY_TYPE @@ -81,9 +80,6 @@ public static AccountTypeEnum fromValue(String value) { public static final String JSON_PROPERTY_ACCOUNT_TYPE = "accountType"; private AccountTypeEnum accountType; - public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor; - public static final String JSON_PROPERTY_INSTITUTION_NUMBER = "institutionNumber"; private String institutionNumber; @@ -189,36 +185,6 @@ public void setAccountType(AccountTypeEnum accountType) { } - public CALocalAccountIdentification formFactor(String formFactor) { - this.formFactor = formFactor; - return this; - } - - /** - * 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.") - @JsonProperty(JSON_PROPERTY_FORM_FACTOR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getFormFactor() { - return 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. - * - * @param formFactor - */ - @JsonProperty(JSON_PROPERTY_FORM_FACTOR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setFormFactor(String formFactor) { - this.formFactor = formFactor; - } - - public CALocalAccountIdentification institutionNumber(String institutionNumber) { this.institutionNumber = institutionNumber; return this; @@ -323,7 +289,6 @@ public boolean equals(Object o) { CALocalAccountIdentification caLocalAccountIdentification = (CALocalAccountIdentification) o; return Objects.equals(this.accountNumber, caLocalAccountIdentification.accountNumber) && Objects.equals(this.accountType, caLocalAccountIdentification.accountType) && - Objects.equals(this.formFactor, caLocalAccountIdentification.formFactor) && Objects.equals(this.institutionNumber, caLocalAccountIdentification.institutionNumber) && Objects.equals(this.transitNumber, caLocalAccountIdentification.transitNumber) && Objects.equals(this.type, caLocalAccountIdentification.type); @@ -331,7 +296,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(accountNumber, accountType, formFactor, institutionNumber, transitNumber, type); + return Objects.hash(accountNumber, accountType, institutionNumber, transitNumber, type); } @Override @@ -340,7 +305,6 @@ public String toString() { sb.append("class CALocalAccountIdentification {\n"); sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n"); sb.append(" accountType: ").append(toIndentedString(accountType)).append("\n"); - sb.append(" formFactor: ").append(toIndentedString(formFactor)).append("\n"); sb.append(" institutionNumber: ").append(toIndentedString(institutionNumber)).append("\n"); sb.append(" transitNumber: ").append(toIndentedString(transitNumber)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); diff --git a/src/main/java/com/adyen/model/legalentitymanagement/CZLocalAccountIdentification.java b/src/main/java/com/adyen/model/legalentitymanagement/CZLocalAccountIdentification.java index 5b7930047..08ba98bb5 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/CZLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/CZLocalAccountIdentification.java @@ -33,7 +33,6 @@ @JsonPropertyOrder({ CZLocalAccountIdentification.JSON_PROPERTY_ACCOUNT_NUMBER, CZLocalAccountIdentification.JSON_PROPERTY_BANK_CODE, - CZLocalAccountIdentification.JSON_PROPERTY_FORM_FACTOR, CZLocalAccountIdentification.JSON_PROPERTY_TYPE }) @@ -44,9 +43,6 @@ public class CZLocalAccountIdentification { public static final String JSON_PROPERTY_BANK_CODE = "bankCode"; private String bankCode; - public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor; - /** * **czLocal** */ @@ -146,36 +142,6 @@ public void setBankCode(String bankCode) { } - public CZLocalAccountIdentification formFactor(String formFactor) { - this.formFactor = formFactor; - return this; - } - - /** - * 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.") - @JsonProperty(JSON_PROPERTY_FORM_FACTOR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getFormFactor() { - return 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. - * - * @param formFactor - */ - @JsonProperty(JSON_PROPERTY_FORM_FACTOR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setFormFactor(String formFactor) { - this.formFactor = formFactor; - } - - public CZLocalAccountIdentification type(TypeEnum type) { this.type = type; return this; @@ -220,13 +186,12 @@ public boolean equals(Object o) { CZLocalAccountIdentification czLocalAccountIdentification = (CZLocalAccountIdentification) o; return Objects.equals(this.accountNumber, czLocalAccountIdentification.accountNumber) && Objects.equals(this.bankCode, czLocalAccountIdentification.bankCode) && - Objects.equals(this.formFactor, czLocalAccountIdentification.formFactor) && Objects.equals(this.type, czLocalAccountIdentification.type); } @Override public int hashCode() { - return Objects.hash(accountNumber, bankCode, formFactor, type); + return Objects.hash(accountNumber, bankCode, type); } @Override @@ -235,7 +200,6 @@ public String toString() { sb.append("class CZLocalAccountIdentification {\n"); sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n"); sb.append(" bankCode: ").append(toIndentedString(bankCode)).append("\n"); - sb.append(" formFactor: ").append(toIndentedString(formFactor)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append("}"); return sb.toString(); diff --git a/src/main/java/com/adyen/model/legalentitymanagement/DKLocalAccountIdentification.java b/src/main/java/com/adyen/model/legalentitymanagement/DKLocalAccountIdentification.java index 190e1c7e6..ee6e689e0 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/DKLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/DKLocalAccountIdentification.java @@ -33,7 +33,6 @@ @JsonPropertyOrder({ DKLocalAccountIdentification.JSON_PROPERTY_ACCOUNT_NUMBER, DKLocalAccountIdentification.JSON_PROPERTY_BANK_CODE, - DKLocalAccountIdentification.JSON_PROPERTY_FORM_FACTOR, DKLocalAccountIdentification.JSON_PROPERTY_TYPE }) @@ -44,9 +43,6 @@ public class DKLocalAccountIdentification { public static final String JSON_PROPERTY_BANK_CODE = "bankCode"; private String bankCode; - public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor; - /** * **dkLocal** */ @@ -146,36 +142,6 @@ public void setBankCode(String bankCode) { } - public DKLocalAccountIdentification formFactor(String formFactor) { - this.formFactor = formFactor; - return this; - } - - /** - * 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.") - @JsonProperty(JSON_PROPERTY_FORM_FACTOR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getFormFactor() { - return 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. - * - * @param formFactor - */ - @JsonProperty(JSON_PROPERTY_FORM_FACTOR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setFormFactor(String formFactor) { - this.formFactor = formFactor; - } - - public DKLocalAccountIdentification type(TypeEnum type) { this.type = type; return this; @@ -220,13 +186,12 @@ public boolean equals(Object o) { DKLocalAccountIdentification dkLocalAccountIdentification = (DKLocalAccountIdentification) o; return Objects.equals(this.accountNumber, dkLocalAccountIdentification.accountNumber) && Objects.equals(this.bankCode, dkLocalAccountIdentification.bankCode) && - Objects.equals(this.formFactor, dkLocalAccountIdentification.formFactor) && Objects.equals(this.type, dkLocalAccountIdentification.type); } @Override public int hashCode() { - return Objects.hash(accountNumber, bankCode, formFactor, type); + return Objects.hash(accountNumber, bankCode, type); } @Override @@ -235,7 +200,6 @@ public String toString() { sb.append("class DKLocalAccountIdentification {\n"); sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n"); sb.append(" bankCode: ").append(toIndentedString(bankCode)).append("\n"); - sb.append(" formFactor: ").append(toIndentedString(formFactor)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append("}"); return sb.toString(); diff --git a/src/main/java/com/adyen/model/legalentitymanagement/HKLocalAccountIdentification.java b/src/main/java/com/adyen/model/legalentitymanagement/HKLocalAccountIdentification.java index 80e274cdb..aa32d43f9 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/HKLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/HKLocalAccountIdentification.java @@ -35,7 +35,6 @@ HKLocalAccountIdentification.JSON_PROPERTY_BANK_NAME, HKLocalAccountIdentification.JSON_PROPERTY_BIC, HKLocalAccountIdentification.JSON_PROPERTY_CLEARING_CODE, - HKLocalAccountIdentification.JSON_PROPERTY_FORM_FACTOR, HKLocalAccountIdentification.JSON_PROPERTY_TYPE }) @@ -52,9 +51,6 @@ public class HKLocalAccountIdentification { public static final String JSON_PROPERTY_CLEARING_CODE = "clearingCode"; private String clearingCode; - public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor; - /** * **hkLocal** */ @@ -214,36 +210,6 @@ public void setClearingCode(String clearingCode) { } - public HKLocalAccountIdentification formFactor(String formFactor) { - this.formFactor = formFactor; - return this; - } - - /** - * 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.") - @JsonProperty(JSON_PROPERTY_FORM_FACTOR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getFormFactor() { - return 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. - * - * @param formFactor - */ - @JsonProperty(JSON_PROPERTY_FORM_FACTOR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setFormFactor(String formFactor) { - this.formFactor = formFactor; - } - - public HKLocalAccountIdentification type(TypeEnum type) { this.type = type; return this; @@ -290,13 +256,12 @@ public boolean equals(Object o) { 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); } @Override public int hashCode() { - return Objects.hash(accountNumber, bankName, bic, clearingCode, formFactor, type); + return Objects.hash(accountNumber, bankName, bic, clearingCode, type); } @Override @@ -307,7 +272,6 @@ public String toString() { 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"); sb.append("}"); return sb.toString(); diff --git a/src/main/java/com/adyen/model/legalentitymanagement/HULocalAccountIdentification.java b/src/main/java/com/adyen/model/legalentitymanagement/HULocalAccountIdentification.java index d3b37bcc9..8b0415b10 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/HULocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/HULocalAccountIdentification.java @@ -32,7 +32,6 @@ */ @JsonPropertyOrder({ HULocalAccountIdentification.JSON_PROPERTY_ACCOUNT_NUMBER, - HULocalAccountIdentification.JSON_PROPERTY_FORM_FACTOR, HULocalAccountIdentification.JSON_PROPERTY_TYPE }) @@ -40,9 +39,6 @@ public class HULocalAccountIdentification { public static final String JSON_PROPERTY_ACCOUNT_NUMBER = "accountNumber"; private String accountNumber; - public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor; - /** * **huLocal** */ @@ -112,36 +108,6 @@ public void setAccountNumber(String accountNumber) { } - public HULocalAccountIdentification formFactor(String formFactor) { - this.formFactor = formFactor; - return this; - } - - /** - * 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.") - @JsonProperty(JSON_PROPERTY_FORM_FACTOR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getFormFactor() { - return 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. - * - * @param formFactor - */ - @JsonProperty(JSON_PROPERTY_FORM_FACTOR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setFormFactor(String formFactor) { - this.formFactor = formFactor; - } - - public HULocalAccountIdentification type(TypeEnum type) { this.type = type; return this; @@ -185,13 +151,12 @@ public boolean equals(Object o) { } HULocalAccountIdentification huLocalAccountIdentification = (HULocalAccountIdentification) o; return Objects.equals(this.accountNumber, huLocalAccountIdentification.accountNumber) && - Objects.equals(this.formFactor, huLocalAccountIdentification.formFactor) && Objects.equals(this.type, huLocalAccountIdentification.type); } @Override public int hashCode() { - return Objects.hash(accountNumber, formFactor, type); + return Objects.hash(accountNumber, type); } @Override @@ -199,7 +164,6 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class HULocalAccountIdentification {\n"); sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n"); - sb.append(" formFactor: ").append(toIndentedString(formFactor)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append("}"); return sb.toString(); diff --git a/src/main/java/com/adyen/model/legalentitymanagement/IbanAccountIdentification.java b/src/main/java/com/adyen/model/legalentitymanagement/IbanAccountIdentification.java index 1f3d46fef..65f367ce5 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/IbanAccountIdentification.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/IbanAccountIdentification.java @@ -31,15 +31,11 @@ * IbanAccountIdentification */ @JsonPropertyOrder({ - IbanAccountIdentification.JSON_PROPERTY_FORM_FACTOR, IbanAccountIdentification.JSON_PROPERTY_IBAN, IbanAccountIdentification.JSON_PROPERTY_TYPE }) public class IbanAccountIdentification { - public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor; - public static final String JSON_PROPERTY_IBAN = "iban"; private String iban; @@ -82,36 +78,6 @@ public static TypeEnum fromValue(String value) { public IbanAccountIdentification() { } - public IbanAccountIdentification formFactor(String formFactor) { - this.formFactor = formFactor; - return this; - } - - /** - * 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.") - @JsonProperty(JSON_PROPERTY_FORM_FACTOR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getFormFactor() { - return 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. - * - * @param formFactor - */ - @JsonProperty(JSON_PROPERTY_FORM_FACTOR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setFormFactor(String formFactor) { - this.formFactor = formFactor; - } - - public IbanAccountIdentification iban(String iban) { this.iban = iban; return this; @@ -184,21 +150,19 @@ public boolean equals(Object o) { return false; } IbanAccountIdentification ibanAccountIdentification = (IbanAccountIdentification) o; - return Objects.equals(this.formFactor, ibanAccountIdentification.formFactor) && - Objects.equals(this.iban, ibanAccountIdentification.iban) && + return Objects.equals(this.iban, ibanAccountIdentification.iban) && Objects.equals(this.type, ibanAccountIdentification.type); } @Override public int hashCode() { - return Objects.hash(formFactor, iban, type); + return Objects.hash(iban, type); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class IbanAccountIdentification {\n"); - sb.append(" formFactor: ").append(toIndentedString(formFactor)).append("\n"); sb.append(" iban: ").append(toIndentedString(iban)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append("}"); diff --git a/src/main/java/com/adyen/model/legalentitymanagement/NOLocalAccountIdentification.java b/src/main/java/com/adyen/model/legalentitymanagement/NOLocalAccountIdentification.java index ae305eb67..df2bc5261 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/NOLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/NOLocalAccountIdentification.java @@ -32,7 +32,6 @@ */ @JsonPropertyOrder({ NOLocalAccountIdentification.JSON_PROPERTY_ACCOUNT_NUMBER, - NOLocalAccountIdentification.JSON_PROPERTY_FORM_FACTOR, NOLocalAccountIdentification.JSON_PROPERTY_TYPE }) @@ -40,9 +39,6 @@ public class NOLocalAccountIdentification { public static final String JSON_PROPERTY_ACCOUNT_NUMBER = "accountNumber"; private String accountNumber; - public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor; - /** * **noLocal** */ @@ -112,36 +108,6 @@ public void setAccountNumber(String accountNumber) { } - public NOLocalAccountIdentification formFactor(String formFactor) { - this.formFactor = formFactor; - return this; - } - - /** - * 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.") - @JsonProperty(JSON_PROPERTY_FORM_FACTOR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getFormFactor() { - return 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. - * - * @param formFactor - */ - @JsonProperty(JSON_PROPERTY_FORM_FACTOR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setFormFactor(String formFactor) { - this.formFactor = formFactor; - } - - public NOLocalAccountIdentification type(TypeEnum type) { this.type = type; return this; @@ -185,13 +151,12 @@ public boolean equals(Object o) { } NOLocalAccountIdentification noLocalAccountIdentification = (NOLocalAccountIdentification) o; return Objects.equals(this.accountNumber, noLocalAccountIdentification.accountNumber) && - Objects.equals(this.formFactor, noLocalAccountIdentification.formFactor) && Objects.equals(this.type, noLocalAccountIdentification.type); } @Override public int hashCode() { - return Objects.hash(accountNumber, formFactor, type); + return Objects.hash(accountNumber, type); } @Override @@ -199,7 +164,6 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class NOLocalAccountIdentification {\n"); sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n"); - sb.append(" formFactor: ").append(toIndentedString(formFactor)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append("}"); return sb.toString(); diff --git a/src/main/java/com/adyen/model/legalentitymanagement/NZLocalAccountIdentification.java b/src/main/java/com/adyen/model/legalentitymanagement/NZLocalAccountIdentification.java index 4985d827d..533111612 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/NZLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/NZLocalAccountIdentification.java @@ -32,7 +32,6 @@ */ @JsonPropertyOrder({ NZLocalAccountIdentification.JSON_PROPERTY_ACCOUNT_NUMBER, - NZLocalAccountIdentification.JSON_PROPERTY_FORM_FACTOR, NZLocalAccountIdentification.JSON_PROPERTY_TYPE }) @@ -40,9 +39,6 @@ public class NZLocalAccountIdentification { public static final String JSON_PROPERTY_ACCOUNT_NUMBER = "accountNumber"; private String accountNumber; - public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor; - /** * **nzLocal** */ @@ -112,36 +108,6 @@ public void setAccountNumber(String accountNumber) { } - public NZLocalAccountIdentification formFactor(String formFactor) { - this.formFactor = formFactor; - return this; - } - - /** - * 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.") - @JsonProperty(JSON_PROPERTY_FORM_FACTOR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getFormFactor() { - return 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. - * - * @param formFactor - */ - @JsonProperty(JSON_PROPERTY_FORM_FACTOR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setFormFactor(String formFactor) { - this.formFactor = formFactor; - } - - public NZLocalAccountIdentification type(TypeEnum type) { this.type = type; return this; @@ -185,13 +151,12 @@ public boolean equals(Object o) { } NZLocalAccountIdentification nzLocalAccountIdentification = (NZLocalAccountIdentification) o; return Objects.equals(this.accountNumber, nzLocalAccountIdentification.accountNumber) && - Objects.equals(this.formFactor, nzLocalAccountIdentification.formFactor) && Objects.equals(this.type, nzLocalAccountIdentification.type); } @Override public int hashCode() { - return Objects.hash(accountNumber, formFactor, type); + return Objects.hash(accountNumber, type); } @Override @@ -199,7 +164,6 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class NZLocalAccountIdentification {\n"); sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n"); - sb.append(" formFactor: ").append(toIndentedString(formFactor)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append("}"); return sb.toString(); diff --git a/src/main/java/com/adyen/model/legalentitymanagement/NumberAndBicAccountIdentification.java b/src/main/java/com/adyen/model/legalentitymanagement/NumberAndBicAccountIdentification.java index 5988c3cd7..eaaf1c06f 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/NumberAndBicAccountIdentification.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/NumberAndBicAccountIdentification.java @@ -35,7 +35,6 @@ NumberAndBicAccountIdentification.JSON_PROPERTY_ACCOUNT_NUMBER, NumberAndBicAccountIdentification.JSON_PROPERTY_ADDITIONAL_BANK_IDENTIFICATION, NumberAndBicAccountIdentification.JSON_PROPERTY_BIC, - NumberAndBicAccountIdentification.JSON_PROPERTY_FORM_FACTOR, NumberAndBicAccountIdentification.JSON_PROPERTY_TYPE }) @@ -49,9 +48,6 @@ public class NumberAndBicAccountIdentification { public static final String JSON_PROPERTY_BIC = "bic"; private String bic; - public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor; - /** * **numberAndBic** */ @@ -181,36 +177,6 @@ public void setBic(String bic) { } - public NumberAndBicAccountIdentification formFactor(String formFactor) { - this.formFactor = formFactor; - return this; - } - - /** - * 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.") - @JsonProperty(JSON_PROPERTY_FORM_FACTOR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getFormFactor() { - return 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. - * - * @param formFactor - */ - @JsonProperty(JSON_PROPERTY_FORM_FACTOR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setFormFactor(String formFactor) { - this.formFactor = formFactor; - } - - public NumberAndBicAccountIdentification type(TypeEnum type) { this.type = type; return this; @@ -256,13 +222,12 @@ public boolean equals(Object o) { return Objects.equals(this.accountNumber, numberAndBicAccountIdentification.accountNumber) && Objects.equals(this.additionalBankIdentification, numberAndBicAccountIdentification.additionalBankIdentification) && Objects.equals(this.bic, numberAndBicAccountIdentification.bic) && - Objects.equals(this.formFactor, numberAndBicAccountIdentification.formFactor) && Objects.equals(this.type, numberAndBicAccountIdentification.type); } @Override public int hashCode() { - return Objects.hash(accountNumber, additionalBankIdentification, bic, formFactor, type); + return Objects.hash(accountNumber, additionalBankIdentification, bic, type); } @Override @@ -272,7 +237,6 @@ public String toString() { sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n"); sb.append(" additionalBankIdentification: ").append(toIndentedString(additionalBankIdentification)).append("\n"); sb.append(" bic: ").append(toIndentedString(bic)).append("\n"); - sb.append(" formFactor: ").append(toIndentedString(formFactor)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append("}"); return sb.toString(); diff --git a/src/main/java/com/adyen/model/legalentitymanagement/PLLocalAccountIdentification.java b/src/main/java/com/adyen/model/legalentitymanagement/PLLocalAccountIdentification.java index 5e57b376e..36f1018ad 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/PLLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/PLLocalAccountIdentification.java @@ -32,7 +32,6 @@ */ @JsonPropertyOrder({ PLLocalAccountIdentification.JSON_PROPERTY_ACCOUNT_NUMBER, - PLLocalAccountIdentification.JSON_PROPERTY_FORM_FACTOR, PLLocalAccountIdentification.JSON_PROPERTY_TYPE }) @@ -40,9 +39,6 @@ public class PLLocalAccountIdentification { public static final String JSON_PROPERTY_ACCOUNT_NUMBER = "accountNumber"; private String accountNumber; - public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor; - /** * **plLocal** */ @@ -112,36 +108,6 @@ public void setAccountNumber(String accountNumber) { } - public PLLocalAccountIdentification formFactor(String formFactor) { - this.formFactor = formFactor; - return this; - } - - /** - * 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.") - @JsonProperty(JSON_PROPERTY_FORM_FACTOR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getFormFactor() { - return 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. - * - * @param formFactor - */ - @JsonProperty(JSON_PROPERTY_FORM_FACTOR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setFormFactor(String formFactor) { - this.formFactor = formFactor; - } - - public PLLocalAccountIdentification type(TypeEnum type) { this.type = type; return this; @@ -185,13 +151,12 @@ public boolean equals(Object o) { } PLLocalAccountIdentification plLocalAccountIdentification = (PLLocalAccountIdentification) o; return Objects.equals(this.accountNumber, plLocalAccountIdentification.accountNumber) && - Objects.equals(this.formFactor, plLocalAccountIdentification.formFactor) && Objects.equals(this.type, plLocalAccountIdentification.type); } @Override public int hashCode() { - return Objects.hash(accountNumber, formFactor, type); + return Objects.hash(accountNumber, type); } @Override @@ -199,7 +164,6 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PLLocalAccountIdentification {\n"); sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n"); - sb.append(" formFactor: ").append(toIndentedString(formFactor)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append("}"); return sb.toString(); diff --git a/src/main/java/com/adyen/model/legalentitymanagement/SELocalAccountIdentification.java b/src/main/java/com/adyen/model/legalentitymanagement/SELocalAccountIdentification.java index 50faa2460..cb991eed4 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/SELocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/SELocalAccountIdentification.java @@ -33,7 +33,6 @@ @JsonPropertyOrder({ SELocalAccountIdentification.JSON_PROPERTY_ACCOUNT_NUMBER, SELocalAccountIdentification.JSON_PROPERTY_CLEARING_NUMBER, - SELocalAccountIdentification.JSON_PROPERTY_FORM_FACTOR, SELocalAccountIdentification.JSON_PROPERTY_TYPE }) @@ -44,9 +43,6 @@ public class SELocalAccountIdentification { public static final String JSON_PROPERTY_CLEARING_NUMBER = "clearingNumber"; private String clearingNumber; - public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor; - /** * **seLocal** */ @@ -146,36 +142,6 @@ public void setClearingNumber(String clearingNumber) { } - public SELocalAccountIdentification formFactor(String formFactor) { - this.formFactor = formFactor; - return this; - } - - /** - * 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.") - @JsonProperty(JSON_PROPERTY_FORM_FACTOR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getFormFactor() { - return 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. - * - * @param formFactor - */ - @JsonProperty(JSON_PROPERTY_FORM_FACTOR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setFormFactor(String formFactor) { - this.formFactor = formFactor; - } - - public SELocalAccountIdentification type(TypeEnum type) { this.type = type; return this; @@ -220,13 +186,12 @@ public boolean equals(Object o) { SELocalAccountIdentification seLocalAccountIdentification = (SELocalAccountIdentification) o; return Objects.equals(this.accountNumber, seLocalAccountIdentification.accountNumber) && Objects.equals(this.clearingNumber, seLocalAccountIdentification.clearingNumber) && - Objects.equals(this.formFactor, seLocalAccountIdentification.formFactor) && Objects.equals(this.type, seLocalAccountIdentification.type); } @Override public int hashCode() { - return Objects.hash(accountNumber, clearingNumber, formFactor, type); + return Objects.hash(accountNumber, clearingNumber, type); } @Override @@ -235,7 +200,6 @@ public String toString() { sb.append("class SELocalAccountIdentification {\n"); sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n"); sb.append(" clearingNumber: ").append(toIndentedString(clearingNumber)).append("\n"); - sb.append(" formFactor: ").append(toIndentedString(formFactor)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append("}"); return sb.toString(); diff --git a/src/main/java/com/adyen/model/legalentitymanagement/SGLocalAccountIdentification.java b/src/main/java/com/adyen/model/legalentitymanagement/SGLocalAccountIdentification.java index 97f18e869..a357943d8 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/SGLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/SGLocalAccountIdentification.java @@ -33,7 +33,6 @@ @JsonPropertyOrder({ SGLocalAccountIdentification.JSON_PROPERTY_ACCOUNT_NUMBER, SGLocalAccountIdentification.JSON_PROPERTY_BIC, - SGLocalAccountIdentification.JSON_PROPERTY_FORM_FACTOR, SGLocalAccountIdentification.JSON_PROPERTY_TYPE }) @@ -44,9 +43,6 @@ public class SGLocalAccountIdentification { public static final String JSON_PROPERTY_BIC = "bic"; private String bic; - public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor; - /** * **sgLocal** */ @@ -146,36 +142,6 @@ public void setBic(String bic) { } - public SGLocalAccountIdentification formFactor(String formFactor) { - this.formFactor = formFactor; - return this; - } - - /** - * 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.") - @JsonProperty(JSON_PROPERTY_FORM_FACTOR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getFormFactor() { - return 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. - * - * @param formFactor - */ - @JsonProperty(JSON_PROPERTY_FORM_FACTOR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setFormFactor(String formFactor) { - this.formFactor = formFactor; - } - - public SGLocalAccountIdentification type(TypeEnum type) { this.type = type; return this; @@ -220,13 +186,12 @@ public boolean equals(Object o) { SGLocalAccountIdentification sgLocalAccountIdentification = (SGLocalAccountIdentification) o; return Objects.equals(this.accountNumber, sgLocalAccountIdentification.accountNumber) && Objects.equals(this.bic, sgLocalAccountIdentification.bic) && - Objects.equals(this.formFactor, sgLocalAccountIdentification.formFactor) && Objects.equals(this.type, sgLocalAccountIdentification.type); } @Override public int hashCode() { - return Objects.hash(accountNumber, bic, formFactor, type); + return Objects.hash(accountNumber, bic, type); } @Override @@ -235,7 +200,6 @@ public String toString() { sb.append("class SGLocalAccountIdentification {\n"); sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n"); sb.append(" bic: ").append(toIndentedString(bic)).append("\n"); - sb.append(" formFactor: ").append(toIndentedString(formFactor)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append("}"); return sb.toString(); diff --git a/src/main/java/com/adyen/model/legalentitymanagement/UKLocalAccountIdentification.java b/src/main/java/com/adyen/model/legalentitymanagement/UKLocalAccountIdentification.java index 9509645a8..fc316aad1 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/UKLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/UKLocalAccountIdentification.java @@ -32,7 +32,6 @@ */ @JsonPropertyOrder({ UKLocalAccountIdentification.JSON_PROPERTY_ACCOUNT_NUMBER, - UKLocalAccountIdentification.JSON_PROPERTY_FORM_FACTOR, UKLocalAccountIdentification.JSON_PROPERTY_SORT_CODE, UKLocalAccountIdentification.JSON_PROPERTY_TYPE }) @@ -41,9 +40,6 @@ public class UKLocalAccountIdentification { public static final String JSON_PROPERTY_ACCOUNT_NUMBER = "accountNumber"; private String accountNumber; - public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor; - public static final String JSON_PROPERTY_SORT_CODE = "sortCode"; private String sortCode; @@ -116,36 +112,6 @@ public void setAccountNumber(String accountNumber) { } - public UKLocalAccountIdentification formFactor(String formFactor) { - this.formFactor = formFactor; - return this; - } - - /** - * 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.") - @JsonProperty(JSON_PROPERTY_FORM_FACTOR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getFormFactor() { - return 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. - * - * @param formFactor - */ - @JsonProperty(JSON_PROPERTY_FORM_FACTOR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setFormFactor(String formFactor) { - this.formFactor = formFactor; - } - - public UKLocalAccountIdentification sortCode(String sortCode) { this.sortCode = sortCode; return this; @@ -219,14 +185,13 @@ public boolean equals(Object o) { } UKLocalAccountIdentification ukLocalAccountIdentification = (UKLocalAccountIdentification) o; return Objects.equals(this.accountNumber, ukLocalAccountIdentification.accountNumber) && - Objects.equals(this.formFactor, ukLocalAccountIdentification.formFactor) && Objects.equals(this.sortCode, ukLocalAccountIdentification.sortCode) && Objects.equals(this.type, ukLocalAccountIdentification.type); } @Override public int hashCode() { - return Objects.hash(accountNumber, formFactor, sortCode, type); + return Objects.hash(accountNumber, sortCode, type); } @Override @@ -234,7 +199,6 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class UKLocalAccountIdentification {\n"); sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n"); - sb.append(" formFactor: ").append(toIndentedString(formFactor)).append("\n"); sb.append(" sortCode: ").append(toIndentedString(sortCode)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append("}"); diff --git a/src/main/java/com/adyen/model/legalentitymanagement/USLocalAccountIdentification.java b/src/main/java/com/adyen/model/legalentitymanagement/USLocalAccountIdentification.java index 48d2a454f..826a90d67 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/USLocalAccountIdentification.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/USLocalAccountIdentification.java @@ -33,7 +33,6 @@ @JsonPropertyOrder({ USLocalAccountIdentification.JSON_PROPERTY_ACCOUNT_NUMBER, USLocalAccountIdentification.JSON_PROPERTY_ACCOUNT_TYPE, - USLocalAccountIdentification.JSON_PROPERTY_FORM_FACTOR, USLocalAccountIdentification.JSON_PROPERTY_ROUTING_NUMBER, USLocalAccountIdentification.JSON_PROPERTY_TYPE }) @@ -80,9 +79,6 @@ public static AccountTypeEnum fromValue(String value) { public static final String JSON_PROPERTY_ACCOUNT_TYPE = "accountType"; private AccountTypeEnum accountType; - public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor"; - private String formFactor; - public static final String JSON_PROPERTY_ROUTING_NUMBER = "routingNumber"; private String routingNumber; @@ -185,36 +181,6 @@ public void setAccountType(AccountTypeEnum accountType) { } - public USLocalAccountIdentification formFactor(String formFactor) { - this.formFactor = formFactor; - return this; - } - - /** - * 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.") - @JsonProperty(JSON_PROPERTY_FORM_FACTOR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getFormFactor() { - return 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. - * - * @param formFactor - */ - @JsonProperty(JSON_PROPERTY_FORM_FACTOR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setFormFactor(String formFactor) { - this.formFactor = formFactor; - } - - public USLocalAccountIdentification routingNumber(String routingNumber) { this.routingNumber = routingNumber; return this; @@ -289,14 +255,13 @@ public boolean equals(Object o) { USLocalAccountIdentification usLocalAccountIdentification = (USLocalAccountIdentification) o; return Objects.equals(this.accountNumber, usLocalAccountIdentification.accountNumber) && Objects.equals(this.accountType, usLocalAccountIdentification.accountType) && - Objects.equals(this.formFactor, usLocalAccountIdentification.formFactor) && Objects.equals(this.routingNumber, usLocalAccountIdentification.routingNumber) && Objects.equals(this.type, usLocalAccountIdentification.type); } @Override public int hashCode() { - return Objects.hash(accountNumber, accountType, formFactor, routingNumber, type); + return Objects.hash(accountNumber, accountType, routingNumber, type); } @Override @@ -305,7 +270,6 @@ public String toString() { sb.append("class USLocalAccountIdentification {\n"); sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n"); sb.append(" accountType: ").append(toIndentedString(accountType)).append("\n"); - sb.append(" formFactor: ").append(toIndentedString(formFactor)).append("\n"); sb.append(" routingNumber: ").append(toIndentedString(routingNumber)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append("}"); diff --git a/src/main/java/com/adyen/model/legalentitymanagement/VerificationDeadline.java b/src/main/java/com/adyen/model/legalentitymanagement/VerificationDeadline.java index c6cb0ec00..b14b22cb8 100644 --- a/src/main/java/com/adyen/model/legalentitymanagement/VerificationDeadline.java +++ b/src/main/java/com/adyen/model/legalentitymanagement/VerificationDeadline.java @@ -232,10 +232,10 @@ public VerificationDeadline addEntityIdsItem(String entityIdsItem) { } /** - * The unique identifiers of the bank account(s) that the deadline applies to + * The unique identifiers of the legal entity or supporting entities that the deadline applies to * @return entityIds **/ - @ApiModelProperty(value = "The unique identifiers of the bank account(s) that the deadline applies to") + @ApiModelProperty(value = "The unique identifiers of the legal entity or supporting entities that the deadline applies to") @JsonProperty(JSON_PROPERTY_ENTITY_IDS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -245,7 +245,7 @@ public List getEntityIds() { /** - * The unique identifiers of the bank account(s) that the deadline applies to + * The unique identifiers of the legal entity or supporting entities that the deadline applies to * * @param entityIds */ diff --git a/src/main/java/com/adyen/model/management/Store.java b/src/main/java/com/adyen/model/management/Store.java index 1f7b62340..b1bfb7dc7 100644 --- a/src/main/java/com/adyen/model/management/Store.java +++ b/src/main/java/com/adyen/model/management/Store.java @@ -261,10 +261,10 @@ public Store externalReferenceId(String externalReferenceId) { } /** - * The unique identifier of the store, used by certain payment methods and tax authorities. Accepts up to 14 digits. Required for CNPJ in Brazil, in the format 00.000.000/00git00-00 separated by dots, slashes, hyphens, or without separators. Optional for Zip in Australia and SIRET in France, required except for nonprofit organizations and incorporated associations. + * The unique identifier of the store, used by certain payment methods and tax authorities. Required for CNPJ in Brazil, in the format 00.000.000/0000-00 separated by dots, slashes, hyphens, or without separators. Optional for SIRET in France, up to 14 digits. Optional for Zip in Australia, up to 50 digits. * @return externalReferenceId **/ - @ApiModelProperty(value = "The unique identifier of the store, used by certain payment methods and tax authorities. Accepts up to 14 digits. Required for CNPJ in Brazil, in the format 00.000.000/00git00-00 separated by dots, slashes, hyphens, or without separators. Optional for Zip in Australia and SIRET in France, required except for nonprofit organizations and incorporated associations. ") + @ApiModelProperty(value = "The unique identifier of the store, used by certain payment methods and tax authorities. Required for CNPJ in Brazil, in the format 00.000.000/0000-00 separated by dots, slashes, hyphens, or without separators. Optional for SIRET in France, up to 14 digits. Optional for Zip in Australia, up to 50 digits. ") @JsonProperty(JSON_PROPERTY_EXTERNAL_REFERENCE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -274,7 +274,7 @@ public String getExternalReferenceId() { /** - * The unique identifier of the store, used by certain payment methods and tax authorities. Accepts up to 14 digits. Required for CNPJ in Brazil, in the format 00.000.000/00git00-00 separated by dots, slashes, hyphens, or without separators. Optional for Zip in Australia and SIRET in France, required except for nonprofit organizations and incorporated associations. + * The unique identifier of the store, used by certain payment methods and tax authorities. Required for CNPJ in Brazil, in the format 00.000.000/0000-00 separated by dots, slashes, hyphens, or without separators. Optional for SIRET in France, up to 14 digits. Optional for Zip in Australia, up to 50 digits. * * @param externalReferenceId */ diff --git a/src/main/java/com/adyen/model/management/StoreCreationRequest.java b/src/main/java/com/adyen/model/management/StoreCreationRequest.java index 2bb9a96c9..5bd0aab67 100644 --- a/src/main/java/com/adyen/model/management/StoreCreationRequest.java +++ b/src/main/java/com/adyen/model/management/StoreCreationRequest.java @@ -177,10 +177,10 @@ public StoreCreationRequest externalReferenceId(String externalReferenceId) { } /** - * The unique identifier of the store, used by certain payment methods and tax authorities. Accepts up to 14 digits. Required for CNPJ in Brazil, in the format 00.000.000/00git00-00 separated by dots, slashes, hyphens, or without separators. Optional for Zip in Australia and SIRET in France, required except for nonprofit organizations and incorporated associations. + * The unique identifier of the store, used by certain payment methods and tax authorities. Required for CNPJ in Brazil, in the format 00.000.000/0000-00 separated by dots, slashes, hyphens, or without separators. Optional for SIRET in France, up to 14 digits. Optional for Zip in Australia, up to 50 digits. * @return externalReferenceId **/ - @ApiModelProperty(value = "The unique identifier of the store, used by certain payment methods and tax authorities. Accepts up to 14 digits. Required for CNPJ in Brazil, in the format 00.000.000/00git00-00 separated by dots, slashes, hyphens, or without separators. Optional for Zip in Australia and SIRET in France, required except for nonprofit organizations and incorporated associations. ") + @ApiModelProperty(value = "The unique identifier of the store, used by certain payment methods and tax authorities. Required for CNPJ in Brazil, in the format 00.000.000/0000-00 separated by dots, slashes, hyphens, or without separators. Optional for SIRET in France, up to 14 digits. Optional for Zip in Australia, up to 50 digits. ") @JsonProperty(JSON_PROPERTY_EXTERNAL_REFERENCE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -190,7 +190,7 @@ public String getExternalReferenceId() { /** - * The unique identifier of the store, used by certain payment methods and tax authorities. Accepts up to 14 digits. Required for CNPJ in Brazil, in the format 00.000.000/00git00-00 separated by dots, slashes, hyphens, or without separators. Optional for Zip in Australia and SIRET in France, required except for nonprofit organizations and incorporated associations. + * The unique identifier of the store, used by certain payment methods and tax authorities. Required for CNPJ in Brazil, in the format 00.000.000/0000-00 separated by dots, slashes, hyphens, or without separators. Optional for SIRET in France, up to 14 digits. Optional for Zip in Australia, up to 50 digits. * * @param externalReferenceId */ diff --git a/src/main/java/com/adyen/model/management/StoreCreationWithMerchantCodeRequest.java b/src/main/java/com/adyen/model/management/StoreCreationWithMerchantCodeRequest.java index 6a7e10281..39eda2f09 100644 --- a/src/main/java/com/adyen/model/management/StoreCreationWithMerchantCodeRequest.java +++ b/src/main/java/com/adyen/model/management/StoreCreationWithMerchantCodeRequest.java @@ -181,10 +181,10 @@ public StoreCreationWithMerchantCodeRequest externalReferenceId(String externalR } /** - * The unique identifier of the store, used by certain payment methods and tax authorities. Accepts up to 14 digits. Required for CNPJ in Brazil, in the format 00.000.000/00git00-00 separated by dots, slashes, hyphens, or without separators. Optional for Zip in Australia and SIRET in France, required except for nonprofit organizations and incorporated associations. + * The unique identifier of the store, used by certain payment methods and tax authorities. Required for CNPJ in Brazil, in the format 00.000.000/0000-00 separated by dots, slashes, hyphens, or without separators. Optional for SIRET in France, up to 14 digits. Optional for Zip in Australia, up to 50 digits. * @return externalReferenceId **/ - @ApiModelProperty(value = "The unique identifier of the store, used by certain payment methods and tax authorities. Accepts up to 14 digits. Required for CNPJ in Brazil, in the format 00.000.000/00git00-00 separated by dots, slashes, hyphens, or without separators. Optional for Zip in Australia and SIRET in France, required except for nonprofit organizations and incorporated associations. ") + @ApiModelProperty(value = "The unique identifier of the store, used by certain payment methods and tax authorities. Required for CNPJ in Brazil, in the format 00.000.000/0000-00 separated by dots, slashes, hyphens, or without separators. Optional for SIRET in France, up to 14 digits. Optional for Zip in Australia, up to 50 digits. ") @JsonProperty(JSON_PROPERTY_EXTERNAL_REFERENCE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -194,7 +194,7 @@ public String getExternalReferenceId() { /** - * The unique identifier of the store, used by certain payment methods and tax authorities. Accepts up to 14 digits. Required for CNPJ in Brazil, in the format 00.000.000/00git00-00 separated by dots, slashes, hyphens, or without separators. Optional for Zip in Australia and SIRET in France, required except for nonprofit organizations and incorporated associations. + * The unique identifier of the store, used by certain payment methods and tax authorities. Required for CNPJ in Brazil, in the format 00.000.000/0000-00 separated by dots, slashes, hyphens, or without separators. Optional for SIRET in France, up to 14 digits. Optional for Zip in Australia, up to 50 digits. * * @param externalReferenceId */ diff --git a/src/main/java/com/adyen/model/management/UpdateStoreRequest.java b/src/main/java/com/adyen/model/management/UpdateStoreRequest.java index 776fcc319..9ac9f9143 100644 --- a/src/main/java/com/adyen/model/management/UpdateStoreRequest.java +++ b/src/main/java/com/adyen/model/management/UpdateStoreRequest.java @@ -210,10 +210,10 @@ public UpdateStoreRequest externalReferenceId(String externalReferenceId) { } /** - * The unique identifier of the store, used by certain payment methods and tax authorities. Accepts up to 14 digits. Required for CNPJ in Brazil, in the format 00.000.000/00git00-00 separated by dots, slashes, hyphens, or without separators. Optional for Zip in Australia and SIRET in France, required except for nonprofit organizations and incorporated associations. + * The unique identifier of the store, used by certain payment methods and tax authorities. Required for CNPJ in Brazil, in the format 00.000.000/0000-00 separated by dots, slashes, hyphens, or without separators. Optional for SIRET in France, up to 14 digits. Optional for Zip in Australia, up to 50 digits. * @return externalReferenceId **/ - @ApiModelProperty(value = "The unique identifier of the store, used by certain payment methods and tax authorities. Accepts up to 14 digits. Required for CNPJ in Brazil, in the format 00.000.000/00git00-00 separated by dots, slashes, hyphens, or without separators. Optional for Zip in Australia and SIRET in France, required except for nonprofit organizations and incorporated associations. ") + @ApiModelProperty(value = "The unique identifier of the store, used by certain payment methods and tax authorities. Required for CNPJ in Brazil, in the format 00.000.000/0000-00 separated by dots, slashes, hyphens, or without separators. Optional for SIRET in France, up to 14 digits. Optional for Zip in Australia, up to 50 digits. ") @JsonProperty(JSON_PROPERTY_EXTERNAL_REFERENCE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -223,7 +223,7 @@ public String getExternalReferenceId() { /** - * The unique identifier of the store, used by certain payment methods and tax authorities. Accepts up to 14 digits. Required for CNPJ in Brazil, in the format 00.000.000/00git00-00 separated by dots, slashes, hyphens, or without separators. Optional for Zip in Australia and SIRET in France, required except for nonprofit organizations and incorporated associations. + * The unique identifier of the store, used by certain payment methods and tax authorities. Required for CNPJ in Brazil, in the format 00.000.000/0000-00 separated by dots, slashes, hyphens, or without separators. Optional for SIRET in France, up to 14 digits. Optional for Zip in Australia, up to 50 digits. * * @param externalReferenceId */ diff --git a/src/main/java/com/adyen/model/management/UploadAndroidCertificateResponse.java b/src/main/java/com/adyen/model/management/UploadAndroidCertificateResponse.java new file mode 100644 index 000000000..479e0290d --- /dev/null +++ b/src/main/java/com/adyen/model/management/UploadAndroidCertificateResponse.java @@ -0,0 +1,133 @@ +/* + * Management API + * + * The version of the OpenAPI document: 3 + * + * + * 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.management; + +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; + + +/** + * UploadAndroidCertificateResponse + */ +@JsonPropertyOrder({ + UploadAndroidCertificateResponse.JSON_PROPERTY_ID +}) + +public class UploadAndroidCertificateResponse { + public static final String JSON_PROPERTY_ID = "id"; + private String id; + + public UploadAndroidCertificateResponse() { + } + + public UploadAndroidCertificateResponse id(String id) { + this.id = id; + return this; + } + + /** + * The unique identifier of the uploaded Android certificate. + * @return id + **/ + @ApiModelProperty(value = "The unique identifier of the uploaded Android certificate.") + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getId() { + return id; + } + + + /** + * The unique identifier of the uploaded Android certificate. + * + * @param id + */ + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setId(String id) { + this.id = id; + } + + + /** + * Return true if this UploadAndroidCertificateResponse object is equal to o. + */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UploadAndroidCertificateResponse uploadAndroidCertificateResponse = (UploadAndroidCertificateResponse) o; + return Objects.equals(this.id, uploadAndroidCertificateResponse.id); + } + + @Override + public int hashCode() { + return Objects.hash(id); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UploadAndroidCertificateResponse {\n"); + sb.append(" id: ").append(toIndentedString(id)).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 UploadAndroidCertificateResponse given an JSON string + * + * @param jsonString JSON string + * @return An instance of UploadAndroidCertificateResponse + * @throws JsonProcessingException if the JSON string is invalid with respect to UploadAndroidCertificateResponse + */ + public static UploadAndroidCertificateResponse fromJson(String jsonString) throws JsonProcessingException { + return JSON.getMapper().readValue(jsonString, UploadAndroidCertificateResponse.class); + } +/** + * Convert an instance of UploadAndroidCertificateResponse 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/payment/AdjustAuthorisationRequest.java b/src/main/java/com/adyen/model/payment/AdjustAuthorisationRequest.java index 854c6d86b..22e61b6ad 100644 --- a/src/main/java/com/adyen/model/payment/AdjustAuthorisationRequest.java +++ b/src/main/java/com/adyen/model/payment/AdjustAuthorisationRequest.java @@ -351,10 +351,10 @@ public AdjustAuthorisationRequest 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 split payments for [platforms](https://docs.adyen.com/platforms/automatic-split-configuration/). * @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 split payments for [platforms](https://docs.adyen.com/platforms/automatic-split-configuration/).") @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -364,7 +364,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 split payments for [platforms](https://docs.adyen.com/platforms/automatic-split-configuration/). * * @param splits */ diff --git a/src/main/java/com/adyen/model/payment/CancelRequest.java b/src/main/java/com/adyen/model/payment/CancelRequest.java index eefd98802..c386fafa7 100644 --- a/src/main/java/com/adyen/model/payment/CancelRequest.java +++ b/src/main/java/com/adyen/model/payment/CancelRequest.java @@ -316,10 +316,10 @@ public CancelRequest 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 split payments for [platforms](https://docs.adyen.com/platforms/automatic-split-configuration/). * @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 split payments for [platforms](https://docs.adyen.com/platforms/automatic-split-configuration/).") @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -329,7 +329,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 split payments for [platforms](https://docs.adyen.com/platforms/automatic-split-configuration/). * * @param splits */ diff --git a/src/main/java/com/adyen/model/payment/CaptureRequest.java b/src/main/java/com/adyen/model/payment/CaptureRequest.java index 28a5170ce..c61334ce5 100644 --- a/src/main/java/com/adyen/model/payment/CaptureRequest.java +++ b/src/main/java/com/adyen/model/payment/CaptureRequest.java @@ -351,10 +351,10 @@ public CaptureRequest 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 split payments for [platforms](https://docs.adyen.com/platforms/automatic-split-configuration/). * @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 split payments for [platforms](https://docs.adyen.com/platforms/automatic-split-configuration/).") @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -364,7 +364,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 split payments for [platforms](https://docs.adyen.com/platforms/automatic-split-configuration/). * * @param splits */ diff --git a/src/main/java/com/adyen/model/payment/PaymentRequest.java b/src/main/java/com/adyen/model/payment/PaymentRequest.java index 7ebc04460..dde41ddab 100644 --- a/src/main/java/com/adyen/model/payment/PaymentRequest.java +++ b/src/main/java/com/adyen/model/payment/PaymentRequest.java @@ -1838,10 +1838,10 @@ public PaymentRequest 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) @@ -1851,7 +1851,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 */ @@ -1868,10 +1868,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) @@ -1881,7 +1881,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/payment/PaymentRequest3d.java b/src/main/java/com/adyen/model/payment/PaymentRequest3d.java index 0b1967233..b56a5c4e8 100644 --- a/src/main/java/com/adyen/model/payment/PaymentRequest3d.java +++ b/src/main/java/com/adyen/model/payment/PaymentRequest3d.java @@ -1489,10 +1489,10 @@ public PaymentRequest3d 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) @@ -1502,7 +1502,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 */ @@ -1519,10 +1519,10 @@ public PaymentRequest3d 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) @@ -1532,7 +1532,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/payment/PaymentRequest3ds2.java b/src/main/java/com/adyen/model/payment/PaymentRequest3ds2.java index d3e3fbe6c..3dbb341bf 100644 --- a/src/main/java/com/adyen/model/payment/PaymentRequest3ds2.java +++ b/src/main/java/com/adyen/model/payment/PaymentRequest3ds2.java @@ -1430,10 +1430,10 @@ public PaymentRequest3ds2 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) @@ -1443,7 +1443,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 */ @@ -1460,10 +1460,10 @@ public PaymentRequest3ds2 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) @@ -1473,7 +1473,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/payment/RefundRequest.java b/src/main/java/com/adyen/model/payment/RefundRequest.java index 203c37c2a..3c58297c8 100644 --- a/src/main/java/com/adyen/model/payment/RefundRequest.java +++ b/src/main/java/com/adyen/model/payment/RefundRequest.java @@ -351,10 +351,10 @@ public RefundRequest 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 split payments for [platforms](https://docs.adyen.com/platforms/automatic-split-configuration/). * @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 split payments for [platforms](https://docs.adyen.com/platforms/automatic-split-configuration/).") @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -364,7 +364,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 split payments for [platforms](https://docs.adyen.com/platforms/automatic-split-configuration/). * * @param splits */ diff --git a/src/main/java/com/adyen/model/payment/Split.java b/src/main/java/com/adyen/model/payment/Split.java index 8e1389282..46d152dc6 100644 --- a/src/main/java/com/adyen/model/payment/Split.java +++ b/src/main/java/com/adyen/model/payment/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/payment/TechnicalCancelRequest.java b/src/main/java/com/adyen/model/payment/TechnicalCancelRequest.java index cf3786055..793ace111 100644 --- a/src/main/java/com/adyen/model/payment/TechnicalCancelRequest.java +++ b/src/main/java/com/adyen/model/payment/TechnicalCancelRequest.java @@ -317,10 +317,10 @@ public TechnicalCancelRequest 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 split payments for [platforms](https://docs.adyen.com/platforms/automatic-split-configuration/). * @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 split payments for [platforms](https://docs.adyen.com/platforms/automatic-split-configuration/).") @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -330,7 +330,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 split payments for [platforms](https://docs.adyen.com/platforms/automatic-split-configuration/). * * @param splits */ diff --git a/src/main/java/com/adyen/model/payment/ThreeDS2RequestData.java b/src/main/java/com/adyen/model/payment/ThreeDS2RequestData.java index c8fdf327f..2b2a389b3 100644 --- a/src/main/java/com/adyen/model/payment/ThreeDS2RequestData.java +++ b/src/main/java/com/adyen/model/payment/ThreeDS2RequestData.java @@ -54,7 +54,6 @@ ThreeDS2RequestData.JSON_PROPERTY_NOTIFICATION_U_R_L, ThreeDS2RequestData.JSON_PROPERTY_PAY_TOKEN_IND, ThreeDS2RequestData.JSON_PROPERTY_PAYMENT_AUTHENTICATION_USE_CASE, - ThreeDS2RequestData.JSON_PROPERTY_PLATFORM, ThreeDS2RequestData.JSON_PROPERTY_PURCHASE_INSTAL_DATA, ThreeDS2RequestData.JSON_PROPERTY_RECURRING_EXPIRY, ThreeDS2RequestData.JSON_PROPERTY_RECURRING_FREQUENCY, @@ -244,46 +243,6 @@ public static ChallengeIndicatorEnum fromValue(String value) { public static final String JSON_PROPERTY_PAYMENT_AUTHENTICATION_USE_CASE = "paymentAuthenticationUseCase"; private String paymentAuthenticationUseCase; - /** - * The platform of the shopper. Allowed values: * `iOS` * `android` * `browser` - */ - public enum PlatformEnum { - IOS("iOS"), - - ANDROID("android"), - - BROWSER("browser"); - - private String value; - - PlatformEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static PlatformEnum fromValue(String value) { - for (PlatformEnum b : PlatformEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - - public static final String JSON_PROPERTY_PLATFORM = "platform"; - private PlatformEnum platform; - public static final String JSON_PROPERTY_PURCHASE_INSTAL_DATA = "purchaseInstalData"; private String purchaseInstalData; @@ -996,36 +955,6 @@ public void setPaymentAuthenticationUseCase(String paymentAuthenticationUseCase) } - public ThreeDS2RequestData platform(PlatformEnum platform) { - this.platform = platform; - return this; - } - - /** - * The platform of the shopper. Allowed values: * `iOS` * `android` * `browser` - * @return platform - **/ - @ApiModelProperty(value = "The platform of the shopper. Allowed values: * `iOS` * `android` * `browser`") - @JsonProperty(JSON_PROPERTY_PLATFORM) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public PlatformEnum getPlatform() { - return platform; - } - - - /** - * The platform of the shopper. Allowed values: * `iOS` * `android` * `browser` - * - * @param platform - */ - @JsonProperty(JSON_PROPERTY_PLATFORM) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setPlatform(PlatformEnum platform) { - this.platform = platform; - } - - public ThreeDS2RequestData purchaseInstalData(String purchaseInstalData) { this.purchaseInstalData = purchaseInstalData; return this; @@ -1715,7 +1644,6 @@ public boolean equals(Object o) { Objects.equals(this.notificationURL, threeDS2RequestData.notificationURL) && Objects.equals(this.payTokenInd, threeDS2RequestData.payTokenInd) && Objects.equals(this.paymentAuthenticationUseCase, threeDS2RequestData.paymentAuthenticationUseCase) && - Objects.equals(this.platform, threeDS2RequestData.platform) && Objects.equals(this.purchaseInstalData, threeDS2RequestData.purchaseInstalData) && Objects.equals(this.recurringExpiry, threeDS2RequestData.recurringExpiry) && Objects.equals(this.recurringFrequency, threeDS2RequestData.recurringFrequency) && @@ -1742,7 +1670,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(acctInfo, acctType, acquirerBIN, acquirerMerchantID, addrMatch, authenticationOnly, challengeIndicator, deviceChannel, deviceRenderOptions, homePhone, mcc, merchantName, messageVersion, mobilePhone, notificationURL, payTokenInd, paymentAuthenticationUseCase, platform, purchaseInstalData, recurringExpiry, recurringFrequency, sdkAppID, sdkEncData, sdkEphemPubKey, sdkMaxTimeout, sdkReferenceNumber, sdkTransID, sdkVersion, threeDSCompInd, threeDSRequestorAuthenticationInd, threeDSRequestorAuthenticationInfo, threeDSRequestorChallengeInd, threeDSRequestorID, threeDSRequestorName, threeDSRequestorPriorAuthenticationInfo, threeDSRequestorURL, transType, transactionType, whiteListStatus, workPhone); + return Objects.hash(acctInfo, acctType, acquirerBIN, acquirerMerchantID, addrMatch, authenticationOnly, challengeIndicator, deviceChannel, deviceRenderOptions, homePhone, mcc, merchantName, messageVersion, mobilePhone, notificationURL, payTokenInd, paymentAuthenticationUseCase, purchaseInstalData, recurringExpiry, recurringFrequency, sdkAppID, sdkEncData, sdkEphemPubKey, sdkMaxTimeout, sdkReferenceNumber, sdkTransID, sdkVersion, threeDSCompInd, threeDSRequestorAuthenticationInd, threeDSRequestorAuthenticationInfo, threeDSRequestorChallengeInd, threeDSRequestorID, threeDSRequestorName, threeDSRequestorPriorAuthenticationInfo, threeDSRequestorURL, transType, transactionType, whiteListStatus, workPhone); } @Override @@ -1766,7 +1694,6 @@ public String toString() { sb.append(" notificationURL: ").append(toIndentedString(notificationURL)).append("\n"); sb.append(" payTokenInd: ").append(toIndentedString(payTokenInd)).append("\n"); sb.append(" paymentAuthenticationUseCase: ").append(toIndentedString(paymentAuthenticationUseCase)).append("\n"); - sb.append(" platform: ").append(toIndentedString(platform)).append("\n"); sb.append(" purchaseInstalData: ").append(toIndentedString(purchaseInstalData)).append("\n"); sb.append(" recurringExpiry: ").append(toIndentedString(recurringExpiry)).append("\n"); sb.append(" recurringFrequency: ").append(toIndentedString(recurringFrequency)).append("\n"); diff --git a/src/main/java/com/adyen/model/payment/VoidPendingRefundRequest.java b/src/main/java/com/adyen/model/payment/VoidPendingRefundRequest.java index a09ef6c3e..36cbd3fdd 100644 --- a/src/main/java/com/adyen/model/payment/VoidPendingRefundRequest.java +++ b/src/main/java/com/adyen/model/payment/VoidPendingRefundRequest.java @@ -351,10 +351,10 @@ public VoidPendingRefundRequest 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 split payments for [platforms](https://docs.adyen.com/platforms/automatic-split-configuration/). * @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 split payments for [platforms](https://docs.adyen.com/platforms/automatic-split-configuration/).") @JsonProperty(JSON_PROPERTY_SPLITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -364,7 +364,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 split payments for [platforms](https://docs.adyen.com/platforms/automatic-split-configuration/). * * @param splits */ diff --git a/src/main/java/com/adyen/service/checkout/UtilityApi.java b/src/main/java/com/adyen/service/checkout/UtilityApi.java index 4de24de1e..0cd5cb1cd 100644 --- a/src/main/java/com/adyen/service/checkout/UtilityApi.java +++ b/src/main/java/com/adyen/service/checkout/UtilityApi.java @@ -16,6 +16,8 @@ import com.adyen.constants.ApiConstants; import com.adyen.model.checkout.ApplePaySessionRequest; import com.adyen.model.checkout.ApplePaySessionResponse; +import com.adyen.model.checkout.PaypalUpdateOrderRequest; +import com.adyen.model.checkout.PaypalUpdateOrderResponse; import com.adyen.model.checkout.ServiceError; import com.adyen.model.checkout.UtilityRequest; import com.adyen.model.checkout.UtilityResponse; @@ -110,4 +112,31 @@ public UtilityResponse originKeys(UtilityRequest utilityRequest, RequestOptions String jsonResult = resource.request(requestBody, requestOptions, ApiConstants.HttpMethod.POST, null); return UtilityResponse.fromJson(jsonResult); } + + /** + * Updates the order for PayPal Express Checkout + * + * @param paypalUpdateOrderRequest {@link PaypalUpdateOrderRequest } (required) + * @return {@link PaypalUpdateOrderResponse } + * @throws ApiException if fails to make API call + */ + public PaypalUpdateOrderResponse updatesOrderForPaypalExpressCheckout(PaypalUpdateOrderRequest paypalUpdateOrderRequest) throws ApiException, IOException { + return updatesOrderForPaypalExpressCheckout(paypalUpdateOrderRequest, null); + } + + /** + * Updates the order for PayPal Express Checkout + * + * @param paypalUpdateOrderRequest {@link PaypalUpdateOrderRequest } (required) + * @param requestOptions {@link RequestOptions } Object to store additional data such as idempotency-keys (optional) + * @return {@link PaypalUpdateOrderResponse } + * @throws ApiException if fails to make API call + */ + public PaypalUpdateOrderResponse updatesOrderForPaypalExpressCheckout(PaypalUpdateOrderRequest paypalUpdateOrderRequest, RequestOptions requestOptions) throws ApiException, IOException { + + String requestBody = paypalUpdateOrderRequest.toJson(); + Resource resource = new Resource(this, this.baseURL + "/paypal/updateOrder", null); + String jsonResult = resource.request(requestBody, requestOptions, ApiConstants.HttpMethod.POST, null); + return PaypalUpdateOrderResponse.fromJson(jsonResult); + } } diff --git a/src/main/java/com/adyen/service/management/AndroidFilesCompanyLevelApi.java b/src/main/java/com/adyen/service/management/AndroidFilesCompanyLevelApi.java index fde139a20..4abff4550 100644 --- a/src/main/java/com/adyen/service/management/AndroidFilesCompanyLevelApi.java +++ b/src/main/java/com/adyen/service/management/AndroidFilesCompanyLevelApi.java @@ -19,6 +19,7 @@ import com.adyen.model.management.AndroidCertificatesResponse; import com.adyen.model.management.RestServiceError; import com.adyen.model.management.UploadAndroidAppResponse; +import com.adyen.model.management.UploadAndroidCertificateResponse; import com.adyen.model.RequestOptions; import com.adyen.service.exception.ApiException; import com.adyen.service.resource.Resource; @@ -222,4 +223,37 @@ public UploadAndroidAppResponse uploadAndroidApp(String companyId, RequestOption String jsonResult = resource.request(requestBody, requestOptions, ApiConstants.HttpMethod.POST, pathParams); return UploadAndroidAppResponse.fromJson(jsonResult); } + + /** + * Upload Android Certificate + * + * @param companyId {@link String } The unique identifier of the company account. (required) + * @return {@link UploadAndroidCertificateResponse } + * @throws ApiException if fails to make API call + */ + public UploadAndroidCertificateResponse uploadAndroidCertificate(String companyId) throws ApiException, IOException { + return uploadAndroidCertificate(companyId, null); + } + + /** + * Upload Android Certificate + * + * @param companyId {@link String } The unique identifier of the company account. (required) + * @param requestOptions {@link RequestOptions } Object to store additional data such as idempotency-keys (optional) + * @return {@link UploadAndroidCertificateResponse } + * @throws ApiException if fails to make API call + */ + public UploadAndroidCertificateResponse uploadAndroidCertificate(String companyId, RequestOptions requestOptions) throws ApiException, IOException { + //Add path params + Map pathParams = new HashMap<>(); + if (companyId == null) { + throw new IllegalArgumentException("Please provide the companyId path parameter"); + } + pathParams.put("companyId", companyId); + + String requestBody = null; + Resource resource = new Resource(this, this.baseURL + "/companies/{companyId}/androidCertificates", null); + String jsonResult = resource.request(requestBody, requestOptions, ApiConstants.HttpMethod.POST, pathParams); + return UploadAndroidCertificateResponse.fromJson(jsonResult); + } }