Skip to content

Update all services #1311

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 1 commit into from
Jul 4, 2024
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 @@ -61,6 +61,7 @@ public class AccountHolder {
private Map<String, AccountHolderCapability> capabilities = null;

public static final String JSON_PROPERTY_CONTACT_DETAILS = "contactDetails";
@Deprecated
private ContactDetails contactDetails;

public static final String JSON_PROPERTY_DESCRIPTION = "description";
Expand Down Expand Up @@ -201,6 +202,7 @@ public void setCapabilities(Map<String, AccountHolderCapability> capabilities) {
}


@Deprecated
public AccountHolder contactDetails(ContactDetails contactDetails) {
this.contactDetails = contactDetails;
return this;
Expand All @@ -209,7 +211,9 @@ public AccountHolder contactDetails(ContactDetails contactDetails) {
/**
* Get contactDetails
* @return contactDetails
* @deprecated
**/
@Deprecated
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_CONTACT_DETAILS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
Expand All @@ -224,6 +228,7 @@ public ContactDetails getContactDetails() {
*
* @param contactDetails
*/
@Deprecated
@JsonProperty(JSON_PROPERTY_CONTACT_DETAILS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setContactDetails(ContactDetails contactDetails) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ public class AccountHolderInfo {
private Map<String, AccountHolderCapability> capabilities = null;

public static final String JSON_PROPERTY_CONTACT_DETAILS = "contactDetails";
@Deprecated
private ContactDetails contactDetails;

public static final String JSON_PROPERTY_DESCRIPTION = "description";
Expand Down Expand Up @@ -146,6 +147,7 @@ public void setCapabilities(Map<String, AccountHolderCapability> capabilities) {
}


@Deprecated
public AccountHolderInfo contactDetails(ContactDetails contactDetails) {
this.contactDetails = contactDetails;
return this;
Expand All @@ -154,7 +156,9 @@ public AccountHolderInfo contactDetails(ContactDetails contactDetails) {
/**
* Get contactDetails
* @return contactDetails
* @deprecated
**/
@Deprecated
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_CONTACT_DETAILS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
Expand All @@ -169,6 +173,7 @@ public ContactDetails getContactDetails() {
*
* @param contactDetails
*/
@Deprecated
@JsonProperty(JSON_PROPERTY_CONTACT_DETAILS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setContactDetails(ContactDetails contactDetails) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ public class AccountHolderUpdateRequest {
private Map<String, AccountHolderCapability> capabilities = null;

public static final String JSON_PROPERTY_CONTACT_DETAILS = "contactDetails";
@Deprecated
private ContactDetails contactDetails;

public static final String JSON_PROPERTY_DESCRIPTION = "description";
Expand Down Expand Up @@ -193,6 +194,7 @@ public void setCapabilities(Map<String, AccountHolderCapability> capabilities) {
}


@Deprecated
public AccountHolderUpdateRequest contactDetails(ContactDetails contactDetails) {
this.contactDetails = contactDetails;
return this;
Expand All @@ -201,7 +203,9 @@ public AccountHolderUpdateRequest contactDetails(ContactDetails contactDetails)
/**
* Get contactDetails
* @return contactDetails
* @deprecated
**/
@Deprecated
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_CONTACT_DETAILS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
Expand All @@ -216,6 +220,7 @@ public ContactDetails getContactDetails() {
*
* @param contactDetails
*/
@Deprecated
@JsonProperty(JSON_PROPERTY_CONTACT_DETAILS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setContactDetails(ContactDetails contactDetails) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@

/**
* ContactDetails
* @deprecated
*/
@Deprecated
@JsonPropertyOrder({
ContactDetails.JSON_PROPERTY_ADDRESS,
ContactDetails.JSON_PROPERTY_EMAIL,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,8 @@ public enum ReasonEnum {

COUNTERPARTYBANKUNAVAILABLE("counterpartyBankUnavailable"),

DECLINED("declined"),

DECLINEDBYTRANSACTIONRULE("declinedByTransactionRule"),

ERROR("error"),
Expand Down Expand Up @@ -447,10 +449,10 @@ public CreateSweepConfigurationV2 addPrioritiesItem(PrioritiesEnum prioritiesIte
}

/**
* The list of priorities for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. You can provide multiple priorities. Adyen will try to pay out using the priority you list first. If that&#39;s not possible, it moves on to the next option in the order of your provided priorities. Possible values: * **regular**: For normal, low-value transactions. * **fast**: Faster way to transfer funds but has higher fees. Recommended for high-priority, low-value transactions. * **wire**: Fastest way to transfer funds but has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: Instant way to transfer funds in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: High-value transfer to a recipient in a different country. * **internal**: Transfer to an Adyen-issued business bank account (by bank account number/IBAN). Set &#x60;category&#x60; to **bank**. For more details, see optional priorities setup for [marketplaces](https://docs.adyen.com/marketplaces/payout-to-users/scheduled-payouts#optional-priorities-setup) or [platforms](https://docs.adyen.com/platforms/payout-to-users/scheduled-payouts#optional-priorities-setup).
* The list of priorities for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. You can provide multiple priorities. Adyen will try to pay out using the priority you list first. If that&#39;s not possible, it moves on to the next option in the order of your provided priorities. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). Set &#x60;category&#x60; to **bank**. For more details, see optional priorities setup for [marketplaces](https://docs.adyen.com/marketplaces/payout-to-users/scheduled-payouts#optional-priorities-setup) or [platforms](https://docs.adyen.com/platforms/payout-to-users/scheduled-payouts#optional-priorities-setup).
* @return priorities
**/
@ApiModelProperty(value = "The list of priorities for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. You can provide multiple priorities. Adyen will try to pay out using the priority you list first. If that's not possible, it moves on to the next option in the order of your provided priorities. Possible values: * **regular**: For normal, low-value transactions. * **fast**: Faster way to transfer funds but has higher fees. Recommended for high-priority, low-value transactions. * **wire**: Fastest way to transfer funds but has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: Instant way to transfer funds in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: High-value transfer to a recipient in a different country. * **internal**: Transfer to an Adyen-issued business bank account (by bank account number/IBAN). Set `category` to **bank**. For more details, see optional priorities setup for [marketplaces](https://docs.adyen.com/marketplaces/payout-to-users/scheduled-payouts#optional-priorities-setup) or [platforms](https://docs.adyen.com/platforms/payout-to-users/scheduled-payouts#optional-priorities-setup).")
@ApiModelProperty(value = "The list of priorities for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. You can provide multiple priorities. Adyen will try to pay out using the priority you list first. If that's not possible, it moves on to the next option in the order of your provided priorities. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). Set `category` to **bank**. For more details, see optional priorities setup for [marketplaces](https://docs.adyen.com/marketplaces/payout-to-users/scheduled-payouts#optional-priorities-setup) or [platforms](https://docs.adyen.com/platforms/payout-to-users/scheduled-payouts#optional-priorities-setup).")
@JsonProperty(JSON_PROPERTY_PRIORITIES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

Expand All @@ -460,7 +462,7 @@ public List<PrioritiesEnum> getPriorities() {


/**
* The list of priorities for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. You can provide multiple priorities. Adyen will try to pay out using the priority you list first. If that&#39;s not possible, it moves on to the next option in the order of your provided priorities. Possible values: * **regular**: For normal, low-value transactions. * **fast**: Faster way to transfer funds but has higher fees. Recommended for high-priority, low-value transactions. * **wire**: Fastest way to transfer funds but has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: Instant way to transfer funds in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: High-value transfer to a recipient in a different country. * **internal**: Transfer to an Adyen-issued business bank account (by bank account number/IBAN). Set &#x60;category&#x60; to **bank**. For more details, see optional priorities setup for [marketplaces](https://docs.adyen.com/marketplaces/payout-to-users/scheduled-payouts#optional-priorities-setup) or [platforms](https://docs.adyen.com/platforms/payout-to-users/scheduled-payouts#optional-priorities-setup).
* The list of priorities for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. You can provide multiple priorities. Adyen will try to pay out using the priority you list first. If that&#39;s not possible, it moves on to the next option in the order of your provided priorities. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). Set &#x60;category&#x60; to **bank**. For more details, see optional priorities setup for [marketplaces](https://docs.adyen.com/marketplaces/payout-to-users/scheduled-payouts#optional-priorities-setup) or [platforms](https://docs.adyen.com/platforms/payout-to-users/scheduled-payouts#optional-priorities-setup).
*
* @param priorities
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,220 @@
/*
* Configuration API
*
* The version of the OpenAPI document: 2
*
*
* 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.balanceplatform;

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 java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.core.JsonProcessingException;


/**
* MatchingValuesRestriction
*/
@JsonPropertyOrder({
MatchingValuesRestriction.JSON_PROPERTY_OPERATION,
MatchingValuesRestriction.JSON_PROPERTY_VALUE
})

public class MatchingValuesRestriction {
public static final String JSON_PROPERTY_OPERATION = "operation";
private String operation;

/**
* Gets or Sets value
*/
public enum ValueEnum {
ACQUIRERID("acquirerId"),

AMOUNT("amount"),

CURRENCY("currency"),

MERCHANTID("merchantId"),

MERCHANTNAME("merchantName");

private String value;

ValueEnum(String value) {
this.value = value;
}

@JsonValue
public String getValue() {
return value;
}

@Override
public String toString() {
return String.valueOf(value);
}

@JsonCreator
public static ValueEnum fromValue(String value) {
for (ValueEnum b : ValueEnum.values()) {
if (b.value.equals(value)) {
return b;
}
}
throw new IllegalArgumentException("Unexpected value '" + value + "'");
}
}

public static final String JSON_PROPERTY_VALUE = "value";
private List<ValueEnum> value = null;

public MatchingValuesRestriction() {
}

public MatchingValuesRestriction operation(String operation) {
this.operation = operation;
return this;
}

/**
* Defines how the condition must be evaluated.
* @return operation
**/
@ApiModelProperty(required = true, value = "Defines how the condition must be evaluated.")
@JsonProperty(JSON_PROPERTY_OPERATION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

public String getOperation() {
return operation;
}


/**
* Defines how the condition must be evaluated.
*
* @param operation
*/
@JsonProperty(JSON_PROPERTY_OPERATION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setOperation(String operation) {
this.operation = operation;
}


public MatchingValuesRestriction value(List<ValueEnum> value) {
this.value = value;
return this;
}

public MatchingValuesRestriction addValueItem(ValueEnum valueItem) {
if (this.value == null) {
this.value = new ArrayList<>();
}
this.value.add(valueItem);
return this;
}

/**
* Get value
* @return value
**/
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_VALUE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

public List<ValueEnum> getValue() {
return value;
}


/**
* value
*
* @param value
*/
@JsonProperty(JSON_PROPERTY_VALUE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setValue(List<ValueEnum> value) {
this.value = value;
}


/**
* Return true if this MatchingValuesRestriction object is equal to o.
*/
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
MatchingValuesRestriction matchingValuesRestriction = (MatchingValuesRestriction) o;
return Objects.equals(this.operation, matchingValuesRestriction.operation) &&
Objects.equals(this.value, matchingValuesRestriction.value);
}

@Override
public int hashCode() {
return Objects.hash(operation, value);
}

@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class MatchingValuesRestriction {\n");
sb.append(" operation: ").append(toIndentedString(operation)).append("\n");
sb.append(" value: ").append(toIndentedString(value)).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 MatchingValuesRestriction given an JSON string
*
* @param jsonString JSON string
* @return An instance of MatchingValuesRestriction
* @throws JsonProcessingException if the JSON string is invalid with respect to MatchingValuesRestriction
*/
public static MatchingValuesRestriction fromJson(String jsonString) throws JsonProcessingException {
return JSON.getMapper().readValue(jsonString, MatchingValuesRestriction.class);
}
/**
* Convert an instance of MatchingValuesRestriction to an JSON string
*
* @return JSON string
*/
public String toJson() throws JsonProcessingException {
return JSON.getMapper().writeValueAsString(this);
}
}

Loading
Loading