Skip to content

Commit

Permalink
false[adyen-sdk-automation] automated change
Browse files Browse the repository at this point in the history
  • Loading branch information
AdyenAutomationBot committed Feb 14, 2025
1 parent fbf69ac commit 4b870c5
Show file tree
Hide file tree
Showing 14 changed files with 982 additions and 297 deletions.
16 changes: 10 additions & 6 deletions src/main/java/com/adyen/model/acswebhooks/ChallengeInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,11 @@

public class ChallengeInfo {
/**
* Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. For possible values, refer to [3D Secure API reference](https://docs.adyen.com/online-payments/3d-secure/api-reference#mpidata).
* Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. Possible values: * **00**: Data element is absent or value has been sent back with the key `challengeCancel`. * **01**: Cardholder selected **Cancel**. * **02**: 3DS Requestor cancelled Authentication. * **03**: Transaction abandoned. * **04**: Transaction timed out at ACS — other timeouts. * **05**: Transaction timed out at ACS — first CReq not received by ACS. * **06**: Transaction error. * **07**: Unknown. * **08**: Transaction time out at SDK.
*/
public enum ChallengeCancelEnum {
_00("00"),

_01("01"),

_02("02"),
Expand All @@ -57,7 +59,9 @@ public enum ChallengeCancelEnum {

_06("06"),

_07("07");
_07("07"),

_08("08");

private String value;

Expand Down Expand Up @@ -143,7 +147,7 @@ public ChallengeInfo() {
}

/**
* Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. For possible values, refer to [3D Secure API reference](https://docs.adyen.com/online-payments/3d-secure/api-reference#mpidata).
* Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. Possible values: * **00**: Data element is absent or value has been sent back with the key `challengeCancel`. * **01**: Cardholder selected **Cancel**. * **02**: 3DS Requestor cancelled Authentication. * **03**: Transaction abandoned. * **04**: Transaction timed out at ACS — other timeouts. * **05**: Transaction timed out at ACS — first CReq not received by ACS. * **06**: Transaction error. * **07**: Unknown. * **08**: Transaction time out at SDK.
*
* @param challengeCancel
* @return the current {@code ChallengeInfo} instance, allowing for method chaining
Expand All @@ -154,18 +158,18 @@ public ChallengeInfo challengeCancel(ChallengeCancelEnum challengeCancel) {
}

/**
* Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. For possible values, refer to [3D Secure API reference](https://docs.adyen.com/online-payments/3d-secure/api-reference#mpidata).
* Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. Possible values: * **00**: Data element is absent or value has been sent back with the key `challengeCancel`. * **01**: Cardholder selected **Cancel**. * **02**: 3DS Requestor cancelled Authentication. * **03**: Transaction abandoned. * **04**: Transaction timed out at ACS — other timeouts. * **05**: Transaction timed out at ACS — first CReq not received by ACS. * **06**: Transaction error. * **07**: Unknown. * **08**: Transaction time out at SDK.
* @return challengeCancel
*/
@ApiModelProperty(value = "Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. For possible values, refer to [3D Secure API reference](https://docs.adyen.com/online-payments/3d-secure/api-reference#mpidata).")
@ApiModelProperty(value = "Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. Possible values: * **00**: Data element is absent or value has been sent back with the key `challengeCancel`. * **01**: Cardholder selected **Cancel**. * **02**: 3DS Requestor cancelled Authentication. * **03**: Transaction abandoned. * **04**: Transaction timed out at ACS — other timeouts. * **05**: Transaction timed out at ACS — first CReq not received by ACS. * **06**: Transaction error. * **07**: Unknown. * **08**: Transaction time out at SDK.")
@JsonProperty(JSON_PROPERTY_CHALLENGE_CANCEL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public ChallengeCancelEnum getChallengeCancel() {
return challengeCancel;
}

/**
* Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. For possible values, refer to [3D Secure API reference](https://docs.adyen.com/online-payments/3d-secure/api-reference#mpidata).
* Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. Possible values: * **00**: Data element is absent or value has been sent back with the key `challengeCancel`. * **01**: Cardholder selected **Cancel**. * **02**: 3DS Requestor cancelled Authentication. * **03**: Transaction abandoned. * **04**: Transaction timed out at ACS — other timeouts. * **05**: Transaction timed out at ACS — first CReq not received by ACS. * **06**: Transaction error. * **07**: Unknown. * **08**: Transaction time out at SDK.
*
* @param challengeCancel
*/
Expand Down
45 changes: 3 additions & 42 deletions src/main/java/com/adyen/model/binlookup/CostEstimateResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@
CostEstimateResponse.JSON_PROPERTY_CARD_BIN,
CostEstimateResponse.JSON_PROPERTY_COST_ESTIMATE_AMOUNT,
CostEstimateResponse.JSON_PROPERTY_COST_ESTIMATE_REFERENCE,
CostEstimateResponse.JSON_PROPERTY_RESULT_CODE,
CostEstimateResponse.JSON_PROPERTY_SURCHARGE_TYPE
CostEstimateResponse.JSON_PROPERTY_RESULT_CODE
})

public class CostEstimateResponse {
Expand All @@ -53,9 +52,6 @@ public class CostEstimateResponse {
public static final String JSON_PROPERTY_RESULT_CODE = "resultCode";
private String resultCode;

public static final String JSON_PROPERTY_SURCHARGE_TYPE = "surchargeType";
private String surchargeType;

public CostEstimateResponse() {
}

Expand Down Expand Up @@ -191,39 +187,6 @@ public void setResultCode(String resultCode) {
this.resultCode = resultCode;
}

/**
* Indicates the way the charges can be passed on to the cardholder. The following values are possible: * `ZERO` - the charges are not allowed to pass on * `PASSTHROUGH` - the charges can be passed on * `UNLIMITED` - there is no limit on how much surcharge is passed on
*
* @param surchargeType
* @return the current {@code CostEstimateResponse} instance, allowing for method chaining
*/
public CostEstimateResponse surchargeType(String surchargeType) {
this.surchargeType = surchargeType;
return this;
}

/**
* Indicates the way the charges can be passed on to the cardholder. The following values are possible: * `ZERO` - the charges are not allowed to pass on * `PASSTHROUGH` - the charges can be passed on * `UNLIMITED` - there is no limit on how much surcharge is passed on
* @return surchargeType
*/
@ApiModelProperty(value = "Indicates the way the charges can be passed on to the cardholder. The following values are possible: * `ZERO` - the charges are not allowed to pass on * `PASSTHROUGH` - the charges can be passed on * `UNLIMITED` - there is no limit on how much surcharge is passed on")
@JsonProperty(JSON_PROPERTY_SURCHARGE_TYPE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getSurchargeType() {
return surchargeType;
}

/**
* Indicates the way the charges can be passed on to the cardholder. The following values are possible: * `ZERO` - the charges are not allowed to pass on * `PASSTHROUGH` - the charges can be passed on * `UNLIMITED` - there is no limit on how much surcharge is passed on
*
* @param surchargeType
*/
@JsonProperty(JSON_PROPERTY_SURCHARGE_TYPE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setSurchargeType(String surchargeType) {
this.surchargeType = surchargeType;
}

/**
* Return true if this CostEstimateResponse object is equal to o.
*/
Expand All @@ -239,13 +202,12 @@ public boolean equals(Object o) {
return Objects.equals(this.cardBin, costEstimateResponse.cardBin) &&
Objects.equals(this.costEstimateAmount, costEstimateResponse.costEstimateAmount) &&
Objects.equals(this.costEstimateReference, costEstimateResponse.costEstimateReference) &&
Objects.equals(this.resultCode, costEstimateResponse.resultCode) &&
Objects.equals(this.surchargeType, costEstimateResponse.surchargeType);
Objects.equals(this.resultCode, costEstimateResponse.resultCode);
}

@Override
public int hashCode() {
return Objects.hash(cardBin, costEstimateAmount, costEstimateReference, resultCode, surchargeType);
return Objects.hash(cardBin, costEstimateAmount, costEstimateReference, resultCode);
}

@Override
Expand All @@ -256,7 +218,6 @@ public String toString() {
sb.append(" costEstimateAmount: ").append(toIndentedString(costEstimateAmount)).append("\n");
sb.append(" costEstimateReference: ").append(toIndentedString(costEstimateReference)).append("\n");
sb.append(" resultCode: ").append(toIndentedString(resultCode)).append("\n");
sb.append(" surchargeType: ").append(toIndentedString(surchargeType)).append("\n");
sb.append("}");
return sb.toString();
}
Expand Down
41 changes: 40 additions & 1 deletion src/main/java/com/adyen/model/checkout/CardDetails.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
CardDetails.JSON_PROPERTY_ENCRYPTED_SECURITY_CODE,
CardDetails.JSON_PROPERTY_EXPIRY_MONTH,
CardDetails.JSON_PROPERTY_EXPIRY_YEAR,
CardDetails.JSON_PROPERTY_FASTLANE_DATA,
CardDetails.JSON_PROPERTY_FUNDING_SOURCE,
CardDetails.JSON_PROPERTY_HOLDER_NAME,
CardDetails.JSON_PROPERTY_NETWORK_PAYMENT_REFERENCE,
Expand Down Expand Up @@ -92,6 +93,9 @@ public class CardDetails {
public static final String JSON_PROPERTY_EXPIRY_YEAR = "expiryYear";
private String expiryYear;

public static final String JSON_PROPERTY_FASTLANE_DATA = "fastlaneData";
private String fastlaneData;

/**
* The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**.
*/
Expand Down Expand Up @@ -585,6 +589,39 @@ public void setExpiryYear(String expiryYear) {
this.expiryYear = expiryYear;
}

/**
* The encoded fastlane data blob
*
* @param fastlaneData
* @return the current {@code CardDetails} instance, allowing for method chaining
*/
public CardDetails fastlaneData(String fastlaneData) {
this.fastlaneData = fastlaneData;
return this;
}

/**
* The encoded fastlane data blob
* @return fastlaneData
*/
@ApiModelProperty(value = "The encoded fastlane data blob")
@JsonProperty(JSON_PROPERTY_FASTLANE_DATA)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getFastlaneData() {
return fastlaneData;
}

/**
* The encoded fastlane data blob
*
* @param fastlaneData
*/
@JsonProperty(JSON_PROPERTY_FASTLANE_DATA)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setFastlaneData(String fastlaneData) {
this.fastlaneData = fastlaneData;
}

/**
* The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**.
*
Expand Down Expand Up @@ -1049,6 +1086,7 @@ public boolean equals(Object o) {
Objects.equals(this.encryptedSecurityCode, cardDetails.encryptedSecurityCode) &&
Objects.equals(this.expiryMonth, cardDetails.expiryMonth) &&
Objects.equals(this.expiryYear, cardDetails.expiryYear) &&
Objects.equals(this.fastlaneData, cardDetails.fastlaneData) &&
Objects.equals(this.fundingSource, cardDetails.fundingSource) &&
Objects.equals(this.holderName, cardDetails.holderName) &&
Objects.equals(this.networkPaymentReference, cardDetails.networkPaymentReference) &&
Expand All @@ -1066,7 +1104,7 @@ public boolean equals(Object o) {

@Override
public int hashCode() {
return Objects.hash(brand, checkoutAttemptId, cupsecureplusSmscode, cvc, encryptedCard, encryptedCardNumber, encryptedExpiryMonth, encryptedExpiryYear, encryptedSecurityCode, expiryMonth, expiryYear, fundingSource, holderName, networkPaymentReference, number, recurringDetailReference, shopperNotificationReference, srcCorrelationId, srcDigitalCardId, srcScheme, srcTokenReference, storedPaymentMethodId, threeDS2SdkVersion, type);
return Objects.hash(brand, checkoutAttemptId, cupsecureplusSmscode, cvc, encryptedCard, encryptedCardNumber, encryptedExpiryMonth, encryptedExpiryYear, encryptedSecurityCode, expiryMonth, expiryYear, fastlaneData, fundingSource, holderName, networkPaymentReference, number, recurringDetailReference, shopperNotificationReference, srcCorrelationId, srcDigitalCardId, srcScheme, srcTokenReference, storedPaymentMethodId, threeDS2SdkVersion, type);
}

@Override
Expand All @@ -1084,6 +1122,7 @@ public String toString() {
sb.append(" encryptedSecurityCode: ").append(toIndentedString(encryptedSecurityCode)).append("\n");
sb.append(" expiryMonth: ").append(toIndentedString(expiryMonth)).append("\n");
sb.append(" expiryYear: ").append(toIndentedString(expiryYear)).append("\n");
sb.append(" fastlaneData: ").append(toIndentedString(fastlaneData)).append("\n");
sb.append(" fundingSource: ").append(toIndentedString(fundingSource)).append("\n");
sb.append(" holderName: ").append(toIndentedString(holderName)).append("\n");
sb.append(" networkPaymentReference: ").append(toIndentedString(networkPaymentReference)).append("\n");
Expand Down
41 changes: 40 additions & 1 deletion src/main/java/com/adyen/model/checkout/CardDonations.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
CardDonations.JSON_PROPERTY_ENCRYPTED_SECURITY_CODE,
CardDonations.JSON_PROPERTY_EXPIRY_MONTH,
CardDonations.JSON_PROPERTY_EXPIRY_YEAR,
CardDonations.JSON_PROPERTY_FASTLANE_DATA,
CardDonations.JSON_PROPERTY_FUNDING_SOURCE,
CardDonations.JSON_PROPERTY_HOLDER_NAME,
CardDonations.JSON_PROPERTY_NETWORK_PAYMENT_REFERENCE,
Expand Down Expand Up @@ -92,6 +93,9 @@ public class CardDonations {
public static final String JSON_PROPERTY_EXPIRY_YEAR = "expiryYear";
private String expiryYear;

public static final String JSON_PROPERTY_FASTLANE_DATA = "fastlaneData";
private String fastlaneData;

/**
* The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**.
*/
Expand Down Expand Up @@ -585,6 +589,39 @@ public void setExpiryYear(String expiryYear) {
this.expiryYear = expiryYear;
}

/**
* The encoded fastlane data blob
*
* @param fastlaneData
* @return the current {@code CardDonations} instance, allowing for method chaining
*/
public CardDonations fastlaneData(String fastlaneData) {
this.fastlaneData = fastlaneData;
return this;
}

/**
* The encoded fastlane data blob
* @return fastlaneData
*/
@ApiModelProperty(value = "The encoded fastlane data blob")
@JsonProperty(JSON_PROPERTY_FASTLANE_DATA)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getFastlaneData() {
return fastlaneData;
}

/**
* The encoded fastlane data blob
*
* @param fastlaneData
*/
@JsonProperty(JSON_PROPERTY_FASTLANE_DATA)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setFastlaneData(String fastlaneData) {
this.fastlaneData = fastlaneData;
}

/**
* The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**.
*
Expand Down Expand Up @@ -1049,6 +1086,7 @@ public boolean equals(Object o) {
Objects.equals(this.encryptedSecurityCode, cardDonations.encryptedSecurityCode) &&
Objects.equals(this.expiryMonth, cardDonations.expiryMonth) &&
Objects.equals(this.expiryYear, cardDonations.expiryYear) &&
Objects.equals(this.fastlaneData, cardDonations.fastlaneData) &&
Objects.equals(this.fundingSource, cardDonations.fundingSource) &&
Objects.equals(this.holderName, cardDonations.holderName) &&
Objects.equals(this.networkPaymentReference, cardDonations.networkPaymentReference) &&
Expand All @@ -1066,7 +1104,7 @@ public boolean equals(Object o) {

@Override
public int hashCode() {
return Objects.hash(brand, checkoutAttemptId, cupsecureplusSmscode, cvc, encryptedCard, encryptedCardNumber, encryptedExpiryMonth, encryptedExpiryYear, encryptedSecurityCode, expiryMonth, expiryYear, fundingSource, holderName, networkPaymentReference, number, recurringDetailReference, shopperNotificationReference, srcCorrelationId, srcDigitalCardId, srcScheme, srcTokenReference, storedPaymentMethodId, threeDS2SdkVersion, type);
return Objects.hash(brand, checkoutAttemptId, cupsecureplusSmscode, cvc, encryptedCard, encryptedCardNumber, encryptedExpiryMonth, encryptedExpiryYear, encryptedSecurityCode, expiryMonth, expiryYear, fastlaneData, fundingSource, holderName, networkPaymentReference, number, recurringDetailReference, shopperNotificationReference, srcCorrelationId, srcDigitalCardId, srcScheme, srcTokenReference, storedPaymentMethodId, threeDS2SdkVersion, type);
}

@Override
Expand All @@ -1084,6 +1122,7 @@ public String toString() {
sb.append(" encryptedSecurityCode: ").append(toIndentedString(encryptedSecurityCode)).append("\n");
sb.append(" expiryMonth: ").append(toIndentedString(expiryMonth)).append("\n");
sb.append(" expiryYear: ").append(toIndentedString(expiryYear)).append("\n");
sb.append(" fastlaneData: ").append(toIndentedString(fastlaneData)).append("\n");
sb.append(" fundingSource: ").append(toIndentedString(fundingSource)).append("\n");
sb.append(" holderName: ").append(toIndentedString(holderName)).append("\n");
sb.append(" networkPaymentReference: ").append(toIndentedString(networkPaymentReference)).append("\n");
Expand Down
Loading

0 comments on commit 4b870c5

Please sign in to comment.