Skip to content

Code generation: update services and models #1492

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,9 @@ public void setBalancePlatform(String balancePlatform) {
}

/**
* Unique identifier of the authentication.
* The unique identifier of the authentication.
*
* @param id Unique identifier of the authentication.
* @param id The unique identifier of the authentication.
* @return the current {@code AuthenticationNotificationData} instance, allowing for method chaining
*/
public AuthenticationNotificationData id(String id) {
Expand All @@ -174,8 +174,8 @@ public AuthenticationNotificationData id(String id) {
}

/**
* Unique identifier of the authentication.
* @return id Unique identifier of the authentication.
* The unique identifier of the authentication.
* @return id The unique identifier of the authentication.
*/
@JsonProperty(JSON_PROPERTY_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
Expand All @@ -184,9 +184,9 @@ public String getId() {
}

/**
* Unique identifier of the authentication.
* The unique identifier of the authentication.
*
* @param id Unique identifier of the authentication.
* @param id The unique identifier of the authentication.
*/
@JsonProperty(JSON_PROPERTY_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
Expand All @@ -195,9 +195,9 @@ public void setId(String id) {
}

/**
* Unique identifier of the payment instrument that was used for the authentication.
* The unique identifier of the payment instrument that was used for the authentication.
*
* @param paymentInstrumentId Unique identifier of the payment instrument that was used for the authentication.
* @param paymentInstrumentId The unique identifier of the payment instrument that was used for the authentication.
* @return the current {@code AuthenticationNotificationData} instance, allowing for method chaining
*/
public AuthenticationNotificationData paymentInstrumentId(String paymentInstrumentId) {
Expand All @@ -206,8 +206,8 @@ public AuthenticationNotificationData paymentInstrumentId(String paymentInstrume
}

/**
* Unique identifier of the payment instrument that was used for the authentication.
* @return paymentInstrumentId Unique identifier of the payment instrument that was used for the authentication.
* The unique identifier of the payment instrument that was used for the authentication.
* @return paymentInstrumentId The unique identifier of the payment instrument that was used for the authentication.
*/
@JsonProperty(JSON_PROPERTY_PAYMENT_INSTRUMENT_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
Expand All @@ -216,9 +216,9 @@ public String getPaymentInstrumentId() {
}

/**
* Unique identifier of the payment instrument that was used for the authentication.
* The unique identifier of the payment instrument that was used for the authentication.
*
* @param paymentInstrumentId Unique identifier of the payment instrument that was used for the authentication.
* @param paymentInstrumentId The unique identifier of the payment instrument that was used for the authentication.
*/
@JsonProperty(JSON_PROPERTY_PAYMENT_INSTRUMENT_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
Expand Down
24 changes: 12 additions & 12 deletions src/main/java/com/adyen/model/acswebhooks/PurchaseInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ public PurchaseInfo() {
}

/**
* Date of the purchase.
* The date of the purchase.
*
* @param date Date of the purchase.
* @param date The date of the purchase.
* @return the current {@code PurchaseInfo} instance, allowing for method chaining
*/
public PurchaseInfo date(String date) {
Expand All @@ -60,8 +60,8 @@ public PurchaseInfo date(String date) {
}

/**
* Date of the purchase.
* @return date Date of the purchase.
* The date of the purchase.
* @return date The date of the purchase.
*/
@JsonProperty(JSON_PROPERTY_DATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
Expand All @@ -70,9 +70,9 @@ public String getDate() {
}

/**
* Date of the purchase.
* The date of the purchase.
*
* @param date Date of the purchase.
* @param date The date of the purchase.
*/
@JsonProperty(JSON_PROPERTY_DATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
Expand All @@ -81,9 +81,9 @@ public void setDate(String date) {
}

/**
* Name of the merchant.
* The name of the business that the cardholder purchased from.
*
* @param merchantName Name of the merchant.
* @param merchantName The name of the business that the cardholder purchased from.
* @return the current {@code PurchaseInfo} instance, allowing for method chaining
*/
public PurchaseInfo merchantName(String merchantName) {
Expand All @@ -92,8 +92,8 @@ public PurchaseInfo merchantName(String merchantName) {
}

/**
* Name of the merchant.
* @return merchantName Name of the merchant.
* The name of the business that the cardholder purchased from.
* @return merchantName The name of the business that the cardholder purchased from.
*/
@JsonProperty(JSON_PROPERTY_MERCHANT_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
Expand All @@ -102,9 +102,9 @@ public String getMerchantName() {
}

/**
* Name of the merchant.
* The name of the business that the cardholder purchased from.
*
* @param merchantName Name of the merchant.
* @param merchantName The name of the business that the cardholder purchased from.
*/
@JsonProperty(JSON_PROPERTY_MERCHANT_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
Expand Down
12 changes: 6 additions & 6 deletions src/main/java/com/adyen/model/balanceplatform/Card.java
Original file line number Diff line number Diff line change
Expand Up @@ -500,9 +500,9 @@ public String getNumber() {


/**
* Allocates a specific product range for either a physical or a virtual card. Possible values: **fullySupported**, **secureCorporate**. >Reach out to your Adyen contact to get the values relevant for your integration.
* Allocates a specific product range for either a physical or a virtual card. Possible values: **fullySupported**, **secureCorporate**. > Reach out to your Adyen contact to get the values relevant for your integration.
*
* @param threeDSecure Allocates a specific product range for either a physical or a virtual card. Possible values: **fullySupported**, **secureCorporate**. >Reach out to your Adyen contact to get the values relevant for your integration.
* @param threeDSecure Allocates a specific product range for either a physical or a virtual card. Possible values: **fullySupported**, **secureCorporate**. > Reach out to your Adyen contact to get the values relevant for your integration.
* @return the current {@code Card} instance, allowing for method chaining
*/
public Card threeDSecure(String threeDSecure) {
Expand All @@ -511,8 +511,8 @@ public Card threeDSecure(String threeDSecure) {
}

/**
* Allocates a specific product range for either a physical or a virtual card. Possible values: **fullySupported**, **secureCorporate**. >Reach out to your Adyen contact to get the values relevant for your integration.
* @return threeDSecure Allocates a specific product range for either a physical or a virtual card. Possible values: **fullySupported**, **secureCorporate**. >Reach out to your Adyen contact to get the values relevant for your integration.
* Allocates a specific product range for either a physical or a virtual card. Possible values: **fullySupported**, **secureCorporate**. > Reach out to your Adyen contact to get the values relevant for your integration.
* @return threeDSecure Allocates a specific product range for either a physical or a virtual card. Possible values: **fullySupported**, **secureCorporate**. > Reach out to your Adyen contact to get the values relevant for your integration.
*/
@JsonProperty(JSON_PROPERTY_THREE_D_SECURE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
Expand All @@ -521,9 +521,9 @@ public String getThreeDSecure() {
}

/**
* Allocates a specific product range for either a physical or a virtual card. Possible values: **fullySupported**, **secureCorporate**. >Reach out to your Adyen contact to get the values relevant for your integration.
* Allocates a specific product range for either a physical or a virtual card. Possible values: **fullySupported**, **secureCorporate**. > Reach out to your Adyen contact to get the values relevant for your integration.
*
* @param threeDSecure Allocates a specific product range for either a physical or a virtual card. Possible values: **fullySupported**, **secureCorporate**. >Reach out to your Adyen contact to get the values relevant for your integration.
* @param threeDSecure Allocates a specific product range for either a physical or a virtual card. Possible values: **fullySupported**, **secureCorporate**. > Reach out to your Adyen contact to get the values relevant for your integration.
*/
@JsonProperty(JSON_PROPERTY_THREE_D_SECURE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
Expand Down
12 changes: 6 additions & 6 deletions src/main/java/com/adyen/model/balanceplatform/CardInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -332,9 +332,9 @@ public void setFormFactor(FormFactorEnum formFactor) {
}

/**
* Allocates a specific product range for either a physical or a virtual card. Possible values: **fullySupported**, **secureCorporate**. >Reach out to your Adyen contact to get the values relevant for your integration.
* Allocates a specific product range for either a physical or a virtual card. Possible values: **fullySupported**, **secureCorporate**. > Reach out to your Adyen contact to get the values relevant for your integration.
*
* @param threeDSecure Allocates a specific product range for either a physical or a virtual card. Possible values: **fullySupported**, **secureCorporate**. >Reach out to your Adyen contact to get the values relevant for your integration.
* @param threeDSecure Allocates a specific product range for either a physical or a virtual card. Possible values: **fullySupported**, **secureCorporate**. > Reach out to your Adyen contact to get the values relevant for your integration.
* @return the current {@code CardInfo} instance, allowing for method chaining
*/
public CardInfo threeDSecure(String threeDSecure) {
Expand All @@ -343,8 +343,8 @@ public CardInfo threeDSecure(String threeDSecure) {
}

/**
* Allocates a specific product range for either a physical or a virtual card. Possible values: **fullySupported**, **secureCorporate**. >Reach out to your Adyen contact to get the values relevant for your integration.
* @return threeDSecure Allocates a specific product range for either a physical or a virtual card. Possible values: **fullySupported**, **secureCorporate**. >Reach out to your Adyen contact to get the values relevant for your integration.
* Allocates a specific product range for either a physical or a virtual card. Possible values: **fullySupported**, **secureCorporate**. > Reach out to your Adyen contact to get the values relevant for your integration.
* @return threeDSecure Allocates a specific product range for either a physical or a virtual card. Possible values: **fullySupported**, **secureCorporate**. > Reach out to your Adyen contact to get the values relevant for your integration.
*/
@JsonProperty(JSON_PROPERTY_THREE_D_SECURE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
Expand All @@ -353,9 +353,9 @@ public String getThreeDSecure() {
}

/**
* Allocates a specific product range for either a physical or a virtual card. Possible values: **fullySupported**, **secureCorporate**. >Reach out to your Adyen contact to get the values relevant for your integration.
* Allocates a specific product range for either a physical or a virtual card. Possible values: **fullySupported**, **secureCorporate**. > Reach out to your Adyen contact to get the values relevant for your integration.
*
* @param threeDSecure Allocates a specific product range for either a physical or a virtual card. Possible values: **fullySupported**, **secureCorporate**. >Reach out to your Adyen contact to get the values relevant for your integration.
* @param threeDSecure Allocates a specific product range for either a physical or a virtual card. Possible values: **fullySupported**, **secureCorporate**. > Reach out to your Adyen contact to get the values relevant for your integration.
*/
@JsonProperty(JSON_PROPERTY_THREE_D_SECURE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
import com.adyen.model.balanceplatform.TotalAmountRestriction;
import com.adyen.model.balanceplatform.WalletProviderAccountScoreRestriction;
import com.adyen.model.balanceplatform.WalletProviderDeviceScore;
import com.adyen.model.balanceplatform.WalletProviderDeviceType;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
Expand Down Expand Up @@ -76,7 +77,8 @@
TransactionRuleRestrictions.JSON_PROPERTY_TOKEN_REQUESTORS,
TransactionRuleRestrictions.JSON_PROPERTY_TOTAL_AMOUNT,
TransactionRuleRestrictions.JSON_PROPERTY_WALLET_PROVIDER_ACCOUNT_SCORE,
TransactionRuleRestrictions.JSON_PROPERTY_WALLET_PROVIDER_DEVICE_SCORE
TransactionRuleRestrictions.JSON_PROPERTY_WALLET_PROVIDER_DEVICE_SCORE,
TransactionRuleRestrictions.JSON_PROPERTY_WALLET_PROVIDER_DEVICE_TYPE
})

public class TransactionRuleRestrictions {
Expand Down Expand Up @@ -152,6 +154,9 @@ public class TransactionRuleRestrictions {
public static final String JSON_PROPERTY_WALLET_PROVIDER_DEVICE_SCORE = "walletProviderDeviceScore";
private WalletProviderDeviceScore walletProviderDeviceScore;

public static final String JSON_PROPERTY_WALLET_PROVIDER_DEVICE_TYPE = "walletProviderDeviceType";
private WalletProviderDeviceType walletProviderDeviceType;

public TransactionRuleRestrictions() {
}

Expand Down Expand Up @@ -923,6 +928,38 @@ public void setWalletProviderDeviceScore(WalletProviderDeviceScore walletProvide
this.walletProviderDeviceScore = walletProviderDeviceScore;
}

/**
* walletProviderDeviceType
*
* @param walletProviderDeviceType
* @return the current {@code TransactionRuleRestrictions} instance, allowing for method chaining
*/
public TransactionRuleRestrictions walletProviderDeviceType(WalletProviderDeviceType walletProviderDeviceType) {
this.walletProviderDeviceType = walletProviderDeviceType;
return this;
}

/**
* Get walletProviderDeviceType
* @return walletProviderDeviceType
*/
@JsonProperty(JSON_PROPERTY_WALLET_PROVIDER_DEVICE_TYPE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public WalletProviderDeviceType getWalletProviderDeviceType() {
return walletProviderDeviceType;
}

/**
* walletProviderDeviceType
*
* @param walletProviderDeviceType
*/
@JsonProperty(JSON_PROPERTY_WALLET_PROVIDER_DEVICE_TYPE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setWalletProviderDeviceType(WalletProviderDeviceType walletProviderDeviceType) {
this.walletProviderDeviceType = walletProviderDeviceType;
}

/**
* Return true if this TransactionRuleRestrictions object is equal to o.
*/
Expand Down Expand Up @@ -958,12 +995,13 @@ public boolean equals(Object o) {
Objects.equals(this.tokenRequestors, transactionRuleRestrictions.tokenRequestors) &&
Objects.equals(this.totalAmount, transactionRuleRestrictions.totalAmount) &&
Objects.equals(this.walletProviderAccountScore, transactionRuleRestrictions.walletProviderAccountScore) &&
Objects.equals(this.walletProviderDeviceScore, transactionRuleRestrictions.walletProviderDeviceScore);
Objects.equals(this.walletProviderDeviceScore, transactionRuleRestrictions.walletProviderDeviceScore) &&
Objects.equals(this.walletProviderDeviceType, transactionRuleRestrictions.walletProviderDeviceType);
}

@Override
public int hashCode() {
return Objects.hash(activeNetworkTokens, brandVariants, counterpartyBank, counterpartyTypes, countries, dayOfWeek, differentCurrencies, entryModes, internationalTransaction, matchingTransactions, matchingValues, mccs, merchantNames, merchants, processingTypes, riskScores, sameAmountRestriction, sameCounterpartyRestriction, sourceAccountTypes, timeOfDay, tokenRequestors, totalAmount, walletProviderAccountScore, walletProviderDeviceScore);
return Objects.hash(activeNetworkTokens, brandVariants, counterpartyBank, counterpartyTypes, countries, dayOfWeek, differentCurrencies, entryModes, internationalTransaction, matchingTransactions, matchingValues, mccs, merchantNames, merchants, processingTypes, riskScores, sameAmountRestriction, sameCounterpartyRestriction, sourceAccountTypes, timeOfDay, tokenRequestors, totalAmount, walletProviderAccountScore, walletProviderDeviceScore, walletProviderDeviceType);
}

@Override
Expand Down Expand Up @@ -994,6 +1032,7 @@ public String toString() {
sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n");
sb.append(" walletProviderAccountScore: ").append(toIndentedString(walletProviderAccountScore)).append("\n");
sb.append(" walletProviderDeviceScore: ").append(toIndentedString(walletProviderDeviceScore)).append("\n");
sb.append(" walletProviderDeviceType: ").append(toIndentedString(walletProviderDeviceType)).append("\n");
sb.append("}");
return sb.toString();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ public enum CategoryEnum {

GRANTS(String.valueOf("grants")),

INTEREST(String.valueOf("interest")),

INTERNAL(String.valueOf("internal")),

ISSUEDCARD(String.valueOf("issuedCard")),
Expand Down
Loading