Skip to content

Commit

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

* Adjust (legacy) enums

---------

Co-authored-by: gcatanese <[email protected]>
AdyenAutomationBot and gcatanese authored Nov 13, 2024
1 parent 964c7f7 commit d1dbcc6
Showing 6 changed files with 22 additions and 12 deletions.
2 changes: 2 additions & 0 deletions src/main/java/com/adyen/model/transfers/Transfer.java
Original file line number Diff line number Diff line change
@@ -212,6 +212,8 @@ public enum ReasonEnum {

REFUSEDBYCOUNTERPARTYBANK("refusedByCounterpartyBank"),

REFUSEDBYCUSTOMER("refusedByCustomer"),

ROUTENOTFOUND("routeNotFound"),

SCAFAILED("scaFailed"),
2 changes: 2 additions & 0 deletions src/main/java/com/adyen/model/transfers/TransferData.java
Original file line number Diff line number Diff line change
@@ -233,6 +233,8 @@ public enum ReasonEnum {

REFUSEDBYCOUNTERPARTYBANK("refusedByCounterpartyBank"),

REFUSEDBYCUSTOMER("refusedByCustomer"),

ROUTENOTFOUND("routeNotFound"),

SCAFAILED("scaFailed"),
10 changes: 6 additions & 4 deletions src/main/java/com/adyen/model/transfers/TransferEvent.java
Original file line number Diff line number Diff line change
@@ -130,6 +130,8 @@ public enum ReasonEnum {

REFUSEDBYCOUNTERPARTYBANK("refusedByCounterpartyBank"),

REFUSEDBYCUSTOMER("refusedByCustomer"),

ROUTENOTFOUND("routeNotFound"),

SCAFAILED("scaFailed"),
@@ -934,7 +936,7 @@ public void setUpdateDate(OffsetDateTime updateDate) {
}

/**
* A future date, when the funds are expected to be deducted from or credited to the balance account.
* The date when the funds are expected to be deducted from or credited to the balance account. This date can be in either the past or future.
*
* @param valueDate
* @return the current {@code TransferEvent} instance, allowing for method chaining
@@ -945,18 +947,18 @@ public TransferEvent valueDate(OffsetDateTime valueDate) {
}

/**
* A future date, when the funds are expected to be deducted from or credited to the balance account.
* The date when the funds are expected to be deducted from or credited to the balance account. This date can be in either the past or future.
* @return valueDate
*/
@ApiModelProperty(value = "A future date, when the funds are expected to be deducted from or credited to the balance account.")
@ApiModelProperty(value = "The date when the funds are expected to be deducted from or credited to the balance account. This date can be in either the past or future.")
@JsonProperty(JSON_PROPERTY_VALUE_DATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public OffsetDateTime getValueDate() {
return valueDate;
}

/**
* A future date, when the funds are expected to be deducted from or credited to the balance account.
* The date when the funds are expected to be deducted from or credited to the balance account. This date can be in either the past or future.
*
* @param valueDate
*/
Original file line number Diff line number Diff line change
@@ -233,6 +233,8 @@ public enum ReasonEnum {

REFUSEDBYCOUNTERPARTYBANK("refusedByCounterpartyBank"),

REFUSEDBYCUSTOMER("refusedByCustomer"),

ROUTENOTFOUND("routeNotFound"),

SCAFAILED("scaFailed"),
Original file line number Diff line number Diff line change
@@ -130,6 +130,8 @@ public enum ReasonEnum {

REFUSEDBYCOUNTERPARTYBANK("refusedByCounterpartyBank"),

REFUSEDBYCUSTOMER("refusedByCustomer"),

ROUTENOTFOUND("routeNotFound"),

SCAFAILED("scaFailed"),
@@ -934,7 +936,7 @@ public void setUpdateDate(OffsetDateTime updateDate) {
}

/**
* A future date, when the funds are expected to be deducted from or credited to the balance account.
* The date when the funds are expected to be deducted from or credited to the balance account. This date can be in either the past or future.
*
* @param valueDate
* @return the current {@code TransferEvent} instance, allowing for method chaining
@@ -945,18 +947,18 @@ public TransferEvent valueDate(OffsetDateTime valueDate) {
}

/**
* A future date, when the funds are expected to be deducted from or credited to the balance account.
* The date when the funds are expected to be deducted from or credited to the balance account. This date can be in either the past or future.
* @return valueDate
*/
@ApiModelProperty(value = "A future date, when the funds are expected to be deducted from or credited to the balance account.")
@ApiModelProperty(value = "The date when the funds are expected to be deducted from or credited to the balance account. This date can be in either the past or future.")
@JsonProperty(JSON_PROPERTY_VALUE_DATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public OffsetDateTime getValueDate() {
return valueDate;
}

/**
* A future date, when the funds are expected to be deducted from or credited to the balance account.
* The date when the funds are expected to be deducted from or credited to the balance account. This date can be in either the past or future.
*
* @param valueDate
*/
8 changes: 4 additions & 4 deletions src/main/java/com/adyen/service/transfers/TransfersApi.java
Original file line number Diff line number Diff line change
@@ -110,8 +110,8 @@ public void cancelInitiatedTransfers(CancelTransfersRequest cancelTransfersReque
/**
* Get all transfers
*
* @param createdSince {@link OffsetDateTime } Only include transfers that have been created on or after this point in time. The value must be in ISO 8601 format. For example, **2021-05-30T15:07:40Z**. (required)
* @param createdUntil {@link OffsetDateTime } Only include transfers that have been created on or before this point in time. The value must be in ISO 8601 format. For example, **2021-05-30T15:07:40Z**. (required)
* @param createdSince {@link OffsetDateTime } Only include transfers that have been created on or after this point in time. The value must be in ISO 8601 format and not earlier than 6 months before the &#x60;createdUntil&#x60; date. For example, **2021-05-30T15:07:40Z**. (required)
* @param createdUntil {@link OffsetDateTime } Only include transfers that have been created on or before this point in time. The value must be in ISO 8601 format and not later than 6 months after the &#x60;createdSince&#x60; date. For example, **2021-05-30T15:07:40Z**. (required)
* @return {@link FindTransfersResponse }
* @throws ApiException if fails to make API call
*/
@@ -128,8 +128,8 @@ public FindTransfersResponse getAllTransfers(OffsetDateTime createdSince, Offset
* @param paymentInstrumentId {@link String } Query: The unique identifier of the [payment instrument](https://docs.adyen.com/api-explorer/balanceplatform/latest/get/paymentInstruments/_id_). To use this parameter, you must also provide a &#x60;balanceAccountId&#x60;, &#x60;accountHolderId&#x60;, or &#x60;balancePlatform&#x60;. The &#x60;paymentInstrumentId&#x60; must be related to the &#x60;balanceAccountId&#x60; or &#x60;accountHolderId&#x60; that you provide. (optional)
* @param reference {@link String } Query: The reference you provided in the POST [/transfers](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers) request (optional)
* @param category {@link String } Query: The type of transfer. Possible values: - **bank**: Transfer to a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id) or a bank account. - **internal**: Transfer to another [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id) within your platform. - **issuedCard**: Transfer initiated by a Adyen-issued card. - **platformPayment**: Fund movements related to payments that are acquired for your users. (optional)
* @param createdSince {@link OffsetDateTime } Query: Only include transfers that have been created on or after this point in time. The value must be in ISO 8601 format. For example, **2021-05-30T15:07:40Z**. (required)
* @param createdUntil {@link OffsetDateTime } Query: Only include transfers that have been created on or before this point in time. The value must be in ISO 8601 format. For example, **2021-05-30T15:07:40Z**. (required)
* @param createdSince {@link OffsetDateTime } Query: Only include transfers that have been created on or after this point in time. The value must be in ISO 8601 format and not earlier than 6 months before the &#x60;createdUntil&#x60; date. For example, **2021-05-30T15:07:40Z**. (required)
* @param createdUntil {@link OffsetDateTime } Query: Only include transfers that have been created on or before this point in time. The value must be in ISO 8601 format and not later than 6 months after the &#x60;createdSince&#x60; date. For example, **2021-05-30T15:07:40Z**. (required)
* @param cursor {@link String } Query: The &#x60;cursor&#x60; returned in the links of the previous response. (optional)
* @param limit {@link Integer } Query: The number of items returned per page, maximum of 100 items. By default, the response returns 10 items per page. (optional)
* @param requestOptions {@link RequestOptions } Object to store additional data such as idempotency-keys (optional)

0 comments on commit d1dbcc6

Please sign in to comment.