Skip to content

Commit d8a5875

Browse files
[legalentitymanagement] Automated update from Adyen/adyen-openapi@0a007ce
1 parent 78a6526 commit d8a5875

File tree

103 files changed

+9381
-12703
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+9381
-12703
lines changed

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

Lines changed: 60 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -2,56 +2,63 @@
22
* Legal Entity Management API
33
*
44
* The version of the OpenAPI document: 4
5-
*
5+
*
66
*
77
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
88
* https://openapi-generator.tech
99
* Do not edit the class manually.
1010
*/
1111

12+
1213
package com.adyen.model.legalentitymanagement;
1314

14-
import com.fasterxml.jackson.annotation.JsonAnyGetter;
15-
import com.fasterxml.jackson.annotation.JsonCreator;
1615
import com.fasterxml.jackson.annotation.JsonIgnore;
16+
import com.fasterxml.jackson.annotation.JsonAnyGetter;
17+
import java.util.*;
18+
import java.util.logging.Logger;
1719
import com.fasterxml.jackson.annotation.JsonInclude;
1820
import com.fasterxml.jackson.annotation.JsonProperty;
19-
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
21+
import com.fasterxml.jackson.annotation.JsonCreator;
22+
import com.fasterxml.jackson.annotation.JsonTypeName;
2023
import com.fasterxml.jackson.annotation.JsonValue;
21-
import com.fasterxml.jackson.core.JsonProcessingException;
22-
import java.util.*;
2324
import java.util.Arrays;
24-
import java.util.logging.Logger;
25+
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
26+
import com.fasterxml.jackson.core.JsonProcessingException;
2527

26-
/** AULocalAccountIdentification */
28+
29+
/**
30+
* AULocalAccountIdentification
31+
*/
2732
@JsonPropertyOrder({
2833
AULocalAccountIdentification.JSON_PROPERTY_ACCOUNT_NUMBER,
2934
AULocalAccountIdentification.JSON_PROPERTY_BSB_CODE,
3035
AULocalAccountIdentification.JSON_PROPERTY_TYPE
3136
})
37+
3238
public class AULocalAccountIdentification {
3339
public static final String JSON_PROPERTY_ACCOUNT_NUMBER = "accountNumber";
3440
private String accountNumber;
35-
3641
/** Mark when the attribute has been explicitly set. */
3742
private boolean isSetAccountNumber = false;
3843

39-
public static final String JSON_PROPERTY_BSB_CODE = "bsbCode";
44+
public static final String JSON_PROPERTY_BSB_CODE = "bsbCode";
4045
private String bsbCode;
41-
4246
/** Mark when the attribute has been explicitly set. */
4347
private boolean isSetBsbCode = false;
4448

45-
/** **auLocal** */
49+
/**
50+
* **auLocal**
51+
*/
4652
public enum TypeEnum {
53+
4754
AULOCAL(String.valueOf("auLocal"));
4855

4956
private static final Logger LOG = Logger.getLogger(TypeEnum.class.getName());
5057

5158
private String value;
5259

5360
TypeEnum(String value) {
54-
this.value = value;
61+
this.value = value;
5562
}
5663

5764
@JsonValue
@@ -72,28 +79,23 @@ public static TypeEnum fromValue(String value) {
7279
}
7380
}
7481
// handling unexpected value
75-
LOG.warning(
76-
"TypeEnum: unexpected enum value '"
77-
+ value
78-
+ "' - Supported values are "
79-
+ Arrays.toString(TypeEnum.values()));
82+
LOG.warning("TypeEnum: unexpected enum value '" + value + "' - Supported values are "+ Arrays.toString(TypeEnum.values()));
8083
return null;
8184
}
8285
}
8386

8487
public static final String JSON_PROPERTY_TYPE = "type";
8588
private TypeEnum type;
86-
8789
/** Mark when the attribute has been explicitly set. */
8890
private boolean isSetType = false;
8991

90-
/**
91-
* Sets whether attributes with null values should be explicitly included in the JSON payload.
92-
* Default is false.
93-
*/
94-
@JsonIgnore private boolean includeNullValues = false;
92+
93+
/** Sets whether attributes with null values should be explicitly included in the JSON payload. Default is false. */
94+
@JsonIgnore
95+
private boolean includeNullValues = false;
9596

96-
public AULocalAccountIdentification() {}
97+
public AULocalAccountIdentification() {
98+
}
9799

98100
/**
99101
* The bank account number, without separators or whitespace.
@@ -109,7 +111,6 @@ public AULocalAccountIdentification accountNumber(String accountNumber) {
109111

110112
/**
111113
* The bank account number, without separators or whitespace.
112-
*
113114
* @return accountNumber The bank account number, without separators or whitespace.
114115
*/
115116
@JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER)
@@ -129,13 +130,11 @@ public void setAccountNumber(String accountNumber) {
129130
this.accountNumber = accountNumber;
130131
isSetAccountNumber = true; // mark as set
131132
}
132-
133+
133134
/**
134-
* The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch),
135-
* without separators or whitespace.
135+
* The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace.
136136
*
137-
* @param bsbCode The 6-digit [Bank State Branch (BSB)
138-
* code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace.
137+
* @param bsbCode The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace.
139138
* @return the current {@code AULocalAccountIdentification} instance, allowing for method chaining
140139
*/
141140
public AULocalAccountIdentification bsbCode(String bsbCode) {
@@ -145,11 +144,8 @@ public AULocalAccountIdentification bsbCode(String bsbCode) {
145144
}
146145

147146
/**
148-
* The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch),
149-
* without separators or whitespace.
150-
*
151-
* @return bsbCode The 6-digit [Bank State Branch (BSB)
152-
* code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace.
147+
* The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace.
148+
* @return bsbCode The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace.
153149
*/
154150
@JsonProperty(JSON_PROPERTY_BSB_CODE)
155151
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@@ -158,19 +154,17 @@ public String getBsbCode() {
158154
}
159155

160156
/**
161-
* The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch),
162-
* without separators or whitespace.
157+
* The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace.
163158
*
164-
* @param bsbCode The 6-digit [Bank State Branch (BSB)
165-
* code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace.
159+
* @param bsbCode The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace.
166160
*/
167161
@JsonProperty(JSON_PROPERTY_BSB_CODE)
168162
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
169163
public void setBsbCode(String bsbCode) {
170164
this.bsbCode = bsbCode;
171165
isSetBsbCode = true; // mark as set
172166
}
173-
167+
174168
/**
175169
* **auLocal**
176170
*
@@ -185,7 +179,6 @@ public AULocalAccountIdentification type(TypeEnum type) {
185179

186180
/**
187181
* **auLocal**
188-
*
189182
* @return type **auLocal**
190183
*/
191184
@JsonProperty(JSON_PROPERTY_TYPE)
@@ -205,10 +198,9 @@ public void setType(TypeEnum type) {
205198
this.type = type;
206199
isSetType = true; // mark as set
207200
}
201+
208202

209-
/**
210-
* Configures whether null values are explicitly serialized in the JSON payload. Default is false.
211-
*/
203+
/** Configures whether null values are explicitly serialized in the JSON payload. Default is false. */
212204
public AULocalAccountIdentification includeNullValues(boolean includeNullValues) {
213205
this.includeNullValues = includeNullValues;
214206
return this;
@@ -219,14 +211,15 @@ public boolean isIncludeNullValues() {
219211
return includeNullValues;
220212
}
221213

222-
/**
223-
* Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
224-
*/
214+
/** Sets whether null values should be explicitly serialized in the JSON payload. Default is false. */
225215
public void setIncludeNullValues(boolean includeNullValues) {
226216
this.includeNullValues = includeNullValues;
227217
}
228218

229-
/** Return true if this AULocalAccountIdentification object is equal to o. */
219+
220+
/**
221+
* Return true if this AULocalAccountIdentification object is equal to o.
222+
*/
230223
@Override
231224
public boolean equals(Object o) {
232225
if (this == o) {
@@ -236,12 +229,13 @@ public boolean equals(Object o) {
236229
return false;
237230
}
238231
AULocalAccountIdentification auLocalAccountIdentification = (AULocalAccountIdentification) o;
239-
return Objects.equals(this.accountNumber, auLocalAccountIdentification.accountNumber)
240-
&& Objects.equals(this.isSetAccountNumber, auLocalAccountIdentification.isSetAccountNumber)
241-
&& Objects.equals(this.bsbCode, auLocalAccountIdentification.bsbCode)
242-
&& Objects.equals(this.isSetBsbCode, auLocalAccountIdentification.isSetBsbCode)
243-
&& Objects.equals(this.type, auLocalAccountIdentification.type)
244-
&& Objects.equals(this.isSetType, auLocalAccountIdentification.isSetType);
232+
return Objects.equals(this.accountNumber, auLocalAccountIdentification.accountNumber) &&
233+
Objects.equals(this.isSetAccountNumber, auLocalAccountIdentification.isSetAccountNumber) &&
234+
Objects.equals(this.bsbCode, auLocalAccountIdentification.bsbCode) &&
235+
Objects.equals(this.isSetBsbCode, auLocalAccountIdentification.isSetBsbCode) &&
236+
Objects.equals(this.type, auLocalAccountIdentification.type) &&
237+
Objects.equals(this.isSetType, auLocalAccountIdentification.isSetType)
238+
;
245239
}
246240

247241
@Override
@@ -261,7 +255,8 @@ public String toString() {
261255
}
262256

263257
/**
264-
* Convert the given object to string with each line indented by 4 spaces (except the first line).
258+
* Convert the given object to string with each line indented by 4 spaces
259+
* (except the first line).
265260
*/
266261
private String toIndentedString(Object o) {
267262
if (o == null) {
@@ -270,6 +265,7 @@ private String toIndentedString(Object o) {
270265
return o.toString().replace("\n", "\n ");
271266
}
272267

268+
273269
/** Returns a map of properties to be merged into the JSON payload as explicit null values. */
274270
@JsonInclude(JsonInclude.Include.ALWAYS)
275271
@JsonAnyGetter
@@ -300,24 +296,21 @@ private void addIfNull(Map<String, Object> map, String key, Object value) {
300296
}
301297
}
302298

303-
/**
299+
/**
304300
* Create an instance of AULocalAccountIdentification given an JSON string
305301
*
306302
* @param jsonString JSON string
307303
* @return An instance of AULocalAccountIdentification
308-
* @throws JsonProcessingException if the JSON string is invalid with respect to
309-
* AULocalAccountIdentification
304+
* @throws JsonProcessingException if the JSON string is invalid with respect to AULocalAccountIdentification
310305
*/
311-
public static AULocalAccountIdentification fromJson(String jsonString)
312-
throws JsonProcessingException {
306+
public static AULocalAccountIdentification fromJson(String jsonString) throws JsonProcessingException {
313307
return JSON.getMapper().readValue(jsonString, AULocalAccountIdentification.class);
314308
}
315-
316-
/**
317-
* Convert an instance of AULocalAccountIdentification to an JSON string
318-
*
319-
* @return JSON string
320-
*/
309+
/**
310+
* Convert an instance of AULocalAccountIdentification to an JSON string
311+
*
312+
* @return JSON string
313+
*/
321314
public String toJson() throws JsonProcessingException {
322315
return JSON.getMapper().writeValueAsString(this);
323316
}

0 commit comments

Comments
 (0)