Skip to content

Commit d79d347

Browse files
author
Adyen Automation
committed
false[adyen-sdk-automation] automated change
1 parent 750f437 commit d79d347

File tree

9 files changed

+505
-287
lines changed

9 files changed

+505
-287
lines changed

src/main/java/com/adyen/model/acswebhooks/ChallengeInfo.java

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,11 @@
4242

4343
public class ChallengeInfo {
4444
/**
45-
* Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. For possible values, refer to [3D Secure API reference](https://docs.adyen.com/online-payments/3d-secure/api-reference#mpidata).
45+
* Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. Possible values: * **00**: Data element is absent or value has been sent back with the key `challengeCancel`. * **01**: Cardholder selected **Cancel**. * **02**: 3DS Requestor cancelled Authentication. * **03**: Transaction abandoned. * **04**: Transaction timed out at ACS — other timeouts. * **05**: Transaction timed out at ACS — first CReq not received by ACS. * **06**: Transaction error. * **07**: Unknown. * **08**: Transaction time out at SDK.
4646
*/
4747
public enum ChallengeCancelEnum {
48+
_00("00"),
49+
4850
_01("01"),
4951

5052
_02("02"),
@@ -57,7 +59,9 @@ public enum ChallengeCancelEnum {
5759

5860
_06("06"),
5961

60-
_07("07");
62+
_07("07"),
63+
64+
_08("08");
6165

6266
private String value;
6367

@@ -143,7 +147,7 @@ public ChallengeInfo() {
143147
}
144148

145149
/**
146-
* Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. For possible values, refer to [3D Secure API reference](https://docs.adyen.com/online-payments/3d-secure/api-reference#mpidata).
150+
* Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. Possible values: * **00**: Data element is absent or value has been sent back with the key `challengeCancel`. * **01**: Cardholder selected **Cancel**. * **02**: 3DS Requestor cancelled Authentication. * **03**: Transaction abandoned. * **04**: Transaction timed out at ACS — other timeouts. * **05**: Transaction timed out at ACS — first CReq not received by ACS. * **06**: Transaction error. * **07**: Unknown. * **08**: Transaction time out at SDK.
147151
*
148152
* @param challengeCancel
149153
* @return the current {@code ChallengeInfo} instance, allowing for method chaining
@@ -154,18 +158,18 @@ public ChallengeInfo challengeCancel(ChallengeCancelEnum challengeCancel) {
154158
}
155159

156160
/**
157-
* Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. For possible values, refer to [3D Secure API reference](https://docs.adyen.com/online-payments/3d-secure/api-reference#mpidata).
161+
* Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. Possible values: * **00**: Data element is absent or value has been sent back with the key `challengeCancel`. * **01**: Cardholder selected **Cancel**. * **02**: 3DS Requestor cancelled Authentication. * **03**: Transaction abandoned. * **04**: Transaction timed out at ACS — other timeouts. * **05**: Transaction timed out at ACS — first CReq not received by ACS. * **06**: Transaction error. * **07**: Unknown. * **08**: Transaction time out at SDK.
158162
* @return challengeCancel
159163
*/
160-
@ApiModelProperty(value = "Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. For possible values, refer to [3D Secure API reference](https://docs.adyen.com/online-payments/3d-secure/api-reference#mpidata).")
164+
@ApiModelProperty(value = "Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. Possible values: * **00**: Data element is absent or value has been sent back with the key `challengeCancel`. * **01**: Cardholder selected **Cancel**. * **02**: 3DS Requestor cancelled Authentication. * **03**: Transaction abandoned. * **04**: Transaction timed out at ACS — other timeouts. * **05**: Transaction timed out at ACS — first CReq not received by ACS. * **06**: Transaction error. * **07**: Unknown. * **08**: Transaction time out at SDK.")
161165
@JsonProperty(JSON_PROPERTY_CHALLENGE_CANCEL)
162166
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
163167
public ChallengeCancelEnum getChallengeCancel() {
164168
return challengeCancel;
165169
}
166170

167171
/**
168-
* Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. For possible values, refer to [3D Secure API reference](https://docs.adyen.com/online-payments/3d-secure/api-reference#mpidata).
172+
* Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. Possible values: * **00**: Data element is absent or value has been sent back with the key `challengeCancel`. * **01**: Cardholder selected **Cancel**. * **02**: 3DS Requestor cancelled Authentication. * **03**: Transaction abandoned. * **04**: Transaction timed out at ACS — other timeouts. * **05**: Transaction timed out at ACS — first CReq not received by ACS. * **06**: Transaction error. * **07**: Unknown. * **08**: Transaction time out at SDK.
169173
*
170174
* @param challengeCancel
171175
*/

src/main/java/com/adyen/model/binlookup/CostEstimateResponse.java

Lines changed: 3 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@
3636
CostEstimateResponse.JSON_PROPERTY_CARD_BIN,
3737
CostEstimateResponse.JSON_PROPERTY_COST_ESTIMATE_AMOUNT,
3838
CostEstimateResponse.JSON_PROPERTY_COST_ESTIMATE_REFERENCE,
39-
CostEstimateResponse.JSON_PROPERTY_RESULT_CODE,
40-
CostEstimateResponse.JSON_PROPERTY_SURCHARGE_TYPE
39+
CostEstimateResponse.JSON_PROPERTY_RESULT_CODE
4140
})
4241

4342
public class CostEstimateResponse {
@@ -53,9 +52,6 @@ public class CostEstimateResponse {
5352
public static final String JSON_PROPERTY_RESULT_CODE = "resultCode";
5453
private String resultCode;
5554

56-
public static final String JSON_PROPERTY_SURCHARGE_TYPE = "surchargeType";
57-
private String surchargeType;
58-
5955
public CostEstimateResponse() {
6056
}
6157

@@ -191,39 +187,6 @@ public void setResultCode(String resultCode) {
191187
this.resultCode = resultCode;
192188
}
193189

194-
/**
195-
* Indicates the way the charges can be passed on to the cardholder. The following values are possible: * `ZERO` - the charges are not allowed to pass on * `PASSTHROUGH` - the charges can be passed on * `UNLIMITED` - there is no limit on how much surcharge is passed on
196-
*
197-
* @param surchargeType
198-
* @return the current {@code CostEstimateResponse} instance, allowing for method chaining
199-
*/
200-
public CostEstimateResponse surchargeType(String surchargeType) {
201-
this.surchargeType = surchargeType;
202-
return this;
203-
}
204-
205-
/**
206-
* Indicates the way the charges can be passed on to the cardholder. The following values are possible: * `ZERO` - the charges are not allowed to pass on * `PASSTHROUGH` - the charges can be passed on * `UNLIMITED` - there is no limit on how much surcharge is passed on
207-
* @return surchargeType
208-
*/
209-
@ApiModelProperty(value = "Indicates the way the charges can be passed on to the cardholder. The following values are possible: * `ZERO` - the charges are not allowed to pass on * `PASSTHROUGH` - the charges can be passed on * `UNLIMITED` - there is no limit on how much surcharge is passed on")
210-
@JsonProperty(JSON_PROPERTY_SURCHARGE_TYPE)
211-
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
212-
public String getSurchargeType() {
213-
return surchargeType;
214-
}
215-
216-
/**
217-
* Indicates the way the charges can be passed on to the cardholder. The following values are possible: * `ZERO` - the charges are not allowed to pass on * `PASSTHROUGH` - the charges can be passed on * `UNLIMITED` - there is no limit on how much surcharge is passed on
218-
*
219-
* @param surchargeType
220-
*/
221-
@JsonProperty(JSON_PROPERTY_SURCHARGE_TYPE)
222-
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
223-
public void setSurchargeType(String surchargeType) {
224-
this.surchargeType = surchargeType;
225-
}
226-
227190
/**
228191
* Return true if this CostEstimateResponse object is equal to o.
229192
*/
@@ -239,13 +202,12 @@ public boolean equals(Object o) {
239202
return Objects.equals(this.cardBin, costEstimateResponse.cardBin) &&
240203
Objects.equals(this.costEstimateAmount, costEstimateResponse.costEstimateAmount) &&
241204
Objects.equals(this.costEstimateReference, costEstimateResponse.costEstimateReference) &&
242-
Objects.equals(this.resultCode, costEstimateResponse.resultCode) &&
243-
Objects.equals(this.surchargeType, costEstimateResponse.surchargeType);
205+
Objects.equals(this.resultCode, costEstimateResponse.resultCode);
244206
}
245207

246208
@Override
247209
public int hashCode() {
248-
return Objects.hash(cardBin, costEstimateAmount, costEstimateReference, resultCode, surchargeType);
210+
return Objects.hash(cardBin, costEstimateAmount, costEstimateReference, resultCode);
249211
}
250212

251213
@Override
@@ -256,7 +218,6 @@ public String toString() {
256218
sb.append(" costEstimateAmount: ").append(toIndentedString(costEstimateAmount)).append("\n");
257219
sb.append(" costEstimateReference: ").append(toIndentedString(costEstimateReference)).append("\n");
258220
sb.append(" resultCode: ").append(toIndentedString(resultCode)).append("\n");
259-
sb.append(" surchargeType: ").append(toIndentedString(surchargeType)).append("\n");
260221
sb.append("}");
261222
return sb.toString();
262223
}

0 commit comments

Comments
 (0)