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 Dec 4, 2024
1 parent 3136ddf commit 0183d0e
Show file tree
Hide file tree
Showing 32 changed files with 3,625 additions and 128 deletions.
16 changes: 8 additions & 8 deletions src/main/java/com/adyen/model/checkout/Amount.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public Amount() {
}

/**
* The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).
* The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes#currency-codes).
*
* @param currency
* @return the current {@code Amount} instance, allowing for method chaining
Expand All @@ -57,18 +57,18 @@ public Amount currency(String currency) {
}

/**
* The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).
* The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes#currency-codes).
* @return currency
*/
@ApiModelProperty(required = true, value = "The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).")
@ApiModelProperty(required = true, value = "The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes#currency-codes).")
@JsonProperty(JSON_PROPERTY_CURRENCY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getCurrency() {
return currency;
}

/**
* The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).
* The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes#currency-codes).
*
* @param currency
*/
Expand All @@ -79,7 +79,7 @@ public void setCurrency(String currency) {
}

/**
* The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes).
* The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes#minor-units).
*
* @param value
* @return the current {@code Amount} instance, allowing for method chaining
Expand All @@ -90,18 +90,18 @@ public Amount value(Long value) {
}

/**
* The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes).
* The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes#minor-units).
* @return value
*/
@ApiModelProperty(required = true, value = "The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes).")
@ApiModelProperty(required = true, value = "The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes#minor-units).")
@JsonProperty(JSON_PROPERTY_VALUE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getValue() {
return value;
}

/**
* The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes).
* The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes#minor-units).
*
* @param value
*/
Expand Down
45 changes: 43 additions & 2 deletions src/main/java/com/adyen/model/checkout/CardDetails.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
CardDetails.JSON_PROPERTY_CHECKOUT_ATTEMPT_ID,
CardDetails.JSON_PROPERTY_CUPSECUREPLUS_SMSCODE,
CardDetails.JSON_PROPERTY_CVC,
CardDetails.JSON_PROPERTY_ENCRYPTED_CARD,
CardDetails.JSON_PROPERTY_ENCRYPTED_CARD_NUMBER,
CardDetails.JSON_PROPERTY_ENCRYPTED_EXPIRY_MONTH,
CardDetails.JSON_PROPERTY_ENCRYPTED_EXPIRY_YEAR,
Expand Down Expand Up @@ -70,6 +71,9 @@ public class CardDetails {
public static final String JSON_PROPERTY_CVC = "cvc";
private String cvc;

public static final String JSON_PROPERTY_ENCRYPTED_CARD = "encryptedCard";
private String encryptedCard;

public static final String JSON_PROPERTY_ENCRYPTED_CARD_NUMBER = "encryptedCardNumber";
private String encryptedCardNumber;

Expand Down Expand Up @@ -172,7 +176,9 @@ public enum TypeEnum {

GIFTCARD("giftcard"),

CARD("card");
CARD("card"),

CLICKTOPAY("clicktopay");

private String value;

Expand Down Expand Up @@ -348,6 +354,39 @@ public void setCvc(String cvc) {
this.cvc = cvc;
}

/**
* Only include this for JSON Web Encryption (JWE) implementations. The JWE-encrypted card details.
*
* @param encryptedCard
* @return the current {@code CardDetails} instance, allowing for method chaining
*/
public CardDetails encryptedCard(String encryptedCard) {
this.encryptedCard = encryptedCard;
return this;
}

/**
* Only include this for JSON Web Encryption (JWE) implementations. The JWE-encrypted card details.
* @return encryptedCard
*/
@ApiModelProperty(value = "Only include this for JSON Web Encryption (JWE) implementations. The JWE-encrypted card details.")
@JsonProperty(JSON_PROPERTY_ENCRYPTED_CARD)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getEncryptedCard() {
return encryptedCard;
}

/**
* Only include this for JSON Web Encryption (JWE) implementations. The JWE-encrypted card details.
*
* @param encryptedCard
*/
@JsonProperty(JSON_PROPERTY_ENCRYPTED_CARD)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setEncryptedCard(String encryptedCard) {
this.encryptedCard = encryptedCard;
}

/**
* The encrypted card number.
*
Expand Down Expand Up @@ -1003,6 +1042,7 @@ public boolean equals(Object o) {
Objects.equals(this.checkoutAttemptId, cardDetails.checkoutAttemptId) &&
Objects.equals(this.cupsecureplusSmscode, cardDetails.cupsecureplusSmscode) &&
Objects.equals(this.cvc, cardDetails.cvc) &&
Objects.equals(this.encryptedCard, cardDetails.encryptedCard) &&
Objects.equals(this.encryptedCardNumber, cardDetails.encryptedCardNumber) &&
Objects.equals(this.encryptedExpiryMonth, cardDetails.encryptedExpiryMonth) &&
Objects.equals(this.encryptedExpiryYear, cardDetails.encryptedExpiryYear) &&
Expand All @@ -1026,7 +1066,7 @@ public boolean equals(Object o) {

@Override
public int hashCode() {
return Objects.hash(brand, checkoutAttemptId, cupsecureplusSmscode, cvc, 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, fundingSource, holderName, networkPaymentReference, number, recurringDetailReference, shopperNotificationReference, srcCorrelationId, srcDigitalCardId, srcScheme, srcTokenReference, storedPaymentMethodId, threeDS2SdkVersion, type);
}

@Override
Expand All @@ -1037,6 +1077,7 @@ public String toString() {
sb.append(" checkoutAttemptId: ").append(toIndentedString(checkoutAttemptId)).append("\n");
sb.append(" cupsecureplusSmscode: ").append(toIndentedString(cupsecureplusSmscode)).append("\n");
sb.append(" cvc: ").append(toIndentedString(cvc)).append("\n");
sb.append(" encryptedCard: ").append(toIndentedString(encryptedCard)).append("\n");
sb.append(" encryptedCardNumber: ").append(toIndentedString(encryptedCardNumber)).append("\n");
sb.append(" encryptedExpiryMonth: ").append(toIndentedString(encryptedExpiryMonth)).append("\n");
sb.append(" encryptedExpiryYear: ").append(toIndentedString(encryptedExpiryYear)).append("\n");
Expand Down
45 changes: 43 additions & 2 deletions src/main/java/com/adyen/model/checkout/CardDonations.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
CardDonations.JSON_PROPERTY_CHECKOUT_ATTEMPT_ID,
CardDonations.JSON_PROPERTY_CUPSECUREPLUS_SMSCODE,
CardDonations.JSON_PROPERTY_CVC,
CardDonations.JSON_PROPERTY_ENCRYPTED_CARD,
CardDonations.JSON_PROPERTY_ENCRYPTED_CARD_NUMBER,
CardDonations.JSON_PROPERTY_ENCRYPTED_EXPIRY_MONTH,
CardDonations.JSON_PROPERTY_ENCRYPTED_EXPIRY_YEAR,
Expand Down Expand Up @@ -70,6 +71,9 @@ public class CardDonations {
public static final String JSON_PROPERTY_CVC = "cvc";
private String cvc;

public static final String JSON_PROPERTY_ENCRYPTED_CARD = "encryptedCard";
private String encryptedCard;

public static final String JSON_PROPERTY_ENCRYPTED_CARD_NUMBER = "encryptedCardNumber";
private String encryptedCardNumber;

Expand Down Expand Up @@ -172,7 +176,9 @@ public enum TypeEnum {

GIFTCARD("giftcard"),

CARD("card");
CARD("card"),

CLICKTOPAY("clicktopay");

private String value;

Expand Down Expand Up @@ -348,6 +354,39 @@ public void setCvc(String cvc) {
this.cvc = cvc;
}

/**
* Only include this for JSON Web Encryption (JWE) implementations. The JWE-encrypted card details.
*
* @param encryptedCard
* @return the current {@code CardDonations} instance, allowing for method chaining
*/
public CardDonations encryptedCard(String encryptedCard) {
this.encryptedCard = encryptedCard;
return this;
}

/**
* Only include this for JSON Web Encryption (JWE) implementations. The JWE-encrypted card details.
* @return encryptedCard
*/
@ApiModelProperty(value = "Only include this for JSON Web Encryption (JWE) implementations. The JWE-encrypted card details.")
@JsonProperty(JSON_PROPERTY_ENCRYPTED_CARD)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getEncryptedCard() {
return encryptedCard;
}

/**
* Only include this for JSON Web Encryption (JWE) implementations. The JWE-encrypted card details.
*
* @param encryptedCard
*/
@JsonProperty(JSON_PROPERTY_ENCRYPTED_CARD)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setEncryptedCard(String encryptedCard) {
this.encryptedCard = encryptedCard;
}

/**
* The encrypted card number.
*
Expand Down Expand Up @@ -1003,6 +1042,7 @@ public boolean equals(Object o) {
Objects.equals(this.checkoutAttemptId, cardDonations.checkoutAttemptId) &&
Objects.equals(this.cupsecureplusSmscode, cardDonations.cupsecureplusSmscode) &&
Objects.equals(this.cvc, cardDonations.cvc) &&
Objects.equals(this.encryptedCard, cardDonations.encryptedCard) &&
Objects.equals(this.encryptedCardNumber, cardDonations.encryptedCardNumber) &&
Objects.equals(this.encryptedExpiryMonth, cardDonations.encryptedExpiryMonth) &&
Objects.equals(this.encryptedExpiryYear, cardDonations.encryptedExpiryYear) &&
Expand All @@ -1026,7 +1066,7 @@ public boolean equals(Object o) {

@Override
public int hashCode() {
return Objects.hash(brand, checkoutAttemptId, cupsecureplusSmscode, cvc, 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, fundingSource, holderName, networkPaymentReference, number, recurringDetailReference, shopperNotificationReference, srcCorrelationId, srcDigitalCardId, srcScheme, srcTokenReference, storedPaymentMethodId, threeDS2SdkVersion, type);
}

@Override
Expand All @@ -1037,6 +1077,7 @@ public String toString() {
sb.append(" checkoutAttemptId: ").append(toIndentedString(checkoutAttemptId)).append("\n");
sb.append(" cupsecureplusSmscode: ").append(toIndentedString(cupsecureplusSmscode)).append("\n");
sb.append(" cvc: ").append(toIndentedString(cvc)).append("\n");
sb.append(" encryptedCard: ").append(toIndentedString(encryptedCard)).append("\n");
sb.append(" encryptedCardNumber: ").append(toIndentedString(encryptedCardNumber)).append("\n");
sb.append(" encryptedExpiryMonth: ").append(toIndentedString(encryptedExpiryMonth)).append("\n");
sb.append(" encryptedExpiryYear: ").append(toIndentedString(encryptedExpiryYear)).append("\n");
Expand Down
Loading

0 comments on commit 0183d0e

Please sign in to comment.