22 * Transfers 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-
1312package com .adyen .model .transfers ;
1413
15- import com .fasterxml .jackson .annotation .JsonIgnore ;
1614import com .fasterxml .jackson .annotation .JsonAnyGetter ;
17- import java . util .* ;
18- import java . util . logging . Logger ;
15+ import com . fasterxml . jackson . annotation . JsonCreator ;
16+ import com . fasterxml . jackson . annotation . JsonIgnore ;
1917import com .fasterxml .jackson .annotation .JsonInclude ;
2018import com .fasterxml .jackson .annotation .JsonProperty ;
21- import com .fasterxml .jackson .annotation .JsonCreator ;
22- import com .fasterxml .jackson .annotation .JsonTypeName ;
23- import com .fasterxml .jackson .annotation .JsonValue ;
24- import java .util .Arrays ;
2519import com .fasterxml .jackson .annotation .JsonPropertyOrder ;
20+ import com .fasterxml .jackson .annotation .JsonValue ;
2621import com .fasterxml .jackson .core .JsonProcessingException ;
22+ import java .util .*;
23+ import java .util .Arrays ;
24+ import java .util .logging .Logger ;
2725
28-
29- /**
30- * AULocalAccountIdentification
31- */
26+ /** AULocalAccountIdentification */
3227@ JsonPropertyOrder ({
3328 AULocalAccountIdentification .JSON_PROPERTY_ACCOUNT_NUMBER ,
3429 AULocalAccountIdentification .JSON_PROPERTY_BSB_CODE ,
3530 AULocalAccountIdentification .JSON_PROPERTY_TYPE
3631})
37-
3832public class AULocalAccountIdentification {
3933 public static final String JSON_PROPERTY_ACCOUNT_NUMBER = "accountNumber" ;
4034 private String accountNumber ;
35+
4136 /** Mark when the attribute has been explicitly set. */
4237 private boolean isSetAccountNumber = false ;
4338
44- public static final String JSON_PROPERTY_BSB_CODE = "bsbCode" ;
39+ public static final String JSON_PROPERTY_BSB_CODE = "bsbCode" ;
4540 private String bsbCode ;
41+
4642 /** Mark when the attribute has been explicitly set. */
4743 private boolean isSetBsbCode = false ;
4844
49- /**
50- * **auLocal**
51- */
45+ /** **auLocal** */
5246 public enum TypeEnum {
53-
5447 AULOCAL (String .valueOf ("auLocal" ));
5548
5649 private static final Logger LOG = Logger .getLogger (TypeEnum .class .getName ());
5750
5851 private String value ;
5952
6053 TypeEnum (String value ) {
61- this .value = value ;
54+ this .value = value ;
6255 }
6356
6457 @ JsonValue
@@ -79,23 +72,28 @@ public static TypeEnum fromValue(String value) {
7972 }
8073 }
8174 // handling unexpected value
82- LOG .warning ("TypeEnum: unexpected enum value '" + value + "' - Supported values are " + Arrays .toString (TypeEnum .values ()));
75+ LOG .warning (
76+ "TypeEnum: unexpected enum value '"
77+ + value
78+ + "' - Supported values are "
79+ + Arrays .toString (TypeEnum .values ()));
8380 return null ;
8481 }
8582 }
8683
8784 public static final String JSON_PROPERTY_TYPE = "type" ;
8885 private TypeEnum type ;
86+
8987 /** Mark when the attribute has been explicitly set. */
9088 private boolean isSetType = false ;
9189
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 ;
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 ;
9695
97- public AULocalAccountIdentification () {
98- }
96+ public AULocalAccountIdentification () {}
9997
10098 /**
10199 * The bank account number, without separators or whitespace.
@@ -111,6 +109,7 @@ public AULocalAccountIdentification accountNumber(String accountNumber) {
111109
112110 /**
113111 * The bank account number, without separators or whitespace.
112+ *
114113 * @return accountNumber The bank account number, without separators or whitespace.
115114 */
116115 @ JsonProperty (JSON_PROPERTY_ACCOUNT_NUMBER )
@@ -130,11 +129,13 @@ public void setAccountNumber(String accountNumber) {
130129 this .accountNumber = accountNumber ;
131130 isSetAccountNumber = true ; // mark as set
132131 }
133-
132+
134133 /**
135- * The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace.
134+ * The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch),
135+ * without separators or whitespace.
136136 *
137- * @param bsbCode The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace.
137+ * @param bsbCode The 6-digit [Bank State Branch (BSB)
138+ * code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace.
138139 * @return the current {@code AULocalAccountIdentification} instance, allowing for method chaining
139140 */
140141 public AULocalAccountIdentification bsbCode (String bsbCode ) {
@@ -144,8 +145,11 @@ public AULocalAccountIdentification bsbCode(String bsbCode) {
144145 }
145146
146147 /**
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.
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.
149153 */
150154 @ JsonProperty (JSON_PROPERTY_BSB_CODE )
151155 @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
@@ -154,17 +158,19 @@ public String getBsbCode() {
154158 }
155159
156160 /**
157- * The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace.
161+ * The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch),
162+ * without separators or whitespace.
158163 *
159- * @param bsbCode The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace.
164+ * @param bsbCode The 6-digit [Bank State Branch (BSB)
165+ * code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace.
160166 */
161167 @ JsonProperty (JSON_PROPERTY_BSB_CODE )
162168 @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
163169 public void setBsbCode (String bsbCode ) {
164170 this .bsbCode = bsbCode ;
165171 isSetBsbCode = true ; // mark as set
166172 }
167-
173+
168174 /**
169175 * **auLocal**
170176 *
@@ -179,6 +185,7 @@ public AULocalAccountIdentification type(TypeEnum type) {
179185
180186 /**
181187 * **auLocal**
188+ *
182189 * @return type **auLocal**
183190 */
184191 @ JsonProperty (JSON_PROPERTY_TYPE )
@@ -198,9 +205,10 @@ public void setType(TypeEnum type) {
198205 this .type = type ;
199206 isSetType = true ; // mark as set
200207 }
201-
202208
203- /** Configures whether null values are explicitly serialized in the JSON payload. Default is false. */
209+ /**
210+ * Configures whether null values are explicitly serialized in the JSON payload. Default is false.
211+ */
204212 public AULocalAccountIdentification includeNullValues (boolean includeNullValues ) {
205213 this .includeNullValues = includeNullValues ;
206214 return this ;
@@ -211,15 +219,14 @@ public boolean isIncludeNullValues() {
211219 return includeNullValues ;
212220 }
213221
214- /** Sets whether null values should be explicitly serialized in the JSON payload. Default is false. */
222+ /**
223+ * Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
224+ */
215225 public void setIncludeNullValues (boolean includeNullValues ) {
216226 this .includeNullValues = includeNullValues ;
217227 }
218228
219-
220- /**
221- * Return true if this AULocalAccountIdentification object is equal to o.
222- */
229+ /** Return true if this AULocalAccountIdentification object is equal to o. */
223230 @ Override
224231 public boolean equals (Object o ) {
225232 if (this == o ) {
@@ -229,13 +236,12 @@ public boolean equals(Object o) {
229236 return false ;
230237 }
231238 AULocalAccountIdentification auLocalAccountIdentification = (AULocalAccountIdentification ) o ;
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- ;
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 );
239245 }
240246
241247 @ Override
@@ -255,8 +261,7 @@ public String toString() {
255261 }
256262
257263 /**
258- * Convert the given object to string with each line indented by 4 spaces
259- * (except the first line).
264+ * Convert the given object to string with each line indented by 4 spaces (except the first line).
260265 */
261266 private String toIndentedString (Object o ) {
262267 if (o == null ) {
@@ -265,7 +270,6 @@ private String toIndentedString(Object o) {
265270 return o .toString ().replace ("\n " , "\n " );
266271 }
267272
268-
269273 /** Returns a map of properties to be merged into the JSON payload as explicit null values. */
270274 @ JsonInclude (JsonInclude .Include .ALWAYS )
271275 @ JsonAnyGetter
@@ -296,21 +300,24 @@ private void addIfNull(Map<String, Object> map, String key, Object value) {
296300 }
297301 }
298302
299- /**
303+ /**
300304 * Create an instance of AULocalAccountIdentification given an JSON string
301305 *
302306 * @param jsonString JSON string
303307 * @return An instance of AULocalAccountIdentification
304- * @throws JsonProcessingException if the JSON string is invalid with respect to AULocalAccountIdentification
308+ * @throws JsonProcessingException if the JSON string is invalid with respect to
309+ * AULocalAccountIdentification
305310 */
306- public static AULocalAccountIdentification fromJson (String jsonString ) throws JsonProcessingException {
311+ public static AULocalAccountIdentification fromJson (String jsonString )
312+ throws JsonProcessingException {
307313 return JSON .getMapper ().readValue (jsonString , AULocalAccountIdentification .class );
308314 }
309- /**
310- * Convert an instance of AULocalAccountIdentification to an JSON string
311- *
312- * @return JSON string
313- */
315+
316+ /**
317+ * Convert an instance of AULocalAccountIdentification to an JSON string
318+ *
319+ * @return JSON string
320+ */
314321 public String toJson () throws JsonProcessingException {
315322 return JSON .getMapper ().writeValueAsString (this );
316323 }
0 commit comments