Skip to content

Commit fd381f0

Browse files
false[adyen-sdk-automation] automated change (#1352)
Co-authored-by: jillingk <[email protected]>
1 parent a58d355 commit fd381f0

14 files changed

+1892
-21
lines changed

src/main/java/com/adyen/model/legalentitymanagement/IdentificationData.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public class IdentificationData {
6161
private String number;
6262

6363
/**
64-
* Type of identity data. For individuals, the following types are supported: - Australia: **driversLicense**, **passport** - Hong Kong: **driversLicense**, **nationalIdNumber**, **passport** - New Zealand: **driversLicense**, **passport** - Singapore: **driversLicense**, **nationalIdNumber**, **passport** - All other supported countries: **nationalIdNumber
64+
* Type of identity data. For individuals, the following types are supported: - Australia: **driversLicense**, **passport** - Hong Kong: **driversLicense**, **nationalIdNumber**, **passport** - New Zealand: **driversLicense**, **passport** - Singapore: **driversLicense**, **nationalIdNumber**, **passport** - All other supported countries: **nationalIdNumber**
6565
*/
6666
public enum TypeEnum {
6767
NATIONALIDNUMBER("nationalIdNumber"),
@@ -295,10 +295,10 @@ public IdentificationData type(TypeEnum type) {
295295
}
296296

297297
/**
298-
* Type of identity data. For individuals, the following types are supported: - Australia: **driversLicense**, **passport** - Hong Kong: **driversLicense**, **nationalIdNumber**, **passport** - New Zealand: **driversLicense**, **passport** - Singapore: **driversLicense**, **nationalIdNumber**, **passport** - All other supported countries: **nationalIdNumber
298+
* Type of identity data. For individuals, the following types are supported: - Australia: **driversLicense**, **passport** - Hong Kong: **driversLicense**, **nationalIdNumber**, **passport** - New Zealand: **driversLicense**, **passport** - Singapore: **driversLicense**, **nationalIdNumber**, **passport** - All other supported countries: **nationalIdNumber**
299299
* @return type
300300
**/
301-
@ApiModelProperty(required = true, value = "Type of identity data. For individuals, the following types are supported: - Australia: **driversLicense**, **passport** - Hong Kong: **driversLicense**, **nationalIdNumber**, **passport** - New Zealand: **driversLicense**, **passport** - Singapore: **driversLicense**, **nationalIdNumber**, **passport** - All other supported countries: **nationalIdNumber")
301+
@ApiModelProperty(required = true, value = "Type of identity data. For individuals, the following types are supported: - Australia: **driversLicense**, **passport** - Hong Kong: **driversLicense**, **nationalIdNumber**, **passport** - New Zealand: **driversLicense**, **passport** - Singapore: **driversLicense**, **nationalIdNumber**, **passport** - All other supported countries: **nationalIdNumber**")
302302
@JsonProperty(JSON_PROPERTY_TYPE)
303303
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
304304

@@ -308,7 +308,7 @@ public TypeEnum getType() {
308308

309309

310310
/**
311-
* Type of identity data. For individuals, the following types are supported: - Australia: **driversLicense**, **passport** - Hong Kong: **driversLicense**, **nationalIdNumber**, **passport** - New Zealand: **driversLicense**, **passport** - Singapore: **driversLicense**, **nationalIdNumber**, **passport** - All other supported countries: **nationalIdNumber
311+
* Type of identity data. For individuals, the following types are supported: - Australia: **driversLicense**, **passport** - Hong Kong: **driversLicense**, **nationalIdNumber**, **passport** - New Zealand: **driversLicense**, **passport** - Singapore: **driversLicense**, **nationalIdNumber**, **passport** - All other supported countries: **nationalIdNumber**
312312
*
313313
* @param type
314314
*/

src/main/java/com/adyen/model/legalentitymanagement/VerificationError.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ public static CapabilitiesEnum fromValue(String value) {
191191
private List<VerificationErrorRecursive> subErrors = null;
192192

193193
/**
194-
* The type of error.
194+
* The type of error. Possible values: * **invalidInput** * **dataMissing** * **pendingStatus** * **rejected** * **dataReview**
195195
*/
196196
public enum TypeEnum {
197197
DATAMISSING("dataMissing"),
@@ -417,10 +417,10 @@ public VerificationError type(TypeEnum type) {
417417
}
418418

419419
/**
420-
* The type of error.
420+
* The type of error. Possible values: * **invalidInput** * **dataMissing** * **pendingStatus** * **rejected** * **dataReview**
421421
* @return type
422422
**/
423-
@ApiModelProperty(value = "The type of error.")
423+
@ApiModelProperty(value = "The type of error. Possible values: * **invalidInput** * **dataMissing** * **pendingStatus** * **rejected** * **dataReview** ")
424424
@JsonProperty(JSON_PROPERTY_TYPE)
425425
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
426426

@@ -430,7 +430,7 @@ public TypeEnum getType() {
430430

431431

432432
/**
433-
* The type of error.
433+
* The type of error. Possible values: * **invalidInput** * **dataMissing** * **pendingStatus** * **rejected** * **dataReview**
434434
*
435435
* @param type
436436
*/

src/main/java/com/adyen/model/legalentitymanagement/VerificationErrorRecursive.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ public static CapabilitiesEnum fromValue(String value) {
184184
private String message;
185185

186186
/**
187-
* The type of error.
187+
* The type of error. Possible values: * **invalidInput** * **dataMissing** * **pendingStatus** * **rejected** * **dataReview**
188188
*/
189189
public enum TypeEnum {
190190
DATAMISSING("dataMissing"),
@@ -337,10 +337,10 @@ public VerificationErrorRecursive type(TypeEnum type) {
337337
}
338338

339339
/**
340-
* The type of error.
340+
* The type of error. Possible values: * **invalidInput** * **dataMissing** * **pendingStatus** * **rejected** * **dataReview**
341341
* @return type
342342
**/
343-
@ApiModelProperty(value = "The type of error.")
343+
@ApiModelProperty(value = "The type of error. Possible values: * **invalidInput** * **dataMissing** * **pendingStatus** * **rejected** * **dataReview** ")
344344
@JsonProperty(JSON_PROPERTY_TYPE)
345345
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
346346

@@ -350,7 +350,7 @@ public TypeEnum getType() {
350350

351351

352352
/**
353-
* The type of error.
353+
* The type of error. Possible values: * **invalidInput** * **dataMissing** * **pendingStatus** * **rejected** * **dataReview**
354354
*
355355
* @param type
356356
*/
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,207 @@
1+
/*
2+
* Management API
3+
*
4+
* The version of the OpenAPI document: 3
5+
*
6+
*
7+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8+
* https://openapi-generator.tech
9+
* Do not edit the class manually.
10+
*/
11+
12+
13+
package com.adyen.model.management;
14+
15+
import java.util.Objects;
16+
import java.util.Arrays;
17+
import java.util.Map;
18+
import java.util.HashMap;
19+
import com.adyen.model.management.TransactionDescriptionInfo;
20+
import com.fasterxml.jackson.annotation.JsonInclude;
21+
import com.fasterxml.jackson.annotation.JsonProperty;
22+
import com.fasterxml.jackson.annotation.JsonCreator;
23+
import com.fasterxml.jackson.annotation.JsonTypeName;
24+
import com.fasterxml.jackson.annotation.JsonValue;
25+
import io.swagger.annotations.ApiModel;
26+
import io.swagger.annotations.ApiModelProperty;
27+
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
28+
import com.fasterxml.jackson.core.JsonProcessingException;
29+
30+
31+
/**
32+
* AccelInfo
33+
*/
34+
@JsonPropertyOrder({
35+
AccelInfo.JSON_PROPERTY_PROCESSING_TYPE,
36+
AccelInfo.JSON_PROPERTY_TRANSACTION_DESCRIPTION
37+
})
38+
39+
public class AccelInfo {
40+
/**
41+
* The type of transactions processed over this payment method. Allowed values: - **pos** for in-person payments. - **billpay** for subscription payments, both the initial payment and the later recurring payments. These transactions have &#x60;recurringProcessingModel&#x60; **Subscription**. - **ecom** for all other card not present transactions. This includes non-recurring transactions and transactions with &#x60;recurringProcessingModel&#x60; **CardOnFile** or **UnscheduledCardOnFile**.
42+
*/
43+
public enum ProcessingTypeEnum {
44+
BILLPAY("billpay"),
45+
46+
ECOM("ecom"),
47+
48+
POS("pos");
49+
50+
private String value;
51+
52+
ProcessingTypeEnum(String value) {
53+
this.value = value;
54+
}
55+
56+
@JsonValue
57+
public String getValue() {
58+
return value;
59+
}
60+
61+
@Override
62+
public String toString() {
63+
return String.valueOf(value);
64+
}
65+
66+
@JsonCreator
67+
public static ProcessingTypeEnum fromValue(String value) {
68+
for (ProcessingTypeEnum b : ProcessingTypeEnum.values()) {
69+
if (b.value.equals(value)) {
70+
return b;
71+
}
72+
}
73+
throw new IllegalArgumentException("Unexpected value '" + value + "'");
74+
}
75+
}
76+
77+
public static final String JSON_PROPERTY_PROCESSING_TYPE = "processingType";
78+
private ProcessingTypeEnum processingType;
79+
80+
public static final String JSON_PROPERTY_TRANSACTION_DESCRIPTION = "transactionDescription";
81+
private TransactionDescriptionInfo transactionDescription;
82+
83+
public AccelInfo() {
84+
}
85+
86+
public AccelInfo processingType(ProcessingTypeEnum processingType) {
87+
this.processingType = processingType;
88+
return this;
89+
}
90+
91+
/**
92+
* The type of transactions processed over this payment method. Allowed values: - **pos** for in-person payments. - **billpay** for subscription payments, both the initial payment and the later recurring payments. These transactions have &#x60;recurringProcessingModel&#x60; **Subscription**. - **ecom** for all other card not present transactions. This includes non-recurring transactions and transactions with &#x60;recurringProcessingModel&#x60; **CardOnFile** or **UnscheduledCardOnFile**.
93+
* @return processingType
94+
**/
95+
@ApiModelProperty(required = true, value = "The type of transactions processed over this payment method. Allowed values: - **pos** for in-person payments. - **billpay** for subscription payments, both the initial payment and the later recurring payments. These transactions have `recurringProcessingModel` **Subscription**. - **ecom** for all other card not present transactions. This includes non-recurring transactions and transactions with `recurringProcessingModel` **CardOnFile** or **UnscheduledCardOnFile**. ")
96+
@JsonProperty(JSON_PROPERTY_PROCESSING_TYPE)
97+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
98+
99+
public ProcessingTypeEnum getProcessingType() {
100+
return processingType;
101+
}
102+
103+
104+
/**
105+
* The type of transactions processed over this payment method. Allowed values: - **pos** for in-person payments. - **billpay** for subscription payments, both the initial payment and the later recurring payments. These transactions have &#x60;recurringProcessingModel&#x60; **Subscription**. - **ecom** for all other card not present transactions. This includes non-recurring transactions and transactions with &#x60;recurringProcessingModel&#x60; **CardOnFile** or **UnscheduledCardOnFile**.
106+
*
107+
* @param processingType
108+
*/
109+
@JsonProperty(JSON_PROPERTY_PROCESSING_TYPE)
110+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
111+
public void setProcessingType(ProcessingTypeEnum processingType) {
112+
this.processingType = processingType;
113+
}
114+
115+
116+
public AccelInfo transactionDescription(TransactionDescriptionInfo transactionDescription) {
117+
this.transactionDescription = transactionDescription;
118+
return this;
119+
}
120+
121+
/**
122+
* Get transactionDescription
123+
* @return transactionDescription
124+
**/
125+
@ApiModelProperty(value = "")
126+
@JsonProperty(JSON_PROPERTY_TRANSACTION_DESCRIPTION)
127+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
128+
129+
public TransactionDescriptionInfo getTransactionDescription() {
130+
return transactionDescription;
131+
}
132+
133+
134+
/**
135+
* transactionDescription
136+
*
137+
* @param transactionDescription
138+
*/
139+
@JsonProperty(JSON_PROPERTY_TRANSACTION_DESCRIPTION)
140+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
141+
public void setTransactionDescription(TransactionDescriptionInfo transactionDescription) {
142+
this.transactionDescription = transactionDescription;
143+
}
144+
145+
146+
/**
147+
* Return true if this AccelInfo object is equal to o.
148+
*/
149+
@Override
150+
public boolean equals(Object o) {
151+
if (this == o) {
152+
return true;
153+
}
154+
if (o == null || getClass() != o.getClass()) {
155+
return false;
156+
}
157+
AccelInfo accelInfo = (AccelInfo) o;
158+
return Objects.equals(this.processingType, accelInfo.processingType) &&
159+
Objects.equals(this.transactionDescription, accelInfo.transactionDescription);
160+
}
161+
162+
@Override
163+
public int hashCode() {
164+
return Objects.hash(processingType, transactionDescription);
165+
}
166+
167+
@Override
168+
public String toString() {
169+
StringBuilder sb = new StringBuilder();
170+
sb.append("class AccelInfo {\n");
171+
sb.append(" processingType: ").append(toIndentedString(processingType)).append("\n");
172+
sb.append(" transactionDescription: ").append(toIndentedString(transactionDescription)).append("\n");
173+
sb.append("}");
174+
return sb.toString();
175+
}
176+
177+
/**
178+
* Convert the given object to string with each line indented by 4 spaces
179+
* (except the first line).
180+
*/
181+
private String toIndentedString(Object o) {
182+
if (o == null) {
183+
return "null";
184+
}
185+
return o.toString().replace("\n", "\n ");
186+
}
187+
188+
/**
189+
* Create an instance of AccelInfo given an JSON string
190+
*
191+
* @param jsonString JSON string
192+
* @return An instance of AccelInfo
193+
* @throws JsonProcessingException if the JSON string is invalid with respect to AccelInfo
194+
*/
195+
public static AccelInfo fromJson(String jsonString) throws JsonProcessingException {
196+
return JSON.getMapper().readValue(jsonString, AccelInfo.class);
197+
}
198+
/**
199+
* Convert an instance of AccelInfo to an JSON string
200+
*
201+
* @return JSON string
202+
*/
203+
public String toJson() throws JsonProcessingException {
204+
return JSON.getMapper().writeValueAsString(this);
205+
}
206+
}
207+

src/main/java/com/adyen/model/management/Connectivity.java

+40-3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
import java.util.Arrays;
1717
import java.util.Map;
1818
import java.util.HashMap;
19+
import com.adyen.model.management.EventUrl;
1920
import com.fasterxml.jackson.annotation.JsonInclude;
2021
import com.fasterxml.jackson.annotation.JsonProperty;
2122
import com.fasterxml.jackson.annotation.JsonCreator;
@@ -31,7 +32,8 @@
3132
* Connectivity
3233
*/
3334
@JsonPropertyOrder({
34-
Connectivity.JSON_PROPERTY_SIMCARD_STATUS
35+
Connectivity.JSON_PROPERTY_SIMCARD_STATUS,
36+
Connectivity.JSON_PROPERTY_TERMINAL_I_P_ADDRESS_U_R_L
3537
})
3638

3739
public class Connectivity {
@@ -73,6 +75,9 @@ public static SimcardStatusEnum fromValue(String value) {
7375
public static final String JSON_PROPERTY_SIMCARD_STATUS = "simcardStatus";
7476
private SimcardStatusEnum simcardStatus;
7577

78+
public static final String JSON_PROPERTY_TERMINAL_I_P_ADDRESS_U_R_L = "terminalIPAddressURL";
79+
private EventUrl terminalIPAddressURL;
80+
7681
public Connectivity() {
7782
}
7883

@@ -106,6 +111,36 @@ public void setSimcardStatus(SimcardStatusEnum simcardStatus) {
106111
}
107112

108113

114+
public Connectivity terminalIPAddressURL(EventUrl terminalIPAddressURL) {
115+
this.terminalIPAddressURL = terminalIPAddressURL;
116+
return this;
117+
}
118+
119+
/**
120+
* Get terminalIPAddressURL
121+
* @return terminalIPAddressURL
122+
**/
123+
@ApiModelProperty(value = "")
124+
@JsonProperty(JSON_PROPERTY_TERMINAL_I_P_ADDRESS_U_R_L)
125+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
126+
127+
public EventUrl getTerminalIPAddressURL() {
128+
return terminalIPAddressURL;
129+
}
130+
131+
132+
/**
133+
* terminalIPAddressURL
134+
*
135+
* @param terminalIPAddressURL
136+
*/
137+
@JsonProperty(JSON_PROPERTY_TERMINAL_I_P_ADDRESS_U_R_L)
138+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
139+
public void setTerminalIPAddressURL(EventUrl terminalIPAddressURL) {
140+
this.terminalIPAddressURL = terminalIPAddressURL;
141+
}
142+
143+
109144
/**
110145
* Return true if this Connectivity object is equal to o.
111146
*/
@@ -118,19 +153,21 @@ public boolean equals(Object o) {
118153
return false;
119154
}
120155
Connectivity connectivity = (Connectivity) o;
121-
return Objects.equals(this.simcardStatus, connectivity.simcardStatus);
156+
return Objects.equals(this.simcardStatus, connectivity.simcardStatus) &&
157+
Objects.equals(this.terminalIPAddressURL, connectivity.terminalIPAddressURL);
122158
}
123159

124160
@Override
125161
public int hashCode() {
126-
return Objects.hash(simcardStatus);
162+
return Objects.hash(simcardStatus, terminalIPAddressURL);
127163
}
128164

129165
@Override
130166
public String toString() {
131167
StringBuilder sb = new StringBuilder();
132168
sb.append("class Connectivity {\n");
133169
sb.append(" simcardStatus: ").append(toIndentedString(simcardStatus)).append("\n");
170+
sb.append(" terminalIPAddressURL: ").append(toIndentedString(terminalIPAddressURL)).append("\n");
134171
sb.append("}");
135172
return sb.toString();
136173
}

0 commit comments

Comments
 (0)