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-
1312package com .adyen .model .transferwebhooks ;
1413
15- import com .fasterxml .jackson .annotation .JsonIgnore ;
16- import com .fasterxml .jackson .annotation .JsonAnyGetter ;
17- import java .util .*;
18- import java .util .logging .Logger ;
14+ import com .fasterxml .jackson .annotation .JsonCreator ;
1915import com .fasterxml .jackson .annotation .JsonInclude ;
2016import 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 ;
2517import com .fasterxml .jackson .annotation .JsonPropertyOrder ;
18+ import com .fasterxml .jackson .annotation .JsonValue ;
2619import com .fasterxml .jackson .core .JsonProcessingException ;
20+ import java .util .*;
21+ import java .util .Arrays ;
22+ import java .util .logging .Logger ;
2723
28-
29- /**
30- * AULocalAccountIdentification
31- */
24+ /** AULocalAccountIdentification */
3225@ JsonPropertyOrder ({
3326 AULocalAccountIdentification .JSON_PROPERTY_ACCOUNT_NUMBER ,
3427 AULocalAccountIdentification .JSON_PROPERTY_BSB_CODE ,
3528 AULocalAccountIdentification .JSON_PROPERTY_TYPE
3629})
37-
3830public class AULocalAccountIdentification {
3931 public static final String JSON_PROPERTY_ACCOUNT_NUMBER = "accountNumber" ;
4032 private String accountNumber ;
4133
42-
43- public static final String JSON_PROPERTY_BSB_CODE = "bsbCode" ;
34+ public static final String JSON_PROPERTY_BSB_CODE = "bsbCode" ;
4435 private String bsbCode ;
4536
46-
47- /**
48- * **auLocal**
49- */
37+ /** **auLocal** */
5038 public enum TypeEnum {
51-
5239 AULOCAL (String .valueOf ("auLocal" ));
5340
5441 private static final Logger LOG = Logger .getLogger (TypeEnum .class .getName ());
5542
5643 private String value ;
5744
5845 TypeEnum (String value ) {
59- this .value = value ;
46+ this .value = value ;
6047 }
6148
6249 @ JsonValue
@@ -77,19 +64,19 @@ public static TypeEnum fromValue(String value) {
7764 }
7865 }
7966 // handling unexpected value
80- LOG .warning ("TypeEnum: unexpected enum value '" + value + "' - Supported values are " + Arrays .toString (TypeEnum .values ()));
67+ LOG .warning (
68+ "TypeEnum: unexpected enum value '"
69+ + value
70+ + "' - Supported values are "
71+ + Arrays .toString (TypeEnum .values ()));
8172 return null ;
8273 }
8374 }
8475
8576 public static final String JSON_PROPERTY_TYPE = "type" ;
8677 private TypeEnum type ;
8778
88-
89-
90-
91- public AULocalAccountIdentification () {
92- }
79+ public AULocalAccountIdentification () {}
9380
9481 /**
9582 * The bank account number, without separators or whitespace.
@@ -104,6 +91,7 @@ public AULocalAccountIdentification accountNumber(String accountNumber) {
10491
10592 /**
10693 * The bank account number, without separators or whitespace.
94+ *
10795 * @return accountNumber The bank account number, without separators or whitespace.
10896 */
10997 @ JsonProperty (JSON_PROPERTY_ACCOUNT_NUMBER )
@@ -121,13 +109,14 @@ public String getAccountNumber() {
121109 @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
122110 public void setAccountNumber (String accountNumber ) {
123111 this .accountNumber = accountNumber ;
124-
125112 }
126-
113+
127114 /**
128- * The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace.
115+ * The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch),
116+ * without separators or whitespace.
129117 *
130- * @param bsbCode The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace.
118+ * @param bsbCode The 6-digit [Bank State Branch (BSB)
119+ * code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace.
131120 * @return the current {@code AULocalAccountIdentification} instance, allowing for method chaining
132121 */
133122 public AULocalAccountIdentification bsbCode (String bsbCode ) {
@@ -136,8 +125,11 @@ public AULocalAccountIdentification bsbCode(String bsbCode) {
136125 }
137126
138127 /**
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.
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.
141133 */
142134 @ JsonProperty (JSON_PROPERTY_BSB_CODE )
143135 @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
@@ -146,17 +138,18 @@ public String getBsbCode() {
146138 }
147139
148140 /**
149- * The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace.
141+ * The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch),
142+ * without separators or whitespace.
150143 *
151- * @param bsbCode The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace.
144+ * @param bsbCode The 6-digit [Bank State Branch (BSB)
145+ * code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace.
152146 */
153147 @ JsonProperty (JSON_PROPERTY_BSB_CODE )
154148 @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
155149 public void setBsbCode (String bsbCode ) {
156150 this .bsbCode = bsbCode ;
157-
158151 }
159-
152+
160153 /**
161154 * **auLocal**
162155 *
@@ -170,6 +163,7 @@ public AULocalAccountIdentification type(TypeEnum type) {
170163
171164 /**
172165 * **auLocal**
166+ *
173167 * @return type **auLocal**
174168 */
175169 @ JsonProperty (JSON_PROPERTY_TYPE )
@@ -187,14 +181,9 @@ public TypeEnum getType() {
187181 @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
188182 public void setType (TypeEnum type ) {
189183 this .type = type ;
190-
191184 }
192-
193185
194-
195- /**
196- * Return true if this AULocalAccountIdentification object is equal to o.
197- */
186+ /** Return true if this AULocalAccountIdentification object is equal to o. */
198187 @ Override
199188 public boolean equals (Object o ) {
200189 if (this == o ) {
@@ -204,10 +193,9 @@ public boolean equals(Object o) {
204193 return false ;
205194 }
206195 AULocalAccountIdentification auLocalAccountIdentification = (AULocalAccountIdentification ) o ;
207- return Objects .equals (this .accountNumber , auLocalAccountIdentification .accountNumber ) &&
208- Objects .equals (this .bsbCode , auLocalAccountIdentification .bsbCode ) &&
209- Objects .equals (this .type , auLocalAccountIdentification .type )
210- ;
196+ return Objects .equals (this .accountNumber , auLocalAccountIdentification .accountNumber )
197+ && Objects .equals (this .bsbCode , auLocalAccountIdentification .bsbCode )
198+ && Objects .equals (this .type , auLocalAccountIdentification .type );
211199 }
212200
213201 @ Override
@@ -227,8 +215,7 @@ public String toString() {
227215 }
228216
229217 /**
230- * Convert the given object to string with each line indented by 4 spaces
231- * (except the first line).
218+ * Convert the given object to string with each line indented by 4 spaces (except the first line).
232219 */
233220 private String toIndentedString (Object o ) {
234221 if (o == null ) {
@@ -237,23 +224,24 @@ private String toIndentedString(Object o) {
237224 return o .toString ().replace ("\n " , "\n " );
238225 }
239226
240-
241-
242- /**
227+ /**
243228 * Create an instance of AULocalAccountIdentification given an JSON string
244229 *
245230 * @param jsonString JSON string
246231 * @return An instance of AULocalAccountIdentification
247- * @throws JsonProcessingException if the JSON string is invalid with respect to AULocalAccountIdentification
232+ * @throws JsonProcessingException if the JSON string is invalid with respect to
233+ * AULocalAccountIdentification
248234 */
249- public static AULocalAccountIdentification fromJson (String jsonString ) throws JsonProcessingException {
235+ public static AULocalAccountIdentification fromJson (String jsonString )
236+ throws JsonProcessingException {
250237 return JSON .getMapper ().readValue (jsonString , AULocalAccountIdentification .class );
251238 }
252- /**
253- * Convert an instance of AULocalAccountIdentification to an JSON string
254- *
255- * @return JSON string
256- */
239+
240+ /**
241+ * Convert an instance of AULocalAccountIdentification to an JSON string
242+ *
243+ * @return JSON string
244+ */
257245 public String toJson () throws JsonProcessingException {
258246 return JSON .getMapper ().writeValueAsString (this );
259247 }
0 commit comments