Skip to content

Commit

Permalink
Update all services (#1380)
Browse files Browse the repository at this point in the history
* false[adyen-sdk-automation] automated change

* Update ModificationResult.java

Adjusted enums by removing underscore prefix

---------

Co-authored-by: Djoyke Reijans <[email protected]>
  • Loading branch information
AdyenAutomationBot and DjoykeAbyah authored Oct 29, 2024
1 parent fde1c4c commit 7003886
Show file tree
Hide file tree
Showing 9 changed files with 814 additions and 37 deletions.
112 changes: 108 additions & 4 deletions src/main/java/com/adyen/model/checkout/CheckoutPaymentMethod.java

Large diffs are not rendered by default.

246 changes: 246 additions & 0 deletions src/main/java/com/adyen/model/checkout/EBankingFinlandDetails.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,246 @@
/*
* 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;


/**
* EBankingFinlandDetails
*/
@JsonPropertyOrder({
EBankingFinlandDetails.JSON_PROPERTY_CHECKOUT_ATTEMPT_ID,
EBankingFinlandDetails.JSON_PROPERTY_ISSUER,
EBankingFinlandDetails.JSON_PROPERTY_TYPE
})

public class EBankingFinlandDetails {
public static final String JSON_PROPERTY_CHECKOUT_ATTEMPT_ID = "checkoutAttemptId";
private String checkoutAttemptId;

public static final String JSON_PROPERTY_ISSUER = "issuer";
private String issuer;

/**
* **ebanking_FI**
*/
public enum TypeEnum {
EBANKING_FI("ebanking_FI");

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 EBankingFinlandDetails() {
}

/**
* The checkout attempt identifier.
*
* @param checkoutAttemptId
* @return the current {@code EBankingFinlandDetails} instance, allowing for method chaining
*/
public EBankingFinlandDetails checkoutAttemptId(String checkoutAttemptId) {
this.checkoutAttemptId = checkoutAttemptId;
return this;
}

/**
* The checkout attempt identifier.
* @return checkoutAttemptId
*/
@ApiModelProperty(value = "The checkout attempt identifier.")
@JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getCheckoutAttemptId() {
return checkoutAttemptId;
}

/**
* The checkout attempt identifier.
*
* @param checkoutAttemptId
*/
@JsonProperty(JSON_PROPERTY_CHECKOUT_ATTEMPT_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setCheckoutAttemptId(String checkoutAttemptId) {
this.checkoutAttemptId = checkoutAttemptId;
}

/**
* The Ebanking Finland issuer value of the shopper&#39;s selected bank.
*
* @param issuer
* @return the current {@code EBankingFinlandDetails} instance, allowing for method chaining
*/
public EBankingFinlandDetails issuer(String issuer) {
this.issuer = issuer;
return this;
}

/**
* The Ebanking Finland issuer value of the shopper&#39;s selected bank.
* @return issuer
*/
@ApiModelProperty(value = "The Ebanking Finland issuer value of the shopper's selected bank.")
@JsonProperty(JSON_PROPERTY_ISSUER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getIssuer() {
return issuer;
}

/**
* The Ebanking Finland issuer value of the shopper&#39;s selected bank.
*
* @param issuer
*/
@JsonProperty(JSON_PROPERTY_ISSUER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setIssuer(String issuer) {
this.issuer = issuer;
}

/**
* **ebanking_FI**
*
* @param type
* @return the current {@code EBankingFinlandDetails} instance, allowing for method chaining
*/
public EBankingFinlandDetails type(TypeEnum type) {
this.type = type;
return this;
}

/**
* **ebanking_FI**
* @return type
*/
@ApiModelProperty(required = true, value = "**ebanking_FI**")
@JsonProperty(JSON_PROPERTY_TYPE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public TypeEnum getType() {
return type;
}

/**
* **ebanking_FI**
*
* @param type
*/
@JsonProperty(JSON_PROPERTY_TYPE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setType(TypeEnum type) {
this.type = type;
}

/**
* Return true if this EBankingFinlandDetails object is equal to o.
*/
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
EBankingFinlandDetails ebankingFinlandDetails = (EBankingFinlandDetails) o;
return Objects.equals(this.checkoutAttemptId, ebankingFinlandDetails.checkoutAttemptId) &&
Objects.equals(this.issuer, ebankingFinlandDetails.issuer) &&
Objects.equals(this.type, ebankingFinlandDetails.type);
}

@Override
public int hashCode() {
return Objects.hash(checkoutAttemptId, issuer, type);
}

@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class EBankingFinlandDetails {\n");
sb.append(" checkoutAttemptId: ").append(toIndentedString(checkoutAttemptId)).append("\n");
sb.append(" issuer: ").append(toIndentedString(issuer)).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 EBankingFinlandDetails given an JSON string
*
* @param jsonString JSON string
* @return An instance of EBankingFinlandDetails
* @throws JsonProcessingException if the JSON string is invalid with respect to EBankingFinlandDetails
*/
public static EBankingFinlandDetails fromJson(String jsonString) throws JsonProcessingException {
return JSON.getMapper().readValue(jsonString, EBankingFinlandDetails.class);
}
/**
* Convert an instance of EBankingFinlandDetails to an JSON string
*
* @return JSON string
*/
public String toJson() throws JsonProcessingException {
return JSON.getMapper().writeValueAsString(this);
}
}
34 changes: 17 additions & 17 deletions src/main/java/com/adyen/model/checkout/FundRecipient.java
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public class FundRecipient {
private String walletOwnerTaxId;

/**
* The purpose of a digital wallet transaction
* The purpose of a digital wallet transaction.
*/
public enum WalletPurposeEnum {
IDENTIFIEDBOLETO("identifiedBoleto"),
Expand Down Expand Up @@ -131,7 +131,7 @@ public FundRecipient() {
}

/**
* Fund Recipient Iban for C2C payments
* The IBAN of the bank account where the funds are being transferred to.
*
* @param IBAN
* @return the current {@code FundRecipient} instance, allowing for method chaining
Expand All @@ -142,18 +142,18 @@ public FundRecipient IBAN(String IBAN) {
}

/**
* Fund Recipient Iban for C2C payments
* The IBAN of the bank account where the funds are being transferred to.
* @return IBAN
*/
@ApiModelProperty(value = "Fund Recipient Iban for C2C payments")
@ApiModelProperty(value = "The IBAN of the bank account where the funds are being transferred to.")
@JsonProperty(JSON_PROPERTY_I_B_A_N)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getIBAN() {
return IBAN;
}

/**
* Fund Recipient Iban for C2C payments
* The IBAN of the bank account where the funds are being transferred to.
*
* @param IBAN
*/
Expand Down Expand Up @@ -428,7 +428,7 @@ public void setTelephoneNumber(String telephoneNumber) {
}

/**
* Indicates where the money is going.
* The unique identifier for the wallet the funds are being transferred to. You can use the shopper reference or any other identifier.
*
* @param walletIdentifier
* @return the current {@code FundRecipient} instance, allowing for method chaining
Expand All @@ -439,18 +439,18 @@ public FundRecipient walletIdentifier(String walletIdentifier) {
}

/**
* Indicates where the money is going.
* The unique identifier for the wallet the funds are being transferred to. You can use the shopper reference or any other identifier.
* @return walletIdentifier
*/
@ApiModelProperty(value = "Indicates where the money is going.")
@ApiModelProperty(value = "The unique identifier for the wallet the funds are being transferred to. You can use the shopper reference or any other identifier.")
@JsonProperty(JSON_PROPERTY_WALLET_IDENTIFIER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getWalletIdentifier() {
return walletIdentifier;
}

/**
* Indicates where the money is going.
* The unique identifier for the wallet the funds are being transferred to. You can use the shopper reference or any other identifier.
*
* @param walletIdentifier
*/
Expand All @@ -461,7 +461,7 @@ public void setWalletIdentifier(String walletIdentifier) {
}

/**
* Indicates the tax identifier of the fund recipient
* The tax identifier of the person receiving the funds.
*
* @param walletOwnerTaxId
* @return the current {@code FundRecipient} instance, allowing for method chaining
Expand All @@ -472,18 +472,18 @@ public FundRecipient walletOwnerTaxId(String walletOwnerTaxId) {
}

/**
* Indicates the tax identifier of the fund recipient
* The tax identifier of the person receiving the funds.
* @return walletOwnerTaxId
*/
@ApiModelProperty(value = "Indicates the tax identifier of the fund recipient")
@ApiModelProperty(value = "The tax identifier of the person receiving the funds.")
@JsonProperty(JSON_PROPERTY_WALLET_OWNER_TAX_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getWalletOwnerTaxId() {
return walletOwnerTaxId;
}

/**
* Indicates the tax identifier of the fund recipient
* The tax identifier of the person receiving the funds.
*
* @param walletOwnerTaxId
*/
Expand All @@ -494,7 +494,7 @@ public void setWalletOwnerTaxId(String walletOwnerTaxId) {
}

/**
* The purpose of a digital wallet transaction
* The purpose of a digital wallet transaction.
*
* @param walletPurpose
* @return the current {@code FundRecipient} instance, allowing for method chaining
Expand All @@ -505,18 +505,18 @@ public FundRecipient walletPurpose(WalletPurposeEnum walletPurpose) {
}

/**
* The purpose of a digital wallet transaction
* The purpose of a digital wallet transaction.
* @return walletPurpose
*/
@ApiModelProperty(value = "The purpose of a digital wallet transaction")
@ApiModelProperty(value = "The purpose of a digital wallet transaction.")
@JsonProperty(JSON_PROPERTY_WALLET_PURPOSE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public WalletPurposeEnum getWalletPurpose() {
return walletPurpose;
}

/**
* The purpose of a digital wallet transaction
* The purpose of a digital wallet transaction.
*
* @param walletPurpose
*/
Expand Down
Loading

0 comments on commit 7003886

Please sign in to comment.