22 * Transfer webhooks
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+
1213package com .adyen .model .transferwebhooks ;
1314
14- import com .fasterxml .jackson .annotation .JsonCreator ;
15+ import com .fasterxml .jackson .annotation .JsonIgnore ;
16+ import com .fasterxml .jackson .annotation .JsonAnyGetter ;
17+ import java .util .*;
18+ import java .util .logging .Logger ;
1519import com .fasterxml .jackson .annotation .JsonInclude ;
1620import com .fasterxml .jackson .annotation .JsonProperty ;
17- import com .fasterxml .jackson .annotation .JsonPropertyOrder ;
21+ import com .fasterxml .jackson .annotation .JsonCreator ;
22+ import com .fasterxml .jackson .annotation .JsonTypeName ;
1823import com .fasterxml .jackson .annotation .JsonValue ;
19- import com .fasterxml .jackson .core .JsonProcessingException ;
20- import java .util .*;
2124import java .util .Arrays ;
22- import java .util .logging .Logger ;
25+ import com .fasterxml .jackson .annotation .JsonPropertyOrder ;
26+ import com .fasterxml .jackson .core .JsonProcessingException ;
27+
2328
24- /** AULocalAccountIdentification */
29+ /**
30+ * AULocalAccountIdentification
31+ */
2532@ JsonPropertyOrder ({
2633 AULocalAccountIdentification .JSON_PROPERTY_ACCOUNT_NUMBER ,
2734 AULocalAccountIdentification .JSON_PROPERTY_BSB_CODE ,
2835 AULocalAccountIdentification .JSON_PROPERTY_TYPE
2936})
37+
3038public class AULocalAccountIdentification {
3139 public static final String JSON_PROPERTY_ACCOUNT_NUMBER = "accountNumber" ;
3240 private String accountNumber ;
3341
34- public static final String JSON_PROPERTY_BSB_CODE = "bsbCode" ;
42+
43+ public static final String JSON_PROPERTY_BSB_CODE = "bsbCode" ;
3544 private String bsbCode ;
3645
37- /** **auLocal** */
46+
47+ /**
48+ * **auLocal**
49+ */
3850 public enum TypeEnum {
51+
3952 AULOCAL (String .valueOf ("auLocal" ));
4053
4154 private static final Logger LOG = Logger .getLogger (TypeEnum .class .getName ());
4255
4356 private String value ;
4457
4558 TypeEnum (String value ) {
46- this .value = value ;
59+ this .value = value ;
4760 }
4861
4962 @ JsonValue
@@ -64,19 +77,19 @@ public static TypeEnum fromValue(String value) {
6477 }
6578 }
6679 // handling unexpected value
67- LOG .warning (
68- "TypeEnum: unexpected enum value '"
69- + value
70- + "' - Supported values are "
71- + Arrays .toString (TypeEnum .values ()));
80+ LOG .warning ("TypeEnum: unexpected enum value '" + value + "' - Supported values are " + Arrays .toString (TypeEnum .values ()));
7281 return null ;
7382 }
7483 }
7584
7685 public static final String JSON_PROPERTY_TYPE = "type" ;
7786 private TypeEnum type ;
7887
79- public AULocalAccountIdentification () {}
88+
89+
90+
91+ public AULocalAccountIdentification () {
92+ }
8093
8194 /**
8295 * The bank account number, without separators or whitespace.
@@ -91,7 +104,6 @@ public AULocalAccountIdentification accountNumber(String accountNumber) {
91104
92105 /**
93106 * The bank account number, without separators or whitespace.
94- *
95107 * @return accountNumber The bank account number, without separators or whitespace.
96108 */
97109 @ JsonProperty (JSON_PROPERTY_ACCOUNT_NUMBER )
@@ -109,14 +121,13 @@ public String getAccountNumber() {
109121 @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
110122 public void setAccountNumber (String accountNumber ) {
111123 this .accountNumber = accountNumber ;
112- }
113124
125+ }
126+
114127 /**
115- * The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch),
116- * without separators or whitespace.
128+ * The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace.
117129 *
118- * @param bsbCode The 6-digit [Bank State Branch (BSB)
119- * code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace.
130+ * @param bsbCode The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace.
120131 * @return the current {@code AULocalAccountIdentification} instance, allowing for method chaining
121132 */
122133 public AULocalAccountIdentification bsbCode (String bsbCode ) {
@@ -125,11 +136,8 @@ public AULocalAccountIdentification bsbCode(String bsbCode) {
125136 }
126137
127138 /**
128- * The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch),
129- * without separators or whitespace.
130- *
131- * @return bsbCode The 6-digit [Bank State Branch (BSB)
132- * code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace.
139+ * The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace.
140+ * @return bsbCode The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace.
133141 */
134142 @ JsonProperty (JSON_PROPERTY_BSB_CODE )
135143 @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
@@ -138,18 +146,17 @@ public String getBsbCode() {
138146 }
139147
140148 /**
141- * The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch),
142- * without separators or whitespace.
149+ * The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace.
143150 *
144- * @param bsbCode The 6-digit [Bank State Branch (BSB)
145- * code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace.
151+ * @param bsbCode The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace.
146152 */
147153 @ JsonProperty (JSON_PROPERTY_BSB_CODE )
148154 @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
149155 public void setBsbCode (String bsbCode ) {
150156 this .bsbCode = bsbCode ;
151- }
152157
158+ }
159+
153160 /**
154161 * **auLocal**
155162 *
@@ -163,7 +170,6 @@ public AULocalAccountIdentification type(TypeEnum type) {
163170
164171 /**
165172 * **auLocal**
166- *
167173 * @return type **auLocal**
168174 */
169175 @ JsonProperty (JSON_PROPERTY_TYPE )
@@ -181,9 +187,14 @@ public TypeEnum getType() {
181187 @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
182188 public void setType (TypeEnum type ) {
183189 this .type = type ;
190+
184191 }
192+
185193
186- /** Return true if this AULocalAccountIdentification object is equal to o. */
194+
195+ /**
196+ * Return true if this AULocalAccountIdentification object is equal to o.
197+ */
187198 @ Override
188199 public boolean equals (Object o ) {
189200 if (this == o ) {
@@ -193,9 +204,10 @@ public boolean equals(Object o) {
193204 return false ;
194205 }
195206 AULocalAccountIdentification auLocalAccountIdentification = (AULocalAccountIdentification ) o ;
196- return Objects .equals (this .accountNumber , auLocalAccountIdentification .accountNumber )
197- && Objects .equals (this .bsbCode , auLocalAccountIdentification .bsbCode )
198- && Objects .equals (this .type , auLocalAccountIdentification .type );
207+ return Objects .equals (this .accountNumber , auLocalAccountIdentification .accountNumber ) &&
208+ Objects .equals (this .bsbCode , auLocalAccountIdentification .bsbCode ) &&
209+ Objects .equals (this .type , auLocalAccountIdentification .type )
210+ ;
199211 }
200212
201213 @ Override
@@ -215,7 +227,8 @@ public String toString() {
215227 }
216228
217229 /**
218- * Convert the given object to string with each line indented by 4 spaces (except the first line).
230+ * Convert the given object to string with each line indented by 4 spaces
231+ * (except the first line).
219232 */
220233 private String toIndentedString (Object o ) {
221234 if (o == null ) {
@@ -224,24 +237,23 @@ private String toIndentedString(Object o) {
224237 return o .toString ().replace ("\n " , "\n " );
225238 }
226239
227- /**
240+
241+
242+ /**
228243 * Create an instance of AULocalAccountIdentification given an JSON string
229244 *
230245 * @param jsonString JSON string
231246 * @return An instance of AULocalAccountIdentification
232- * @throws JsonProcessingException if the JSON string is invalid with respect to
233- * AULocalAccountIdentification
247+ * @throws JsonProcessingException if the JSON string is invalid with respect to AULocalAccountIdentification
234248 */
235- public static AULocalAccountIdentification fromJson (String jsonString )
236- throws JsonProcessingException {
249+ public static AULocalAccountIdentification fromJson (String jsonString ) throws JsonProcessingException {
237250 return JSON .getMapper ().readValue (jsonString , AULocalAccountIdentification .class );
238251 }
239-
240- /**
241- * Convert an instance of AULocalAccountIdentification to an JSON string
242- *
243- * @return JSON string
244- */
252+ /**
253+ * Convert an instance of AULocalAccountIdentification to an JSON string
254+ *
255+ * @return JSON string
256+ */
245257 public String toJson () throws JsonProcessingException {
246258 return JSON .getMapper ().writeValueAsString (this );
247259 }
0 commit comments