Skip to content

Commit d1dbcc6

Browse files
Update all services (#1388)
* false[adyen-sdk-automation] automated change * Adjust (legacy) enums --------- Co-authored-by: gcatanese <gcatanese@yahoo.com>
1 parent 964c7f7 commit d1dbcc6

File tree

6 files changed

+22
-12
lines changed

6 files changed

+22
-12
lines changed

src/main/java/com/adyen/model/transfers/Transfer.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,8 @@ public enum ReasonEnum {
212212

213213
REFUSEDBYCOUNTERPARTYBANK("refusedByCounterpartyBank"),
214214

215+
REFUSEDBYCUSTOMER("refusedByCustomer"),
216+
215217
ROUTENOTFOUND("routeNotFound"),
216218

217219
SCAFAILED("scaFailed"),

src/main/java/com/adyen/model/transfers/TransferData.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,8 @@ public enum ReasonEnum {
233233

234234
REFUSEDBYCOUNTERPARTYBANK("refusedByCounterpartyBank"),
235235

236+
REFUSEDBYCUSTOMER("refusedByCustomer"),
237+
236238
ROUTENOTFOUND("routeNotFound"),
237239

238240
SCAFAILED("scaFailed"),

src/main/java/com/adyen/model/transfers/TransferEvent.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@ public enum ReasonEnum {
130130

131131
REFUSEDBYCOUNTERPARTYBANK("refusedByCounterpartyBank"),
132132

133+
REFUSEDBYCUSTOMER("refusedByCustomer"),
134+
133135
ROUTENOTFOUND("routeNotFound"),
134136

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

936938
/**
937-
* A future date, when the funds are expected to be deducted from or credited to the balance account.
939+
* 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.
938940
*
939941
* @param valueDate
940942
* @return the current {@code TransferEvent} instance, allowing for method chaining
@@ -945,18 +947,18 @@ public TransferEvent valueDate(OffsetDateTime valueDate) {
945947
}
946948

947949
/**
948-
* A future date, when the funds are expected to be deducted from or credited to the balance account.
950+
* 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.
949951
* @return valueDate
950952
*/
951-
@ApiModelProperty(value = "A future date, when the funds are expected to be deducted from or credited to the balance account.")
953+
@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.")
952954
@JsonProperty(JSON_PROPERTY_VALUE_DATE)
953955
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
954956
public OffsetDateTime getValueDate() {
955957
return valueDate;
956958
}
957959

958960
/**
959-
* A future date, when the funds are expected to be deducted from or credited to the balance account.
961+
* 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.
960962
*
961963
* @param valueDate
962964
*/

src/main/java/com/adyen/model/transferwebhooks/TransferData.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,8 @@ public enum ReasonEnum {
233233

234234
REFUSEDBYCOUNTERPARTYBANK("refusedByCounterpartyBank"),
235235

236+
REFUSEDBYCUSTOMER("refusedByCustomer"),
237+
236238
ROUTENOTFOUND("routeNotFound"),
237239

238240
SCAFAILED("scaFailed"),

src/main/java/com/adyen/model/transferwebhooks/TransferEvent.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@ public enum ReasonEnum {
130130

131131
REFUSEDBYCOUNTERPARTYBANK("refusedByCounterpartyBank"),
132132

133+
REFUSEDBYCUSTOMER("refusedByCustomer"),
134+
133135
ROUTENOTFOUND("routeNotFound"),
134136

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

936938
/**
937-
* A future date, when the funds are expected to be deducted from or credited to the balance account.
939+
* 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.
938940
*
939941
* @param valueDate
940942
* @return the current {@code TransferEvent} instance, allowing for method chaining
@@ -945,18 +947,18 @@ public TransferEvent valueDate(OffsetDateTime valueDate) {
945947
}
946948

947949
/**
948-
* A future date, when the funds are expected to be deducted from or credited to the balance account.
950+
* 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.
949951
* @return valueDate
950952
*/
951-
@ApiModelProperty(value = "A future date, when the funds are expected to be deducted from or credited to the balance account.")
953+
@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.")
952954
@JsonProperty(JSON_PROPERTY_VALUE_DATE)
953955
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
954956
public OffsetDateTime getValueDate() {
955957
return valueDate;
956958
}
957959

958960
/**
959-
* A future date, when the funds are expected to be deducted from or credited to the balance account.
961+
* 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.
960962
*
961963
* @param valueDate
962964
*/

src/main/java/com/adyen/service/transfers/TransfersApi.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ public void cancelInitiatedTransfers(CancelTransfersRequest cancelTransfersReque
110110
/**
111111
* Get all transfers
112112
*
113-
* @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)
114-
* @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)
113+
* @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)
114+
* @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)
115115
* @return {@link FindTransfersResponse }
116116
* @throws ApiException if fails to make API call
117117
*/
@@ -128,8 +128,8 @@ public FindTransfersResponse getAllTransfers(OffsetDateTime createdSince, Offset
128128
* @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)
129129
* @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)
130130
* @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)
131-
* @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)
132-
* @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)
131+
* @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)
132+
* @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)
133133
* @param cursor {@link String } Query: The &#x60;cursor&#x60; returned in the links of the previous response. (optional)
134134
* @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)
135135
* @param requestOptions {@link RequestOptions } Object to store additional data such as idempotency-keys (optional)

0 commit comments

Comments
 (0)